Self-hosted LiveSync

by vrtmrz
5
4
3
2
1
Score: 79/100

Description

The Self-hosted LiveSync plugin syncs vault data through CouchDB, S3 compatible object storage or WebRTC peer to peer mode, with end to end encryption and conflict handling for note changes, metadata and hidden files. It can merge simple text conflicts automatically, sync settings, snippets, themes and community plugins through Customisation Sync or Hidden File Sync, and generate a setup URI so additional devices can join an existing vault from a working one. The plugin shows synchronisation status, transfer counts and storage activity in the status bar, includes recovery and troubleshooting paths for damaged states and supports an optional managed CouchDB host. Peer to peer mode still needs a signalling relay and one device with the required data online during synchronisation.

Reviews

  • Francois Theron
    Reviewed on Jun 21st, 2026
    No review text provided.

Stats

12878
stars
1,075,094
downloads
501
forks
96
days
1
days
2
days
404
total PRs
17
open PRs
63
closed PRs
324
merged PRs
734
total issues
236
open issues
498
closed issues
1,512
commits

RequirementsExperimental

  • A CouchDB server, an S3 compatible object storage service, or access to a compatible signalling relay depending on the chosen sync method

Latest Version

3 days ago

Changelog

1.0.44

1st November, 2026

Recently, I have been concentrating on maintenance and improvements to individual features. I began to wonder whether I had been focusing a little too closely on the details and could give more attention to the overall picture. That led me to a somewhat broader round of changes, including reworking parts of the architecture. Along the way, I was able to bring several implementations of the same concepts together, introduce shared abstractions, and tidy up the codebase a little.

Please let me know if any problems arise from these changes.

Fixed

