This guide matches the current Just Sync workflow (v0.2.10+):
- CouchDB is the only sync backend.
- Lightweight local options are preferred for desktop:
- PouchDB Server (managed by plugin service control)
- Native CouchDB service (managed by plugin service control)
Use the built-in Server Control in Just Sync to avoid heavy local stacks.
- Open Obsidian Settings → Just Sync → Remote Configuration.
- In Server Control, choose backend:
- PouchDB Server (npm-based local CouchDB-compatible server), or
- Native CouchDB (OS-installed CouchDB service).
- Start the selected service from the UI.
- Use local endpoint values:
- URI:
http://127.0.0.1:5984 - Username / Password: your configured credentials
- Database name: e.g.
obsidian_vault
- URI:
Notes:
- PouchDB Server is the easiest path when CouchDB is not installed yet.
- Native CouchDB is best if you already run CouchDB as a system service.
If you already have a remote CouchDB (Cloudant, VPS, managed host, etc.), use it directly.
- Ensure the server is reachable from all devices.
- Use HTTPS for mobile and internet-facing setups.
- Confirm credentials have read/write access to your target database.
If you need fresh CouchDB installation instructions, follow the official docs:
Initialize recommended CouchDB settings using the helper script:
curl -s https://raw.githubusercontent.com/vrtmrz/obsidian-livesync/main/utils/couchdb/couchdb-init.sh | bashIf your host, username, or password are not auto-detected, pass them explicitly:
curl -s https://raw.githubusercontent.com/vrtmrz/obsidian-livesync/main/utils/couchdb/couchdb-init.sh | hostname=http://<YOUR_HOST>:5984 username=<YOUR_USERNAME> password=<YOUR_PASSWORD> bashSkip this section if all devices are on the same local network and you only sync desktop clients.
For mobile and cross-network sync, use HTTPS and a reverse proxy or tunnel.
Quick tunnel example with Cloudflared:
cloudflared tunnel --url http://localhost:5984Then use the generated HTTPS URL as your CouchDB URI in Just Sync.
- Open Settings → Just Sync → Remote Configuration.
- Keep remote type as CouchDB.
- Fill:
- URI:
http://<your-host>:5984orhttps://<your-domain> - Username
- Password
- Database Name: e.g.
obsidian_vault
- URI:
- Click Check.
- Enable End-to-End Encryption and set a strong passphrase.
- Click Apply.
- Enable synchronization in the main Just Sync settings.
- Connection check fails:
- Verify URI, credentials, and port.
- Confirm CouchDB is running.
- Check firewall / reverse proxy rules.
- Works on desktop but not mobile:
- Use HTTPS with valid certificate.
- Verify CORS settings on the CouchDB/proxy side.
- Authentication errors:
- Recheck CouchDB admin/user credentials.
- Ensure database permissions are correct.