/projects/ysync

Back to projects

YSync

A real-time collaborative text editor built from scratch around a custom sequence CRDT. It handles concurrent edits, offline changes, presence, and reconnects while keeping replicas conflict-free.

Next.jsNode.jsWebSocketsRedisPrismaQuillSequence CRDT
YSync live site preview

Features

  • Custom RGA-based sequence CRDT for conflict-free editing.
  • Real-time cursor and selection presence across clients.
  • Offline-first editing with CRDT-based merge on reconnect.
  • Persistent operation log with snapshots and tombstone garbage collection.