yjs-server

Official

Deploy Yjs with DS-backed real-time collaboration.

Authordurable-streams
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: yjs-server
Download link: https://github.com/durable-streams/durable-streams/archive/main.zip#yjs-server

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.