The Quilt Mesh protocol. CRDT-based, broker-less, end-to-end. Watch two devices sync cells in real time — in this browser, in this tab, no internet required.
Every event has a Lamport timestamp. Each peer ticks its clock on every send and observes the remote clock on every receive. This gives total causal order across the mesh — even with no central server and no synchronized clocks.
Each peer keeps a map from peer id to the highest Lamport it has seen from that peer. This lets a peer tell another peer exactly which events it needs — no diffing, no scan.
Each peer's history is a CRDT. Concurrent edits don't lose data — both writes survive, ordered by Lamport. Same-cell-same-time conflicts resolve deterministically by tiebreaker.
WebSocket for online, BLE for proximity, LoRa for long-range, hardwired for fixed. The wire format is the same; the transport is pluggable. Pick what fits.
A cell is a value, with a history, with an access policy, with formulas. The mesh just spreads the cell graph across many devices.
View source on GitHub → See all 11 repos