GeorgeP12 downloadsTwo-way sync of your vault with a Seafile library on desktop and mobile, with three-way merge for notes, conflict copies and deletion safety.
Sync your Obsidian vault through your own Seafile server: on your computer and on your phone.
Windows · macOS · Linux · Android · iOS
| Version history | Conflict helper |
|---|---|
![]() |
![]() |
| Compare any version from the server with the current note and restore it in one click. | When two devices changed the same lines, pick block by block what to keep. |
| Deleted files | Settings |
|---|---|
![]() |
![]() |
| Bring back files deleted on any device from the Seafile trash. | Everything is explained in plain words and set up in a minute. |
On a phone
| Note | File list | History |
|---|---|---|
![]() |
![]() |
![]() |
From Obsidian (recommended): Settings → Community plugins → Browse, search for Seafile Vault Sync, then Install and Enable.
grissspy/obsidian-seafile-sync.main.js, manifest.json and styles.css from the latest release, put them into <vault>/.obsidian/plugins/seafile-vault-sync/, restart Obsidian and enable the plugin. On phones the .obsidian folder is hidden; copy the files with a file manager or over USB.https://cloud.example.com.Obsidian/My vault.[!TIP] A new phone can start with an empty vault: the plugin downloads everything. On a device that already has the same files, the first sync compares them by content, so nothing is duplicated.
The plugin remembers the last successful sync. For every file it compares three versions: this device, the server and the last sync.
| This device | Server | What happens |
|---|---|---|
| changed | — | uploaded |
| — | changed | downloaded |
| changed | changed | notes are merged; if the same lines were edited, both versions are kept as Note (conflict Phone 2026-11-25 140312).md |
| deleted | — | deleted on the server (it goes to the Seafile trash) |
| — | deleted | moved to the trash on this device |
| deleted | changed | the edit wins, the file comes back |
A sync runs on startup, every few minutes, a few seconds after you stop typing, when the server reports a change, and when you return to the app on a phone. You can also press ⟳, click the status bar, or run Sync now.
| 🕘 Version history | Right-click a file → Seafile: version history. Compare and restore; the current version stays in the history. |
| ♻️ Restore deleted files | Settings → Tools → Open trash, or the command Restore deleted files from the server trash. |
| 🔀 Resolve a conflict | Right-click a note that has a (conflict …) copy → Seafile: resolve conflict. |
| 🟠 Status in the file list | An orange dot marks files not synced yet, ⚠️ marks conflict copies. |
| 🔗 Share link | Right-click → Seafile: copy share link (a view-only Seafile link). |
| 📂 Only some folders on this device | Keep big attachments off your phone. Nothing is deleted anywhere. |
| 📚 More libraries | Sync a vault folder with another library, e.g. a shared team library. |
| 📱 Copy settings to a new device | Settings → Tools → Save to server, then Copy from a device… on the new one. |
| Status | How it is tested | |
|---|---|---|
| 🪟 Windows | ✅ | automatic test in the real Obsidian app on every change (E2E) |
| 🍎 macOS | ✅ | automatic test in the real app, plus tests with a real Seafile server |
| 🐧 Linux | ✅ | automatic test in the real Obsidian app |
| 🤖 Android | ✅ | the same test suite on a real phone (Android 17), plus real-server tests |
| 📱 iOS / iPadOS | 🟡 | uses only the cross-platform Obsidian APIs that work on Android, but has not been tested on a device yet; feedback is welcome |
Other plugins. It works alongside other plugins: it reads and writes vault files through Obsidian's own API and saves an open editor before touching its file. Plugins that edit notes (Linter, Templater…) are just regular edits. Excalidraw drawings (.excalidraw.md and .excalidraw) get a merge of their own: if one drawing is changed on two devices at once, the plugin combines them shape by shape, the way Excalidraw's live collaboration does. Shapes added on either device are kept, the newer edit of a shape wins, and deletions carry over. If a drawing can't be read, both versions are kept. Their exported PNG/SVG files sync as images. Syncing other plugins' settings is off by default and can be turned on part by part.
[!WARNING] Don't sync the same files twice. Don't use this plugin together with another sync for the same vault (Obsidian Sync, Remotely Save, an auto-pushing Git plugin, or the Seafile desktop client on the same folder). Changes would bounce back and forth.
https://. The settings warn you about plain http://.main.js comes from this repository.The server's SERVICE_URL / FILE_SERVER_ROOT is probably wrong. Turn on Settings → Advanced → Use server URL for file transfers.
The token was revoked (for example, the password changed). Press Sign out and sign in again.
Run the command Show sync log, or open Settings → Tools → Sync log.
npm install
npm run dev # rebuild on change
npm test # sync engine tests against a fake Seafile server
npm run e2e -- --obsidian /path/to/Obsidian # the real Obsidian app with an isolated profile
npm run build
To release, run npm version patch && git push --follow-tags; GitHub Actions builds and publishes it. Code layout: src/sync.ts (algorithm), src/seafile.ts (API client), src/merge.ts (three-way merge), src/local.ts (vault access), src/ui.ts (dialogs), src/main.ts (plugin).
If the plugin saves you time, you can support development on Boosty. Bug reports and ideas are welcome in Issues.
License: MIT.