talira

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WebRTC

open sourceMITself-hostablefree

Self-hosted LiveSync is a community plugin for Obsidian that syncs vaults across desktop and mobile through storage you run or choose: a CouchDB server (your own, on Fly.io or IBM Cloudant), S3-compatible object storage such as Amazon S3, Cloudflare R2 or MinIO, or directly between devices over WebRTC. It syncs in real time with CouchDB or peer to peer, merges simple conflicts automatically, supports end-to-end encryption, and can also sync settings, themes, snippets and plugins. A command-line version syncs a vault without running Obsidian. It isn't compatible with the official Obsidian Sync. MIT licensed.

Ways to install

Problems it solves

  • sync my Obsidian vault between phone and laptop through my own server instead of paying for Obsidian Sync
  • keep my notes off third-party clouds but still have them on every device
  • have note edits show up on my other devices right away through a CouchDB I host
  • sync my markdown notes vault through my own S3 or Cloudflare R2 bucket
  • sync notes straight between my devices peer to peer with no server storing them
  • end-to-end encrypt my synced notes so the sync server can't read them
  • carry my Obsidian settings, themes, CSS snippets and plugins across devices too
  • notes edited on two devices keep conflicting; want simple conflicts merged automatically
  • sync a notes vault on a headless Linux server without running the Obsidian app
  • work rules forbid cloud services, but I need my research notes synced across machines
  • set up note sync on a new device by pasting one encrypted setup link
  • run my notes sync server on a Raspberry Pi or NAS with Docker

Features

  • real-time sync through a self-hosted CouchDB, Fly.io or IBM Cloudant
  • sync through S3-compatible object storage (Cloudflare R2, Amazon S3, MinIO) with journal sync
  • peer-to-peer sync over WebRTC, with a public or self-hosted signalling relay
  • end-to-end encryption
  • automatic merging of simple conflicts
  • Customisation Sync and Hidden File Sync for settings, snippets, themes and plugins
  • Setup URI to copy encrypted connection settings to another device
  • several saved connection profiles; switch backends without rebuilding the vault
  • Docker stack for a self-hosted CouchDB with reverse proxy or tunnel profiles
  • CLI that syncs vaults without Obsidian, on Windows, macOS and Linux

Limitations

  • Doesn't sync with Obsidian Sync: it isn't compatible with the official Obsidian Sync service and shouldn't run alongside it2
  • No real-time sync with object storage (S3, R2, MinIO): that backend syncs periodically or on save; CouchDB and peer-to-peer sync live2

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Self-hosted LiveSync does.

  1. Obsidian Sync Sync your notes across devices with end-to-end encryption
  2. Remotely Save Sync notes between local and cloud with smart conflict handling
  3. Syncthing Open Source Continuous File Synchronization

Compare Self-hosted LiveSync with the top 3