Back to Projects
Lattice

Lattice

A realtime collaborative whiteboard where many people draw on one canvas at the same time, backed by a self-hosted CRDT sync server instead of a realtime SaaS.

Aug 2026 - Present Less than a month Ongoing

Tech Stack

TypeScriptNext.jsReactNode.jsExpressWebSocketYjs / CRDTPrismaMySQLNginx

Features

Why CRDTs

CRDTs form a join-semilattice, and merging two replicas is the lattice join — commutative, associative, idempotent. Clients converge on the same board no matter what order updates arrive in, so there is no server-side arbiter anywhere in the design. Hence the name.

Engineering notes

Trade-offs

View All Projects
My Projects About Me