Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Self-Hosted Vault Sync

Valentin BritvichValentin Britvich91 downloads

Fast, reliable vault sync via a self-hosted server

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Fast, reliable Obsidian vault sync backed by your own sync server — a lightweight self-hosted alternative to Obsidian Sync / obsidian-livesync, with no vendor lock-in and no vault size limits beyond your own storage.

Pairs with the companion sync server: https://github.com/PeoneEr/self-hosted-vault-sync-server

Features

  • Push on change — file edits are pushed after a short debounce (2s)
  • Pull on startup + poll — vault is refreshed on load and every N seconds
  • Real-time push on desktop — Server-Sent Events notify connected clients the moment another device pushes a change (falls back to polling on mobile, driven by app visibility changes)
  • Delta sync — only changed files are transferred, not the whole vault
  • Conflict-safe writes — a stale write is saved as a .conflict.<timestamp> copy instead of silently overwriting newer content
  • Exclude patterns — glob-based exclusion list (workspace files excluded by default)

Setup

  1. Deploy the sync server somewhere reachable from your devices. Its startup log prints a one-time bootstrap token — copy it.
  2. Install this plugin on your first device and enable it.
  3. Open Settings → Self-Hosted Vault Sync and set:
    • Server URL — e.g. https://sync.example.com
    • Auth token — paste the bootstrap token here (only needed once, for this first device)
    • Sync interval — how often to poll for remote changes (seconds)
    • Exclude patterns — one glob per line for files to keep local-only
  4. Click Start initial sync.
  5. To add another device (e.g. your phone): on this configured device, scroll to Devices → Pair new device, give it a label, click Generate. Scan the QR code with the new device's camera — it opens Obsidian and finishes setup automatically, no typing required. (A "Copy link" fallback is shown next to the QR if scanning isn't convenient.)
  6. Manage paired devices any time from the Devices list — each entry shows when it was last seen and has its own Revoke button.

How conflicts are handled

Every upload carries a base hash of the file it was derived from. If the server's current version no longer matches that base hash, the incoming write is saved alongside the original as <file>.conflict.<timestamp>.<ext> instead of overwriting it — you resolve the conflict manually.

Requirements

  • A running instance of the companion sync server
  • isDesktopOnly: false — works on desktop and mobile, though real-time push (SSE) is desktop-only; mobile relies on polling plus a sync-on-focus trigger

License

MIT — see LICENSE.

HealthExcellent
ReviewSatisfactory
About
Sync your Obsidian vault via a self-hosted server to keep files synced across devices without vendor lock-in. Push edits on change, pull on startup and poll for updates, use Server-Sent Events for real-time desktop updates, sync only changed files, and save conflicts as .conflict.<timestamp> while respecting glob exclude patterns.
SyncingFiles
Details
Current version
0.4.0
Last updated
2 months ago
Created
2 months ago
Updates
1 release
Downloads
91
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Valentin BritvichValentin Britvichpeoneer
GitHubpeoneer
  1. Community
  2. Plugins
  3. Syncing
  4. Self-Hosted Vault Sync

Related plugins

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).

Nutstore Sync

Sync your vault with Nutstore (坚果云) using WebDAV protocol.

Differential ZIP Backup

Back our vault up with lesser storage.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

Advanced URI

Control everything with URI.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.