What problem does it solve?
Deploys Yjs collaborative editing by wiring a YjsServer to a Durable Streams storage backend, with a Caddy-based TLS proxy and an optional Electric Cloud provisioning path. This setup enables real-time, snapshot-based synchronization across browser clients in a scalable, production-ready deployment.
Core Features & Use Cases
- Yjs wire protocol support (snapshot discovery, updates, and awareness routing) with DS-backed storage.
- Flexible deployment options: development server, self-hosted production using Caddy, or Electric Cloud managed hosting.
- 3-layer architecture: Browser → Caddy → YjsServer → DS Server, with compaction-based snapshots to speed initial sync.
- Production-grade deployment guidance and example configurations for TLS, proxy routing, and server orchestration.
Quick Start
Set up the DS server, start the YjsServer with a 1 MB compaction threshold, and proxy through Caddy using the provided development or production configurations.