Synchronisation

  • Files containing a raw unit separator (U+001F) are no longer truncated when received through S3-compatible Object Storage. (#1303)

    • Update every participating client to prevent further truncation. Updating alone does not repair copies already damaged.
    • Before recovery, preserve verified intact copies, unique unsynchronised edits, and any required history, then follow the recovery procedure.
    • Rebuild and Fetch leave Hidden File Sync and Customisation Sync disabled. Initialise them deliberately after ordinary file recovery is complete.
  • We can continue CouchDB synchronisation after rebuilding an encrypted remote when Use Internal API is enabled. (#1234)

    • Cached responses encrypted with the previous Security Seed no longer interfere with subsequent reads.

Conflict resolution

  • A queued conflict check no longer gets stuck waiting for a response to an outdated comparison of the same file.

Hidden File Sync and Customisation Sync

  • Newer local hidden files are no longer omitted when initialising Hidden File Sync with Merge.
  • Refreshing the Customisation Sync catalogue no longer brings back outdated items from an earlier scan.

Improved

Hidden File Sync

  • We can review the latest hidden-file revisions when changes arrive during a manual JSON comparison.
    • The earlier comparison closes, and the latest revisions are checked again. If another device has resolved the conflict, the comparison closes without asking for another selection.

Sunset

Recovery

  • Recovery from old cleanup locks is now unified around the standard recovery dialogue, including on devices using the legacy IndexedDB adapter.
    • Use Fetch to reconstruct the local database from the remote, unlock the device when both databases are already aligned, or dismiss the dialogue.
    • These choices replace the legacy in-place Cleanup operation. Garbage Collection V3 remains available.
    • Before Fetch, preserve unsynchronised work and any required local history, as it replaces the local database.

CLI

Fixed

  • We can continue using the reconstructed database after CLI fetch or rebuild, avoiding the empty-database restart and file deletion reported in #1304.

    • Subsequent commands retain the selected database even without --write-settings. Interrupted reconstruction blocks ordinary synchronisation until recovery.
    • Older runtime state with no recorded owner requires explicit reconstruction from a verified source. Back up unique edits before choosing Fetch or Rebuild.
  • The CLI mirror starts correctly on Windows when the Vault path is omitted and the database directory is also used as the Vault.

Miscellaneous

  • Installation and update downloads are smaller.
  • Database initialisation handles encrypted change notifications more reliably. (Commonlib #191)

Acknowledgements

Thank you for your contributions!

  • @AdrianNicu, for improving decryption handling during database initialisation (Commonlib #191).

README file from

Github

Self-hosted LiveSync

Japanese docs - Chinese docs.

Self-hosted LiveSync is a community-developed synchronisation plug-in available on all Obsidian-compatible platforms. It leverages robust server solutions such as CouchDB or object storage systems (e.g., MinIO, S3, R2, etc.) to ensure reliable data synchronisation.

Additionally, it supports peer-to-peer synchronisation using WebRTC, enabling devices to exchange notes without a central data-storage server. A signalling relay is still required for peer discovery. See How peer-to-peer synchronisation works.

Find setup guides, troubleshooting, technical references, design decisions, and historical material in the documentation index.

obsidian_live_sync_demo

[!IMPORTANT] This plug-in is not compatible with the official "Obsidian Sync" and cannot synchronise with it.

Features

  • Synchronise vaults efficiently with minimal traffic.
  • Handle conflicting modifications effectively.
    • Automatically merge simple conflicts.
  • Use open-source solutions for the server.
    • Compatible solutions are supported.
  • Support end-to-end encryption.
  • Synchronise settings, snippets, themes, and plug-ins via Customisation Sync (Advanced) or Hidden File Sync.
  • Synchronise peer-to-peer using WebRTC.

This plug-in may be particularly useful for researchers, engineers, and developers who need to keep their notes fully self-hosted for security reasons. It is also suitable for anyone seeking the peace of mind that comes with knowing their notes remain entirely private.

[!IMPORTANT]

  • Before installing or upgrading this plug-in, please back up your vault.
  • Do not enable this plug-in alongside another synchronisation solution (including iCloud and Obsidian Sync).
  • For backups, we also provide a plug-in called Differential ZIP Backup.

How to Use

Self-hosting lets us choose a server we trust and manage it ourselves. Please set up and maintain your own server, and keep it secure.

What you need

Method What you need Nice to have
CouchDB A CouchDB-compatible server. —
Object Storage An S3-compatible service or server. —
Peer-to-Peer Nothing. Your own signalling server.

For a CouchDB-compatible server, choose a setup guide for your environment:

  • Your own server: run CouchDB on a Raspberry Pi or another server you manage.
  • Docker: deploy CouchDB with the supplied Docker stack.
  • Fly.io: manage your own CouchDB instance on hosted infrastructure.
  • IBM Cloudant (managed): use a database service managed by IBM.

The linked guides explain the setup and any provider-specific costs.

For the Fly.io video walkthrough, see automated setup.

P2P does not require a central data-storage server, but a signalling relay is still required for peer discovery. You can use the project's public signalling relay, so there is no server to provision. At least one device containing the required data must be online while another device synchronises. Follow the Peer-to-Peer Setup after reviewing the P2P communication model.

If you would like to see how P2P setup and connectivity behave on your devices, try the guided connection check in the experimental WebPeer browser utility. It uses an empty Vault and does not test note synchronisation. See the WebPeer documentation for its scope and limitations.

Start synchronising

  1. Install and configure Self-hosted LiveSync on your first device using Quick Setup for CouchDB, Object Storage Setup, or Peer-to-Peer Setup.
  2. Generate a Setup URI from that working device and follow the same guide to add your other devices.
  3. Create test notes and confirm that they synchronise in both directions.

Hosting services proposed by the community

[!NOTE] The services below are operated by third parties. They are not official Self-hosted LiveSync services, and this project neither endorses nor recommends them. The providers proposed the listings in the table.

If you would rather not set up and maintain a server yourself, the following providers offer managed CouchDB servers which this plug-in can be configured to connect to:

Provider Offering
Zenith Hosting Managed CouchDB hosting.

Your synchronisation data will reside on a server operated by the provider. Consider whether that is acceptable for your Vault, and review the provider's current terms, pricing, and data-handling policies before using the service.

Information in the Status Bar

Synchronisation status is shown in the status bar and inside the editor by default. The main indicators are:

Indicator Meaning
⏹️ Stopped.
🌀 Starting synchronisation.
💤 LiveSync mode is waiting for changes.
⚡️ Synchronisation is in progress.
⏩ Comparing CouchDB change history, including entries already held locally.
⚠ An error occurred.
↑ / ↓ Uploaded / downloaded Chunks and Metadata.
📲 / 🌐N A finite remote operation is in progress / approximate remote requests in progress.

See the status display guide for detailed progress counters and CSS customisation.

Allow pending file operations to finish before closing Obsidian, especially after deleting or renaming files.

Tips and Troubleshooting

  • If you want a faster and simpler initial replication when setting up subsequent devices, see the Fast Setup Guide.
  • Configure Hidden File Sync only after ordinary note synchronisation works.
  • If Obsidian or LiveSync cannot start normally, use Recovery and flag files before changing or resetting a remote database.
  • Self-hosted LiveSync 1.0 requires Obsidian 1.7.2 or later. If you need to use 1.0 on an earlier Obsidian version, please open an issue with your version, platform, and reason for remaining on it so that we can assess whether extending support is practical. The standard Community Plugins installer otherwise selects an older compatible plug-in release.
  • If you are having problems getting the plug-in working, see Tips and Troubleshooting.

Acknowledgements

The project has been in continual progress and harmony thanks to the following:

May those who have contributed be honoured and remembered for their kindness and generosity.

Development Guide

Please refer to the Development Guide for development setup, testing infrastructure, code conventions, and more.

License

Licensed under the MIT License.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Remotely Save
5 years ago by fyears
Sync notes between local and cloud with smart conflict: S3 (Amazon S3/Cloudflare R2/Backblaze B2/...), Dropbox, webdav (NextCloud/InfiniCLOUD/Synology/...), OneDrive, Google Drive (GDrive), Box, pCloud, Yandex Disk, Koofr, Azure Blob Storage.
Nutstore Sync
a year ago by nutstore-dev
Weread Plugin
4 years ago by hank zhao
Obsidian Weread Plugin is a plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.
Google Drive Sync
2 years ago by Richard Xiong
A plugin to make Obsidian work in Google Drive to enable access to iOS.
Meld Encrypt
6 years ago by meld-cp
Hide secrets in your Obsidian.md vault
Todoist Sync
6 years ago by jamiebrynes7
Materialize Todoist tasks in Obsidian notes
Fast Note Sync
4 months ago by HaierKeys
Can be privately deployed, focusing on providing Obsidian users with a seamless, distraction-free note synchronization plugin with real-time sync across multiple platforms, supporting Mac, Windows, Android, iOS, and offering multilingual support.可私有化部署,专注为 Obsidian 用户提供无打扰、丝般顺滑、多端实时同步的多平台笔记同步插件。
Share Note
3 years ago by Alan Grainger
Instantly share an Obsidian note with the full theme exactly like you see in your vault. Data is shared encrypted by default, and only you and the person you send it to have the key.
Snipd Official
6 months ago by snipd-app
Filename Heading Sync
5 years ago by dvcrn
Obisdian.md plugin to keep the filename and the first header of the file in sync
Douban
4 years ago by Wanxp
an obsidian plugin that can pull data from douban to your markdown file
Full Calendar Remastered
4 months ago by obsidian-full-calendar-remastered
Keep events and manage your calendar alongside all your other notes in your Obsidian Vault.
GitHub Sync
3 years ago by Kevin Chin
Sync Obsidian vault to personal GitHub
Sync Engine
3 months ago by Hēsperus
🔄 The fast and extensible synchronization engine for Obsidian.
Telegram Sync
3 years ago by Burtasov Volodymyr
Transfer messages and files from Telegram to Obsidian
Syncthing Integration
3 years ago by LBF38
Obsidian plugin for Syncthing integration
YAOS
6 months ago by kavinsood
A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.
TickTickSync
3 years ago by thesamim
Bidirectional synchronization between Obsidian and TickTick. Mobile compatible.
Social Archiver
4 months ago by Jun Lim
Release repository for Social Archiver - Archive social media posts from 8 platforms into Obsidian
QuickShare
4 years ago by Maxime Cannoodt (@mcndt)
📝 An Obsidian plugin for sharing encrypted Markdown notes on the web. Zero configuration required.
Taskbone
5 years ago by Dominik Schlund
Obsidian OCR plugin - extract text from images
EasySync
3 months ago by Jiao Yingxing
在电脑、手机和平板之间轻松同步你的仓库。Easily keep your vault in sync across your computer, phone, and tablet.
GitHub Gitless Sync
2 years ago by Silvano Cerza
Sync a GitHub repository with vaults on different platforms without requiring git installation
Peerdraft
3 years ago by Peerdraft
Collaboration for Obsidian – Sync, Share, and Edit anywhere
Settings profiles
3 years ago by 4Source
This is a plugin for Obsidian (https://obsidian.md). Allows you to create various global settings profiles. You can sync them between different vaults. To keep all your settings in sync, you'll never have to manually adjust them again for every vault you have or create in the future.
Readwise Mirror
5 years ago by jsonmartin
Share to NotionNext
3 years ago by EasyChris, jxpeng98
Share obsidian markdown file to any Notion database and generate notion share link 同步obsdian文件到任意Notion数据库。
Sync Graph Settings
4 years ago by Xallt
This is a plugin for syncing graph settings (Color Groups and Search Filters) to Local Graphs
Sync Vault CE
2 years ago by Camus Qiu
An Open Framework for Obsidian Cloud Sync, Media Playback, P2P Connection with MCP capability. Currently Support Baidu/Aliyun/Quark/WebDAV/S3
Granola Sync
3 months ago by tomelliot
Sync Granola notes to your Obsidian vault
Awesome Reader
4 years ago by AwesomeDog
Make Obsidian a proper Reader.
Voicenotes Sync
2 years ago by Andrew Lombardi
Official Obsidian plugin that syncs your notes from VoiceNotes.com into your vault
Granola Meetings Simple Sync
3 months ago by philfreo
"Granola Meetings Simple Sync" Plugin for Obsidian
Cubox
2 years ago by delphi-2015
Cubox Official Obsidian Plugin
TickTick
3 years ago by Viduy Cheung
LINE Notes Sync
2 years ago by onikun94
Instapaper
3 years ago by Instapaper
Official Instapaper plugin for Obsidian
Dedao Brain Importer
3 months ago by springrain | 公众号: 及时春雨
在原版基础上修复windows无法手动和自动导入问题,以及优化很多格式转换为markdown
Notes Sync Share
3 years ago by Alt-er
Sync and share (publish) your notes in your own private service.
gpgCrypt
3 years ago by Tjado Mäcke
Seamlessly encrypts your notes using GPG. Supports smartcards for enhanced security! 🔒📝📎
Awesome Flashcard
4 years ago by AwesomeDog
Handy Anki integration for Obsidian.
Custom Image Auto Uploader
2 years ago by HaierKeys
You can batch download images from your notes on 💻 desktop, 📱 iOS, and 🤖 Android platforms, and batch upload and save them to a remote server, home NAS, or cloud storage (such as Alibaba Cloud OSS, Amazon S3, Cloudflare R2, MinIO). Additionally, you can stretch, crop, and resize the images.
Bi Ji Tong Bu
3 months ago by 笔记同步助手
Bi Ji Tong Bu (笔记同步助手) for Obsidian — marketplace edition (no self-update; full disclosures)
WuCai highlights Official
4 years ago by 希果壳五彩
WuCai highlights Official, for Sync highlights into your obsidian notes
Cliplet
a year ago by namikaze-40p
An Obsidian plugin that serves as a clipboard and snippet manager — your own, separate from the OS clipboard.
Google Contacts
a year ago by aleksejs1
Obsidian plugin for sync Google Contacts with obsidian notes
Strava Sync
2 years ago by Howard Wilson
Sync Strava activities to your Obsidian vault
BookFusion
3 years ago by BookFusion
BookFusion Obsidian Plugin
Pinboard Sync
5 years ago by Mathew Spolin
Obsidian plugin to sync Pinboard.in links to Daily Notes
KOReader Sync
5 years ago by Federico "Edo" Granata
Obsidian.md plugin to sync highlights/notes from koreader
Global Markdown Encryption
3 years ago by shlemiel
a plugin for encrypting obsidian markdowns in-memory, single password based.
SamePage
4 years ago by SamePage
Vim Multibyte Char Search
5 years ago by anselmwang
Search multibyte characters by the corresponding input method encoding. For example, for Chinese, search "用来" by "yl"
External File Linker
2 years ago by Kay606
Community Install Manager
3 months ago by Konstantin Volobuev
Allows you to use `community-plugins.js` to search for and automatically install plugins when you launch `obsidian`.
Askify Sync
3 years ago by Kishlay Raj
Eccirian Encrypt
a year ago by Entropiex
Next-generation file encryption solution
Github Issues
a year ago by LonoxX
An Obsidian plugin that integrates with GitHub to track issues and pull requests directly in your vault.
Memos Sync
2 years ago by RyoJerryYu
Syncing Memos to Obsidian daily note. Fully compatible with official Daily Notes plugin, Calendar plugin and Periodic Notes plugin.
Anki Integration
2 years ago by Noah Boos AKA Rift
Create flashcards from your notes with a seamless interface, structuring them with metadata and syncing effortlessly via AnkiConnect.
Hardcover
9 months ago by aliceinwaterdeep
Sync your Hardcover.app library to your Obsidian notes.
Cloud Storage
2 years ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Evernote Decryptor
3 years ago by rcmdnk
Obsidian Plugin for encrypted data imported from Evernote
Confluence Sync
3 years ago by Prateek Grover
Obsidian plugin for obsidian confluence sync
Markdown Hijacker
a year ago by Yongmini
Beyond the Vault. One hub for every Markdown, everywhere
Vikunja Sync
2 years ago by Peter Heiss
Manage your tasks in vikunja.
Glasp
2 years ago by Glasp
Obsidian plugin to import highlights and notes from Glasp
HackMD Sync
2 years ago by thor kampefner
obsidian extension to push and pull notes from hackmd conveniently
Readavocado Sync
4 years ago by Cyrus Zhang
Readavocado obsidian plugin to sync your favorite highlights.
Jira Issue Manager
2 years ago by Alamion
Obisdian plugin to sync tasks between Obsidian and Jira
Checkbox Sync
2 years ago by Grol
Keep parent/child checkboxes in sync automatically within your Obsidian task lists.
MrDoc
a year ago by zmister
An Obsidian plugin for MrDoc that enables two-way synchronization between local Obsidian documents and MrDoc.一个 Obsidian 的 MrDoc 插件,用于 Obsidian 本地文档与 MrDoc 的双向同步
Browser History
2 years ago by noy4
Sync your browser history to notes.
Minote Sync
2 years ago by Emac Shen
Minote Sync is a Obsidian plugin to sync Minote(小米笔记) into your Vault.
File Share
2 years ago by muckmuck
A lightweight obsidian.md plugin for sharing files between multiple vaults
Cloud sync
a year ago by Bing
一款强大的 Obsidian 同步插件,支持将笔记自动同步到多种云盘服务,提供端到端加密保护,让您的笔记既安全又便捷。
Send Note
2 years ago by jvsteiner
Instantly share an Obsidian note text/content with other users. Data is shared encrypted by default, and only you and the person you send it to have the key.
Age Encrypt
2 years ago by Metin Ur
A plugin for Obsidian that provides age-based encryption for your notes.
Weread Vault
3 months ago by 茜宁郑
Sync WeRead highlights, import book lists, and connect personal reading notes in Obsidian.
WikiDocs
2 years ago by pahkey
Crypt It
3 years ago by fyears
Obsidian plugin allowing users to right click on a file to generate an encryption version of the file using a password.
AnySocket Sync
2 years ago by Andrei Vaduva
Securely Synchronize your Vault on a self-hosted server
Sync config folder to common folder
3 years ago by codeonquer
Limitless Lifelogs
a year ago by Maclean Dunkin
Sync your Limitless AI lifelog entries directly into Obsidian markdown files.
Markwhen File Sync
a year ago by rouvenjahnke
Synchronize properties from your Obsidian notes with a Markwhen timeline file.
Sync-safe file names
a year ago by j-maas
Ensure your Obsidian files can always be synced across all your devices.
ExMemo Client
2 years ago by Yan.Xie
exmemo obsidian plugin
VaultSync
2 years ago by Justin Bird
Obsidian plugin to link your vault to a cloud storage provider.
Yandex Wiki Integration
a year ago by Pavel Sokolov
Cicada Synchronizer
3 years ago by Adapole, Adapole, Mahyar Mirrashed
BookXNote Sync
2 years ago by CodeListening
将bookxnote中的笔记同步到obsidian指定的文件夹中
Feedly Annotations Sync
2 years ago by Nick Felker
Download my Feedly annotations
Memos AI Sync
2 years ago by leoleelxh
obsidian-memos-sync-plugin,将 Memos 内容同步到 Obsidian 的插件,提供无缝集成体验。
BetaX NAS Sync
2 years ago by Skye
Obsidian NAS Sync
Live Share
2 months ago by mewski
Real-time collaborative editing for Obsidian.
Vault Encrypt
a year ago by Pluppen
Obsidian Plugin that encrypts/decrypts the entire vault.
Sync Cnblog
2 years ago by zhanglei
同步文章到博客园
Vault Syncryption
a month ago by Isaac Behrens
Cypher
2 years ago by Atharva Wankhede
Obsidian Plugin
InfoFlow
2 years ago by RockieStar Inc.
Obsidian plugin for InfoFlow.app - This plugin integrates InfoFlow with Obsidian, allowing you to sync your saved articles, web pages, notes, and highlights directly into your Obsidian vault.
KOI Sync
2 years ago by Luke Miller
Sync to Hugo
2 years ago by Cray Huang
Sync the selected notes from Obsidian to Hugo
OsyC
2 months ago by 3yesore
Multi Cloud Sync
3 months ago by d0uub
Feishu Importer
2 months ago by leon
feishu document importer for Obsidian
Pantalytics
19 days ago by pantalytics