2024-02-09 03:13:03 +00:00
<!-- For translation: 20240209r0 -->
2021-11-05 16:38:45 +09:00
# Self-hosted LiveSync
2023-07-14 22:14:51 +03:30
[Japanese docs ](./README_ja.md ) - [Chinese docs ](./README_cn.md ).
2021-11-18 18:15:23 +09:00
2024-02-06 11:02:48 +00:00
Self-hosted LiveSync is a community-implemented synchronization plugin, available on every obsidian-compatible platform and using CouchDB as the server.
2021-10-12 23:50:13 +09:00
2021-10-15 01:27:24 +09:00

2024-02-09 03:13:03 +00:00
Note: This plugin cannot synchronise with the official "Obsidian Sync".
2021-10-12 23:50:13 +09:00
2022-06-23 18:26:43 +09:00
## Features
2021-10-12 23:50:13 +09:00
2024-02-06 11:02:48 +00:00
- Synchronize vaults very efficiently with less traffic.
- Good at conflicted modification.
2024-02-09 03:13:03 +00:00
- Automatic merging for simple conflicts.
2024-02-06 11:02:48 +00:00
- Using OSS solution for the server.
- Compatible solutions can be used.
2024-02-09 03:13:03 +00:00
- Supporting End-to-end encryption.
- Synchronisation of settings, snippets, themes, and plug-ins, via [Customization sync(Beta) ](#customization-sync ) or [Hidden File Sync ](#hiddenfilesync )
- WebClip from [obsidian-livesync-webclip ](https://chrome.google.com/webstore/detail/obsidian-livesync-webclip/jfpaflmpckblieefkegjncjoceapakdf )
2021-11-18 18:15:23 +09:00
2024-02-06 11:02:48 +00:00
This plug-in might be useful for researchers, engineers, and developers with a need to keep their notes fully self-hosted for security reasons. Or just anyone who would like the peace of mind of knowing that their notes are fully private.
2021-10-18 16:18:55 +09:00
2024-02-09 03:16:33 +00:00
>[!IMPORTANT]
> - Before installing or upgrading this plug-in, please back your vault up.
> - Do not enable this plugin with another synchronization solution at the same time (including iCloud and Obsidian Sync).
> - This is a synchronization plugin. Not a backup solution. Do not rely on this for backup.
2021-11-18 18:15:23 +09:00
2022-06-15 17:45:46 +09:00
## How to use
2021-11-18 18:15:23 +09:00
2024-02-09 03:13:03 +00:00
### 3-minute setup - CouchDB on fly.io
2022-06-15 17:45:46 +09:00
2024-02-09 03:13:03 +00:00
**Recommended for beginners**
2024-02-06 11:02:48 +00:00
2024-02-09 03:13:03 +00:00
[](https://www.youtube.com/watch?v=7sa_I1832Xc)
2022-07-19 18:41:39 +09:00
2024-02-20 05:13:53 +00:00
1. [Setup CouchDB on fly.io ](docs/setup_flyio.md )
2. Configure plug-in in [Quick Setup ](docs/quick_setup.md )
2022-09-11 10:38:20 +09:00
2024-02-09 03:13:03 +00:00
### Manually Setup
2022-06-15 17:45:46 +09:00
2024-02-20 05:13:53 +00:00
1. Setup the server
1. [Setup CouchDB on fly.io ](docs/setup_flyio.md )
2. [Setup your CouchDB ](docs/setup_own_server.md )
2. Configure plug-in in [Quick Setup ](docs/quick_setup.md )
2022-06-15 17:45:46 +09:00
2024-02-09 03:16:33 +00:00
> [!TIP]
2024-02-09 03:13:03 +00:00
> We are still able to use IBM Cloudant. However, it is not recommended for several reasons nowadays. Here is [Setup IBM Cloudant](docs/setup_cloudant.md)
2022-06-15 17:45:46 +09:00
2021-10-18 15:07:44 +09:00
2022-06-23 18:26:43 +09:00
## Information in StatusBar
2021-10-13 21:38:44 +09:00
2021-11-18 18:15:23 +09:00
Synchronization status is shown in statusbar.
2021-10-13 21:38:44 +09:00
2021-11-18 18:15:23 +09:00
- Status
- ⏹️ Stopped
2024-01-12 10:29:18 +00:00
- 💤 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
- ⚙️ Working or pending storage processes of hidden files
- 🧩 Waiting chunks
2024-02-09 03:13:03 +00:00
- 🔌 Working Customisation items (Configuration, snippets, and plug-ins)
2024-01-12 10:29:18 +00:00
To prevent file and database corruption, please wait until all progress indicators have disappeared. Especially in case of if you have deleted or renamed files.
2021-10-13 21:38:44 +09:00
2024-02-09 03:13:03 +00:00
## Tips and Troubleshooting
If you are having problems getting the plugin working see: [Tips and Troubleshooting ](docs/troubleshooting.md )
2023-06-01 19:54:42 +02:00
2022-06-23 18:26:43 +09:00
## License
2021-10-18 15:07:44 +09:00
2022-08-04 14:34:45 +08:00
The source code is licensed under the MIT License.