collab

wip

A real-time collaborative editor using CRDTs.

A browser-based collaborative text editor where multiple users can edit the same document simultaneously with no conflicts. Uses a CRDT (Conflict-free Replicated Data Type) for merge resolution instead of operational transforms — no central authority needed to resolve conflicts.

stack

TypeScriptCRDTWebSocketsReactIndexedDB

highlights

  • CRDT-based merge — edits from any client converge to the same document state
  • Offline-first: edits are queued locally in IndexedDB and synced on reconnect
  • Presence indicators show live cursor positions of other users
  • WebSocket server handles peer relay with no conflict resolution logic server-side