Desktop sync

The kxw client keeps a folder on your computer, such as an Obsidian vault, and your KnowxWorks vault in step, in both directions. Obsidian and other local tools keep working on the same files. Desktop sync is in early access.

Before you start

Install

curl -fsSL https://www.knowxworks.com/install.sh | sh

This puts a single file, kxw, in ~/.local/bin. You can read the installer first, or download kxw.mjs yourself and run it with Node.js.

Connect a folder

kxw login --vault <vault>
kxw init ~/path/to/your/vault --vault <vault>
kxw sync ~/path/to/your/vault
  1. login opens your browser to sign in and saves a device token for this computer.
  2. init links the folder and previews what will sync, without changing anything.
  3. sync runs one two-way pass. Use kxw watch to keep syncing, or kxw install-service on a Mac to start it at login.

What is skipped

Tool folders such as .obsidian and .git, caches, iCloud placeholders, audio, video, archives and files over 100 MB stay on your computer. Run kxw ignore to see the list, and add your own rules in a .kxwignore file.

When both sides change

If the same note changes on your computer and in KnowxWorks between syncs, kxw merges the changes when it can and otherwise saves the other side as a conflict copy next to the note, so nothing is silently lost. Files deleted in KnowxWorks go to .kxw/trash in your folder rather than disappearing. Every saved version is also kept in the note’s history in the app.

Remove a computer

Revoke its device under Settings › Sync in the app, then delete ~/.local/bin/kxw. Your local files stay where they are.

Questions or problems: hello@knowxworks.com.