# Operational-Transformation/ot.js

Repository: https://github.com/Operational-Transformation/ot.js
Canonical: https://ross.abutalabs.com/products/otjs
Language: JavaScript
License: MIT
License Family: permissive
Topics: operational-transformation
Last push: 2022-06-29T16:29:59+00:00

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

## Adoption (not part of the score)
Stars 2134, forks 221 (observed 2026-08-28T04:06:17.428724+00:00)

## What it is
A JavaScript implementation of Operational Transformation (OT) for building real-time collaborative text editing. It integrates with CodeMirror >= 4 and includes documentation and a visualization of the algorithm.

## Use cases
- build a collaborative text editor with real-time sync
- implement operational transformation in JavaScript
- sync concurrent edits across multiple clients
- understand how OT algorithms work with a visualization
- add multi-user editing to a CodeMirror-based editor

## When to choose
- you need OT-based collaborative editing on top of CodeMirror 4+
- you want a small, well-known JavaScript OT library with an algorithm visualization

## When to avoid
- you need an actively maintained library with recent fixes
- you want CRDTs instead of OT or use an editor other than CodeMirror

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, developer-tools
- domain: web-development, developer-tools
- platform: browser
- tags: operational-transformation, collaborative-editing, real-time-collaboration, codemirror, real-time, nodejs, javascript

## Member repositories
- Operational-Transformation/ot.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:17.428724+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:51:56.138361+00:00, confidence not recorded.
  - readme: https://github.com/Operational-Transformation/ot.js (fetched 2026-08-28T04:06:17.428724+00:00, sha 13e8b97ecf7e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
