# loro-dev/loro

Make your JSON data collaborative and version-controlled with CRDTs

Repository: https://github.com/loro-dev/loro
Canonical: https://ross.abutalabs.com/products/loro
Homepage: https://loro.dev
Language: Rust
License: MIT
License Family: permissive
Topics: crdt, local-first, offline-first, p2p, rich-text, collaborative-editing, privacy-first
Last push: 2026-08-26T15:27:58+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 1513, "days_push": 7, "days_rel": 7, "gap_med": 2.5, "n_releases_24m": 123}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6070, forks 168 (observed 2026-08-28T04:09:34.754167+00:00)

## What it is
Loro is a high-performance CRDT (Conflict-free Replicated Data Type) library that makes JSON-like application state collaborative, version-controlled, and synchronizable peer-to-peer. It provides text, rich text, list, map, tree, and counter containers with Git-like version history, available in Rust, JavaScript/WASM, Swift, Python, and community-maintained Go and C# bindings.

## Use cases
- build a local-first app with offline editing and automatic sync
- add real-time collaborative editing to a document or rich text editor
- sync JSON state between devices over p2p without a central server
- add Git-like version history and time travel to app data
- implement multiplayer features like shared todo lists or kanban boards
- merge concurrent edits without conflicts in a collaborative notebook

## When to choose
- you need conflict-free merging of concurrent edits across offline or p2p devices
- you want both real-time collaboration and full version history in one data layer
- you need high-performance CRDTs with fast document loading and delta updates
- you want bindings across Rust, JS/WASM, Swift, and Python

## When to avoid
- you only need a simple client-server sync backend with no offline/concurrent editing
- your data model is a plain relational database with server-side transactions
- you need a full collaboration server with auth and presence out of the box - Loro is a data layer, not a sync service

## Facets
- artifact type: library
- maturity: active
- function: state-management, serialization, developer-tools, sdk
- domain: microservices, cross-platform, developer-tools, privacy
- platform: rust, python, wasm, cross-platform, go
- tags: crdt, local-first, offline-first, collaborative-editing, p2p, rich-text, version-control, real-time-collaboration, real-time, swift

## Member repositories
- loro-dev/loro (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.754167+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:48:34.273597+00:00, confidence not recorded.
  - readme: https://github.com/loro-dev/loro (fetched 2026-08-28T04:09:34.754167+00:00, sha 49f2bcd9d8bb)
  - homepage: https://loro.dev (fetched 2026-08-29T08:45:11.307228+00:00, sha 282b91179c95)
  - site_page: https://loro.dev/docs/tutorial/get_started (fetched 2026-08-29T08:45:11.321569+00:00, sha eda7e393d04a)
  - site_page: https://loro.dev/docs/tutorial/text (fetched 2026-08-29T08:45:11.323573+00:00, sha a6da28f359e3)
  - site_page: https://loro.dev/docs/tutorial/tree (fetched 2026-08-29T08:45:11.325500+00:00, sha 219c37786508)
  - site_page: https://loro.dev/docs/tutorial/list (fetched 2026-08-29T08:45:11.327321+00:00, sha ec1b3cf6ddf2)
  - site_page: https://loro.dev/docs/tutorial/persistence (fetched 2026-08-29T08:45:11.329194+00:00, sha d1cf9c989700)
  - site_page: https://loro.dev/docs (fetched 2026-08-29T08:45:11.316625+00:00, sha e40ca9a08a8e)
  - site_page: https://loro.dev/about (fetched 2026-08-29T08:45:11.320044+00:00, sha 8ee336a7f493)
  - registry_crates: https://crates.io/api/v1/crates/loro (fetched 2026-08-29T08:45:11.331222+00:00, sha 161584a3bf26)
- Data as of 2026-08-30T08:39:29.467469+00:00.
