Self-host self-hosted-livesync-server
CouchDB server with Caddy for Obsidian LiveSync
- Stars
- 274
- Ports
- 80 (HTTP (Caddy, redirects to HTTPS)), 443 (HTTPS (Caddy with Let's Encrypt)), 5984 (CouchDB HTTP API (internal, proxied by Caddy))
What is self-hosted-livesync-server?
self-hosted-livesync-server is a Docker Compose project that sets up a CouchDB 3.1.2 instance behind a Caddy reverse proxy with automatic Let's Encrypt TLS certificates. It is purpose-built for Obsidian's Self-hosted LiveSync plugin, providing the required CORS headers and authentication endpoints. The stack includes Caddy (lucaslorentz/caddy-docker-proxy) handling HTTPS on ports 80/443 and routing requests to CouchDB on port 5984 under a secret subpath for basic obscurity. Configuration is done via environment variables (COUCHDB_SERVER, COUCHDB_USER, COUCHDB_PW) and a local.ini file that enables CORS for Obsidian's app:// and capacitor:// origins. An ARM variant compose file is provided for Raspberry Pi or Oracle Cloud ARM instances. A companion project (self-hosted-livesync-server-tailscale) exists for users without a public domain. The project is MIT licensed and actively maintained.
Should you self-host self-hosted-livesync-server?
self-hosted-livesync-server scores 45/100 on selfhost.directory (how scoring works) and ranks #37 of 40 in Database Management. It has 274 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed and written mostly in Shell.
Its closest alternative on selfhost.directory is supabase (92/100, 114 240 stars). It scores higher overall, so compare the two before you pick. See self-hosted-livesync-server vs supabase side by side.
Features
- ARM architecture support
- Automatic Let's Encrypt TLS
- Basic Authentication
- CORS for Obsidian LiveSync
- Single-node CouchDB
- Subpath routing for obscurity
self-hosted-livesync-server README
More in File Sync
SynchSynch is a self-hosted, open-source alternative to Obsidian Sync that encrypts notes locally before syncing across devices with version history and conflict merging.
Sync-inSync-in is a self-hosted, open-source workspace for file storage, sharing, sync and team collaboration, with WebDAV, OIDC/LDAP sign-in and online office editing.
SyncthingSyncthing is a self-hosted, open-source file sync tool that syncs directly between devices using encrypted P2P connections, no central server.
TurtlOpen-source, self-hosted backend server for Turtl clients: account management, data storage, syncing, sharing permissions and a plugin architecture, on Node and Postgres.
UnisonSelf-hosted, open-source two-way file synchronizer for Linux, BSD, macOS and Windows replicas, with conflict detection, profiles, backups and a continuous watch mode.
VaultSyncVaultSync syncs Obsidian vaults peer-to-peer between iPhone/iPad and a personal server via Syncthing, with optional Cloud Relay for faster background wake-ups.
yet-another-rclone-dashboardSelf-hosted, open-source web UI for managing rclone remotes, browsing files, monitoring transfers, and controlling the rclone RC daemon with dark mode and PWA support.
zotero-webdav-serverA self-hosted WebDAV server using Caddy and Tailscale that enables file syncing for Zotero desktop and iOS apps without relying on Zotero's paid storage.
abs-kosync-bridgeBookBridge is a self-hosted, open-source sync engine aligning reading and listening progress across Audiobookshelf, KOReader, Grimmory, BookOrbit. Runs in Docker.
Alist-SyncAlist-Sync is a self-hosted, open-source web app for syncing files between Alist storage backends with a visual UI, cron scheduling, and configurable difference handling.
alt-coreAlterante Core is a self-hosted, open-source decentralized filesystem in Java for file discovery, automated backup/replication, and web-based file access.
alteroaltero is a self-hosted, open-source Zotero sync server implementing the Web API v3 for libraries, groups, notes, attachments, and full-text search.
0 comments