josephg/crdt-from-scratch
View on GitHub ↗ ★ 40 TypeScript
This code contains a tiny implementation of FugueMax, programmed live on video
5 mentions on Hacker News by 1 person: 0 stories, 5 comments · first 2025-08-20 · latest 2026-03-22
20082026
-
…you can code the whole thing up in 250 lines of readable typescript. Again with no dependencies. https://github.com/josephg/crdt-from-scratch/blob/master/crd...
comment by josephg · 2026-03-22 · in The future of version control -
…paper. I made a tiny self contained implementation of this algorithm here if anyone is curious: https://github.com/josephg/crdt-from-scratch/blob/master/crd... FugueMax (or Yjs) fit in a few hundred lines of code. This approach also…
comment by josephg · 2026-03-17 · in Lies I was told about collaborative editing, Part 2: Why we don't use Yjs -
…needing a centralised server. Seems like a terrible trade to me. Just use a crdt. They’re good. https://github.com/josephg/crdt-from-scratch
comment by josephg · 2025-09-23 · in Why haven't local-first apps become popular? -
…complex to implement. Compare - this "from scratch" traditional CRDT implementation of FugueMax: https://github.com/josephg/crdt-from-scratch/blob/master/crd... With the same ordering algorithm implemented on top of egwalker:…
comment by josephg · 2025-08-20 · in CRDT: Text Buffer -
…I explain the algorithm and all the code along the way). [1] https://arxiv.org/abs/2305.00583 [2] https://github.com/josephg/crdt-from-scratch/blob/master/crd...
comment by josephg · 2025-08-20 · in CRDT: Text Buffer