Loro
Loro
Description
Loro is a CRDT (Conflict-free Replicated Data Types) library that makes it easy to build collaborative, local-first applications. It offers automatic merging, offline availability, and fast synchronization across peers. Loro works seamlessly in Rust, JavaScript (via WASM), and Swift, empowering developers to create real-time, version-controlled applications with minimal effort.
Features
Core CRDT Features
- Peer-to-peer synchronization – Share data directly between clients without central servers.
- Automatic conflict resolution – Merges edits seamlessly with no manual intervention.
- Offline-first availability – Works fully without internet and syncs when online.
- Scalable performance – Efficiently supports large documents and many users.
- Delta updates – Transmits only incremental changes for faster sync.
Supported CRDT Algorithms
- 📝 Text Editing with Fugue – Advanced algorithm for concurrent text editing.
- 📙 Rich Text CRDT – Supports collaborative editing with formatting and styles.
- 🌲 Moveable Tree – Flexible data structure for hierarchies like files or outlines.
- 🚗 Moveable List – Ordered list that supports concurrent inserts and moves.
- 🗺️ Last-Write-Wins Map – Simple key-value store with conflict resolution.
Advanced Features
- 🚀 Fast document loading – Optimized startup for large or complex datasets.
- ⏱️ Time travel through history – Replay or inspect past states instantly.
- 🏛️ Version control with collaboration – Combines Git-like history with real-time editing.
- 📦 Shallow snapshots – Lightweight snapshots similar to Git shallow clones.
Technology Stack
- Rust (core library and bindings)
- JavaScript/TypeScript with WASM
- Swift (mobile integration)
- Loro Inspector (web-based debugging tool)
Quick Links
GitHub Metrics
Stars
4,910Forks
113Contributors
113Last Updated
9/8/2025Deploy Loro on DigitalOcean
Get started with $200 in free credits and deploy your application in minutes.
Trusted by 600,000+ developers