Turn any TEXT column in a SQLite database into a collaboratively editable field with one SQL function call.
Build a local-first web app where multiple users can edit the same document offline and sync later without conflicts.
Run the in-browser demo to see two peers typing into the same field with live convergence.
Benchmark how a Fugue-based text CRDT performs under sequential, mid-content, and bulk-insert typing scenarios.
| rbbydotdev/cr-sqlite | 404-agent/codes-miner | bakome-hub/bakome-crypto-quant-engine | |
|---|---|---|---|
| Stars | 0 | 0 | 0 |
| Language | Rust | Rust | Rust |
| Setup difficulty | hard | moderate | easy |
| Complexity | 5/5 | 3/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Building the WASM demo requires Emscripten and Rust nightly, and the first build takes about 3 minutes to clone and compile dependencies.
This is a fork, a modified copy, of an existing project called cr-sqlite, which stands for Convergent, Replicated SQLite. The original project adds multi-writer and conflict-resolution capabilities to SQLite, a widely used database that normally only handles one writer at a time. This fork extends it further by adding support for collaborative text editing, meaning multiple people can type into the same text field simultaneously and their changes will eventually merge together correctly, even if they were offline when editing. The core idea behind collaborative text editing is a CRDT, which stands for Conflict-free Replicated Data Type. This is an algorithm that guarantees two people editing the same document at the same time will always end up with the same result after their changes sync, so no one's edits get silently lost or corrupted. The specific algorithm used here is called Fugue. A single function, crsql_as_text_crdt, is all you need to turn any text column in your SQLite database into a Fugue-managed collaborative field. The project ships as a WASM extension, meaning it can run directly in a web browser without a server. There is a browser demo where you can open two editing panes, type into either, and watch them stay in sync. You can also take one peer offline, make diverging edits, then bring it back online to see convergence happen. A benchmark page measures how fast the system handles different typing scenarios, with individual keystrokes staying well under one millisecond even in large documents. The project is built in Rust with a C layer inherited from the upstream codebase, and is distributed under the MIT license.
A SQLite extension fork that adds Fugue-based CRDT collaborative text editing, so multiple writers can edit the same field offline and merge changes without conflicts.
Mainly Rust. The stack also includes Rust, SQLite, WASM.
MIT license: use, modify, and distribute freely, including commercially, as long as you keep the copyright notice.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.