Building·Full-Stack·2025
Real-time Collaborative Editor
CRDTs + WebSockets + live presence — like Notion, built from scratch.
ReactYjsWebSocketsFastAPIPostgreSQL
RoleSolo builderScopeDistributed Systems · Real-time · FrontendStatusIn progress · target ship Q3 2026
Overview
A Notion-style collaborative editor demonstrating distributed systems fundamentals in production: Yjs CRDTs guarantee conflict-free merging without a central resolver, WebSocket broadcasting keeps cursors live for all participants, and optimistic UI makes edits feel instant. Built to demonstrate real-world distributed state management — conflict-free merging without a central resolver.
Why this matters
CRDTs at scale — same foundation as Figma & Notion real-time infra.
Implementation Highlights
- ●Yjs CRDT document model — conflict-free merging across concurrent editors
- ●WebSocket room management for presence, cursor sync, and document broadcast
- ●Optimistic UI — edits applied locally then reconciled on server ack
- ●Persistent document history via event sourcing in PostgreSQL
ShippedIn progress · target ship Q3 2026
Yjs CRDT + Redis pub/sub presence + WebSocket fan-out in FastAPI.
Key highlights
- ●Yjs CRDT document model — conflict-free merging across concurrent editors
- ●WebSocket room management for presence, cursor sync, and document broadcast
- ●Optimistic UI — edits applied locally then reconciled on server ack
- ●Persistent document history via event sourcing in PostgreSQL
Active development — building this as a production-grade distributed systems reference.