Loro is a conflict-free replicated data type (CRDT) framework and collaborative state engine designed for building real-time collaborative applications. It provides a distributed data synchronizer that enables multiple users to edit shared documents and complex nested structures—such as maps, lists, trees, and counters—with automatic state convergence without requiring a central server.
The project distinguishes itself through a versioned document store that supports branching, forking, and merging via a directed acyclic graph of causal operation history. It enables advanced version control capabilities, including time-travel navigation to historical states and the ability to redact sensitive information from the operation history.
The framework covers a broad capability surface including rich text management with stable cursor tracking, presence data sharing for real-time user indicators, and offline-first synchronization. Performance is managed through binary-delta state encoding, shallow snapshot generation for history pruning, and lazy loading of document data.