finds.dev

noib3/cola

🥤 A text CRDT for real-time collaborative editing

View on GitHubHomepage ↗

★ 562RustMITupdated Jan 2026

// the take

cola is a pure Rust CRDT library for plain-text collaborative editing — no server coordination required. It implements a tree-based sequence CRDT (similar in spirit to YATA/Fugue) that lets multiple peers independently edit and converge. Aimed at developers building collaborative editors who want to own the transport layer themselves.

The API is unusually clean for a CRDT library: you call `inserted`/`deleted` to get ops, `integrate_insertion`/`integrate_deletion` to apply them, and that's essentially it. The benchmark suite uses real editing traces (automerge-paper, rustcode, sveltecomponent) which is how you actually validate correctness and performance — not toy examples. The blog post on the design is genuinely good and explains the run-length encoding and gtree structure without hand-waving. Serde support is included, which saves the usual painful step of rolling your own serialization for network transport.

Plain text only — no rich text, no attributed spans, no structured content. If you need anything beyond a flat string you'll be bolting it on yourself. The fork model assumes you already have a copy of the document to fork from, so bootstrapping new peers joining mid-session (late joins) isn't handled for you. 562 stars and 13 forks after presumably a couple years suggests it hasn't seen real production adoption, which means the edge cases in concurrent garbage collection or long-running sessions may not be battle-tested. There's no built-in awareness/cursor/presence concept, so you're on your own for showing where other users are in the document.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
562
Forks
13
Language
Rust
License
MIT
Last commit
13 Jan 2026

// nearby

If cola isn't quite it.

All repos →