Managing a personal knowledge base in Obsidian eventually raises the multi-device sync question: official paid sync stores data on external servers for a recurring fee, while DIY Git or WebDAV setups often get flaky once vault file counts climb. Osync tackles both pain points as an open-source, self-hosted sync plugin.

End-to-End Encrypted Real-Time Sync on Your Own Server

Osync syncs changes across devices in real time while keeping full data custody on infrastructure you control. Every note is encrypted locally with AES-256-GCM before leaving the device, storing only opaque encrypted blobs on the server so not even the server host can read plaintext notes.

Encryption keys derive from the user’s password via Argon2id, and changing the vault password re-encrypts vault keys cleanly without exposing existing plaintext.

Per-Device Sync Filters and Conflict Resolution

Storage budgets differ sharply between desktop workstations and phones, so Osync lets each device toggle sync independently for heavy attachments - images, audio, video, and PDFs - as well as the .obsidian configuration directory.

Users can also exclude specific folders per device, resolve concurrent edit collisions inside a dedicated conflict-resolution modal, and monitor live sync and transfer progress from the status bar and settings view.

Command Palette Controls and Docker Compose Setup

Deploying the backend takes a single Docker Compose file, while the client installs straight from Obsidian’s Community Plugins browser. Everyday operations run from the Obsidian Command Palette:

  1. Sign in / Sign out: authenticate or sign out the current device.
  2. Create remote vault: initialize a new encrypted vault on the server.
  3. Connect / Disconnect remote vault: link to or detach from an existing remote vault.
  4. Change vault password: re-encrypt vault keys under a new password.
  5. View version history: inspect and restore prior versions of individual files.
  6. Toggle sync pause / Reset local sync state: pause sync temporarily or force a clean resync from server state.

For engineers who want real-time multi-device Obsidian sync without giving up data sovereignty, Osync offers a clean self-hosted stack.

Summary

  • Local AES-256-GCM end-to-end encryption paired with Argon2id key derivation keeps vault contents unreadable even on the host server.
  • Per-device toggles for media attachments, .obsidian configs, and excluded folders keep mobile storage lean.
  • Docker Compose server deployment and Obsidian Community Plugin integration make self-hosted real-time sync straightforward to run.