Creating Local-First Collaboration Software with Automerge
summary
Local-first collaboration uses CRDTs to keep the primary copy on each device and syncs in background; Automerge is an open-source Rust library compiled to WebAssembly with JS/Swift/Java bindings, a compressed binary format and a new sync protocol (v2 → v2.1 adds rich text), and a companion Automerge repo for storage/networking. It automatically merges concurrent edits (examples: to-do list merges, character- and span-level text merges via Peritext), only needing manual UI when the same key is set differently; production-ready with performance gains and commercial support.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:37Web app architecture through the ages
- 7:01Local-first software
- 17:50Automerge
- 25:46Automerge guarantees
- 31:52Peritext
- 40:13Resources
related talks
40mNew algorithms for collaborative text editing
37mBuilding a Collaborative Text Editor
29mCRDT: Conflict-free Data Types for Collaborative Editing and Offline-First
43mLocal-First and Sync Engines, the Architecture of the Future?
33mLocal-first and Sync Engines, the Architecture of the Future?
41mThe UI/UX Benefits and Trade-Offs of Local-First Apps
45mJump to Hyperspace: Light Speed, User Agency & Moving Past the Cloud
30mEverything's better with friends
