Self-hosted LiveSync

Keep your notes synchronized with a self-hosted solution. Use CouchDB, object storage, or WebRTC for secure, private, and encrypted syncing.

Take full control over your notes with this community-developed synchronization plugin for Obsidian. It allows you to keep your vault synced across all your devices using your own self-hosted server, ensuring your data remains completely private and under your management. This solution is ideal for anyone who requires absolute data privacy, from security-conscious developers to researchers handling sensitive information.

The plugin offers flexible synchronization methods. You can use robust, open-source server solutions like CouchDB or various object storage systems such as MinIO, S3, or Cloudflare R2. For those who prefer a serverless approach, it also provides an experimental peer-to-peer (P2P) synchronization option using WebRTC, allowing devices to sync directly with each other.

Key features include:

  • Complete Data Sovereignty: Your notes are stored on a server you control.
  • End-to-End Encryption: All data is encrypted to protect your privacy.
  • Conflict Handling: Automatically merges simple conflicting modifications to prevent data loss.
  • Full Vault Sync: Synchronizes not just your notes, but also settings, themes, snippets, and other plugins.

Important: This plugin is not compatible with the official Obsidian Sync service and should not be run at the same time as other sync solutions. Always back up your vault before installation.

Directory Structure

self-hosted-livesync
obsidian-livesync
data
.env
docker-compose.yml
local.ini

docker-compose.yml

services:
  couchdb:
    image: couchdb:3
    container_name: couchdb
    restart: unless-stopped
    environment:
      - COUCHDB_USER=${COUCHDB_USER}
      - COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
    ports:
      - "5984:5984"
    volumes:
      - ./data:/opt/couchdb/data
      - ./local.ini:/opt/couchdb/etc/local.d/local.ini

.env

COUCHDB_USER=admin
COUCHDB_PASSWORD=your_super_secret_password

Share:

Ad
Favicon

 

  
 

Similar to Self-hosted LiveSync

Favicon

 

  
  
Favicon

 

  
  
Favicon