An open-source workspace app is climbing GitHub’s trending boards this week, and the interesting technology hides under its sync label.
Local-first software is a design philosophy: your data lives on your device, works offline and syncs when connected - and the math that makes merging painless is worth meeting.
The conflict problem
Traditional sync copies documents between devices, and concurrent edits create conflicts. Someone must win - usually whoever saved last, erasing the other person’s work.
CRDTs - conflict-free replicated data types - redesign the data structures so that merging is always possible and every device converges to the same result, whatever the order.
Why the math works
CRDTs rely on operations that commute: applying edit A then B lands in the same state as B then A. Unique identifiers break ties deterministically, so no central referee is needed.
| Property | What it guarantees | What it enables |
|---|---|---|
| Commutativity | Order does not change the result | Merging without coordination |
| Unique operation IDs | Ties break deterministically | No server picks winners |
| Causal tracking | Edits know their context | Deletions respect history |
| Convergence | All replicas end identical | Offline-first becomes possible |
What local-first changes for users
The philosophy delivers concrete guarantees: instant local responsiveness, privacy by default, and independence from any single company’s servers.
- Every edit is local-speed, never network-speed.
- Data outlives the vendor - files remain usable regardless.
- Privacy is structural, not a policy promise.
- Collaboration survives bad connectivity gracefully.
The trade is complexity: engineers absorb hard merge semantics so users never think about syncing again.
Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.
The bigger picture
The industry spent two decades centralizing software in the cloud. Local-first is the counter-current: keep the collaboration, restore the ownership.
So this week’s trending app is a statement of architecture as much as a product. The merge math is the argument, and it is convincing.
The bottom line: Last-write-wins sync silently deletes concurrent work. CRDTs merge offline edits deterministically, referee-free. Local-first delivers speed, privacy and vendor independence. The trade is engineering complexity absorbed on your behalf. Each one is a lever you can pull the next time this subject crosses your feed or your work.
Key takeaways
- Last-write-wins sync silently deletes concurrent work.
- CRDTs merge offline edits deterministically, referee-free.
- Local-first delivers speed, privacy and vendor independence.
- The trade is engineering complexity absorbed on your behalf.
Quick answers
Do CRDTs replace the server entirely?
No. Servers still relay and store updates, but they no longer arbitrate content - the math handles merging.
Does this work for big documents?
Yes, with care. Modern CRDT implementations handle large texts efficiently, though performance tuning remains active work.
Why is local-first more private?
Data lives on your devices by default; servers relay encrypted updates rather than hosting readable content.
One thing to do tonight
Tonight, test any collaborative editor offline: edit on two devices without connection, then reconnect. Watching conflict-free merge happen is the best demo of the math.