mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2024-12-12 09:04:06 +02:00
c8decb05f5
- Toggle All Sync (command) for suspend all sync. - Batch database update (beta)
697 B
697 B
Designed architecture
How does this plugin synchronize.
- When notes are created or modified, Obsidian raises some events. Self-hosted LiveSync catches these events and reflects changes into Local PouchDB.
- PouchDB automatically or manually replicates changes to remote CouchDB.
- Another device is watching remote CouchDB's changes, so retrieve new changes.
- Self-hosted LiveSync reflects replicated changeset into Obsidian's vault.
Note: The figure is drawn as single-directional, between two devices. But everything occurs bi-directionally between many devices at once in real.