Find a file
2025-11-04 10:58:46 +00:00
.github Update release.yml 2025-02-13 22:02:22 +09:00
docs Add Docker Compose troubleshooting for own server setup 2025-08-30 01:00:58 +02:00
images Add Note. 2024-05-27 04:11:44 +01:00
instruction_images brushup readme 2021-10-13 21:38:44 +09:00
src Fix Backporting mis 2025-11-04 10:58:46 +00:00
utils ## 0.24.29 2025-06-20 12:43:15 +01:00
.eslintrc ## 0.24.14 2025-02-18 12:59:18 +00:00
.gitignore For convenience 2025-10-04 17:20:59 +09:00
.gitmodules Refactored and touched up some. 2022-04-28 18:24:48 +09:00
.prettierignore chore(formatting): ignores generated code in pretty 2024-11-11 09:45:53 +00:00
.prettierrc run pretty - revert crlf to lf 2024-12-04 01:13:12 +11:00
docker-compose.traefik.yml Added docker-compose, table of contents, a new reverse proxies section populated with traefik for now 2023-07-04 01:52:48 +02:00
esbuild.config.mjs Improved: copy a dev build to vault folder 2025-10-04 17:12:37 +09:00
eslint.config.mjs ### New Feature 2025-07-09 12:15:59 +01:00
example.env Improved: copy a dev build to vault folder 2025-10-04 17:12:37 +09:00
LICENSE documentation improvement 2021-10-15 01:27:24 +09:00
manifest-beta.json bump 2025-10-31 11:36:55 +01:00
manifest.json bump 2025-10-31 11:36:55 +01:00
package-lock.json bump 2025-10-31 11:36:55 +01:00
package.json bump 2025-10-31 11:36:55 +01:00
pouchdb-browser.js - Reverted PouchDB direct importing. 2022-04-30 01:11:17 +09:00
README.md docs(README): update links for Customisation Sync and Hidden File Sync sections 2025-09-01 21:54:11 +04:00
README_cn.md Remove outdated configuration items. 2022-09-11 02:51:17 +09:00
README_es.md Add translation ids 2025-01-22 13:41:18 -06:00
README_ja.md Fixed: 2024-02-27 08:35:46 +00:00
setup-flyio-on-the-fly-v2.ipynb Improved: 2024-07-01 11:05:33 +01:00
styles.css ### Fixed 2025-10-30 09:29:51 +01:00
terser.config.mjs disenchanting and dispelling from the nightmarish implicit something 2025-10-03 14:59:14 +01:00
tsconfig.json ### Fixed 2025-10-30 09:29:51 +01:00
updates.md bump 2025-10-31 11:36:55 +01:00
updates_old.md bump 2025-10-30 09:30:38 +01:00
versions.json initial commit 2021-10-12 23:50:13 +09:00

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 now (experimental), enabling you to synchronise your notes directly between devices without relying on a server.

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 (Beta) or Hidden File Sync.
  • Enable WebRTC peer-to-peer synchronisation without requiring a host (Experimental).
    • This feature is still in the experimental stage. Please exercise caution when using it.
    • WebRTC is a peer-to-peer synchronisation method, so at least one device must be online to synchronise.
    • Instead of keeping your device online as a stable peer, you can use two pseudo-peers:
      • livesync-serverpeer: A pseudo-client running on the server for receiving and sending data between devices.
      • webpeer: A pseudo-client for receiving and sending data between devices.
      • A pre-built instance is available at fancy-syncing.vrtmrz.net/webpeer (hosted on the vrtmrz blog site). This is also peer-to-peer. Feel free to use it.
    • For more information, refer to the English explanatory article or the Japanese explanatory article.

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 at the same time (including iCloud and Obsidian Sync).
  • For backups, we also provide a plug-in called Differential ZIP Backup.

How to use

3-minute setup - CouchDB on fly.io

Recommended for beginners

LiveSync Setup onto Fly.io SpeedRun 2024 using Google Colab

  1. Setup CouchDB on fly.io
  2. Configure plug-in in Quick Setup

Manually Setup

  1. Setup the server
    1. Setup CouchDB on fly.io
    2. Setup your CouchDB
  2. Configure plug-in in Quick Setup

Tip

Fly.io is no longer free. Fortunately, despite some issues, we can still use IBM Cloudant. Refer to Setup IBM Cloudant. And also, we can use peer-to-peer synchronisation without a server. Or very cheap Object Storage -- Cloudflare R2 can be used for free. HOWEVER, most importantly, we can use the server that we trust. Therefore, please set up your own server. CouchDB can be run on a Raspberry Pi. (But please be careful about the security of your server).

Information in StatusBar

Synchronization status is shown in the status bar with the following icons.

  • Activity Indicator
    • 📲 Network request
  • Status
    • ⏹️ Stopped
    • 💤 LiveSync enabled. Waiting for changes
    • Synchronization in progress
    • ⚠ An error occurred
  • Statistical indicator
    • ↑ Uploaded chunks and metadata
    • ↓ Downloaded chunks and metadata
  • Progress indicator
    • 📥 Unprocessed transferred items
    • 📄 Working database operation
    • 💾 Working write storage processes
    • Working read storage processes
    • 🛫 Pending read storage processes
    • 📬 Batched read storage processes
    • ⚙️ Working or pending storage processes of hidden files
    • 🧩 Waiting chunks
    • 🔌 Working Customisation items (Configuration, snippets, and plug-ins)

To prevent file and database corruption, please wait to stop Obsidian until all progress indicators have disappeared as possible (The plugin will also try to resume, though). Especially in case of if you have deleted or renamed files.

Tips and Troubleshooting

If you are having problems getting the plugin working see: Tips and Troubleshooting.

Acknowledgements

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

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

License

Licensed under the MIT License.