Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2025 (3)
20082026
  1. …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
  2. …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…
  3. …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
  4. …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
  5. …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