# josephg/diamond-types

The world's fastest CRDT. WIP.

Repository: https://github.com/josephg/diamond-types
Canonical: https://ross.abutalabs.com/products/diamond-types
Language: Rust
License Family: other
Topics: crdt, collaborative-editing
Last push: 2026-07-31T06:42:41+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 2231, "days_push": 33, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1834, forks 42 (observed 2026-08-28T04:05:42.525346+00:00)

## What it is
A high-performance Rust CRDT library for concurrent text editing, enabling multiple users to edit shared documents in a P2P network without a central server. It is optimized for speed and interoperable with positional updates via operational transform, with WASM builds for Node.js and browsers.

## Use cases
- build a collaborative text editor with real-time multi-user editing
- sync text documents between peers without a central server
- add CRDT-based offline-first editing to an app
- integrate collaborative editing into a browser or Node.js app via WASM
- bridge CRDT updates with operational-transform-based clients
- benchmark or study high-performance CRDT implementations

## When to choose
- you need extremely fast CRDT performance for plain text editing
- you want serverless P2P collaborative text editing
- you need a Rust CRDT with WASM bindings for web apps
- you need interoperability with operational-transform-based peers

## When to avoid
- you need CRDTs for rich text or structured JSON data (only plain text is supported)
- you need a stable, production-hardened API (the project is WIP and the published crate is outdated)
- you need a license other than ISC or strict licensing guarantees (license metadata is missing on the repo)

## Facets
- artifact type: library
- maturity: experimental
- function: serialization, concurrency, developer-tools
- domain: microservices, text-editors, developer-tools
- platform: rust, cross-platform, wasm, browser
- tags: crdt, collaborative-editing, text-editing, p2p, operational-transform, high-performance, real-time, nodejs

## Member repositories
- josephg/diamond-types (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:42.525346+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-30T03:18:35.940152+00:00, confidence not recorded.
  - readme: https://github.com/josephg/diamond-types (fetched 2026-08-28T04:05:42.525346+00:00, sha 8d79b4a69e43)
- Data as of 2026-08-30T08:39:29.467469+00:00.
