# y-crdt/y-crdt

Rust port of Yjs

Repository: https://github.com/y-crdt/y-crdt
Canonical: https://ross.abutalabs.com/products/y-crdt
Homepage: https://docs.rs/yrs/
Language: Rust
License: NOASSERTION
License Family: other
Topics: yjs, crdt, rust
Last push: 2026-08-26T09:53:30+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2164, "days_push": 7, "days_rel": 11, "gap_med": 39, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2150, forks 137 (observed 2026-08-28T04:06:19.243963+00:00)

## What it is
Yrs is a high-performance Rust implementation of the Yjs CRDT algorithm and protocol, providing shared data types that automatically sync between peers. It offers cross-language bindings (C FFI, WebAssembly, Python, Ruby, .NET, Swift, Kotlin) while maintaining binary protocol compatibility with Yjs.

## Use cases
- build collaborative document editing with real-time sync
- port Yjs CRDT to Rust or native backends
- sync shared state between peers offline-first
- embed CRDTs in Python, Ruby, .NET, Swift, or Kotlin apps
- implement a collaborative backend server compatible with Yjs clients
- share data structures across platforms via WebAssembly

## When to choose
- you need Yjs-compatible CRDTs with native performance in Rust or other languages
- you're building multi-user real-time applications with offline support
- you want a battle-tested CRDT core with bindings for many languages

## When to avoid
- you only need CRDTs in JavaScript - use Yjs directly
- you need a turnkey collaborative editor rather than a CRDT library
- you need a simple last-write-wins sync without CRDT complexity

## Facets
- artifact type: library
- maturity: active
- function: serialization, concurrency, developer-tools
- domain: microservices, developer-tools, cross-platform
- platform: rust, wasm, cross-platform, python, jvm, dotnet
- tags: crdt, yjs-compatible, collaborative-editing, real-time-sync, shared-types, ffi-bindings, real-time, swift

## Member repositories
- y-crdt/y-crdt (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:19.243963+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-30T02:50:58.490285+00:00, confidence not recorded.
  - readme: https://github.com/y-crdt/y-crdt (fetched 2026-08-28T04:06:19.243963+00:00, sha e8ab3b131862)
  - homepage: https://docs.rs/yrs/ (fetched 2026-08-29T10:31:03.004954+00:00, sha cd2c06911f05)
  - site_page: https://docs.rs/ (fetched 2026-08-29T10:31:03.009469+00:00, sha d6ab278dde96)
  - site_page: https://docs.rs/crate/yrs/latest (fetched 2026-08-29T10:31:03.011269+00:00, sha ec669c5aef73)
  - site_page: https://docs.rs/crate/yrs/latest/features (fetched 2026-08-29T10:31:03.013478+00:00, sha 7438b2c5c14e)
  - site_page: https://docs.rs/about (fetched 2026-08-29T10:31:03.015647+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T10:31:03.017881+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T10:31:03.020016+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T10:31:03.021935+00:00, sha 0dcdccb2b2b2)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T10:31:03.023695+00:00, sha 1b1efd93105f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
