haoyu9913 downloadsEnd-to-end encrypted sync through your own server, with full version history.
English · 简体中文
Sync your Obsidian vault across devices through your own server. File contents and paths are encrypted on the client before upload. The server stores encrypted objects and version history, and provides a web admin interface. Lite Sync supports conflict copies, three-way text merging, device pairing and revocation, and optional TOTP for the admin interface.
This is an early-development, single-user project. Test it with a separate vault and keep independent backups before using it for important notes. Desktop and mobile are declared supported; automated tests use simulated devices and do not replace testing on real Obsidian clients.
main.js, manifest.json, optional styles.css and data.json) are encrypted and copied between devices. Other plugins' settings may contain credentials. Enable newly copied plugins on each device where you want to use them. Lite Sync unloads and reloads already-enabled plugins when their files are updated. Use the web admin to disable plugin sync, disable settings sync, or exclude plugin IDs. Lite Sync and LiveSync are excluded.https://github.com/Haoyu99/lite-sync.git and enter the repository..env.example to .env. Set LITE_SYNC_DOMAIN and generate LITE_SYNC_SERVER_KEY using openssl rand -base64 48.docker compose up -d --build.http://127.0.0.1:28470. Enable WebSocket support for /v1/events and a sufficient request size (for example client_max_body_size 100m with Nginx).docker logs lite-sync and open the one-time initialization link. Set the admin passphrase and configure authentication.Back up both the server's data directory and .env. Stop the container or use SQLite's backup command to obtain a consistent database backup. Do not run multiple sync tools on the same vault concurrently.
Install the plugin from GitHub Releases or through BRAT.
https://github.com/Haoyu99/lite-sync.<vault>/<configDir>/plugins/lite-sync/ (normally .obsidian/plugins/lite-sync/), and enable Lite Sync. GitHub's automatic source archives are not installable plugins.Use 立即同步 to sync immediately and 显示同步日志 to inspect recent local sync logs. Devices poll periodically and also receive WebSocket notifications while connected. Mobile operating systems may suspend Obsidian in the background.
Updates are available through BRAT or by replacing the release's plugin files while preserving data.json. If Lite Sync appears in Obsidian's community plugin browser, you can install and update it there.
Version 0.2.6 updates the Hono server dependencies. Pull the updated repository and run docker compose up -d --build on the server to apply the security fixes. Keep your existing .env and data directory. Devices can keep their existing pairing.
Use Node.js 24. Run npm ci, then npm test, npm run check, npm run lint:plugin, and npm run build from the repository root.
The repository contains packages/plugin (Obsidian integration), packages/core (shared protocol and cryptography), packages/server, and packages/admin. Read the sync behavior, design, and community submission guide.
Licensed under the MIT License. Bundled dependencies retain their licenses. See the third-party notices.