# wzhudev/reverse-linear-sync-engine

A reverse engineering of Linear's sync engine. Endorsed by Linear CTO.

Repository: https://github.com/wzhudev/reverse-linear-sync-engine
Canonical: https://ross.abutalabs.com/products/reverse-linear-sync-engine
Homepage: https://github.com/wzhudev
Language: JavaScript
License Family: other
Topics: data-sync, reverse-engineering, linear, collaboration, sync-engine
Last push: 2025-06-02T07:16:37+00:00

## Health v2 (maintenance only)
Score: 35/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 24, release rhythm 35, longevity 58
- inputs: {"age_days": 824, "days_push": 457, "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 2147, forks 127 (observed 2026-08-28T04:06:18.876132+00:00)

## What it is
A detailed reverse-engineering write-up of Linear's data sync engine, endorsed by Linear's CTO as more complete than internal documentation. It explains how Linear achieves real-time collaboration, offline support, and partial syncing without OT or CRDTs.

## Use cases
- understand how Linear syncs data in real time
- learn alternatives to OT and CRDTs for collaboration
- design a sync engine for offline-first apps
- study partial syncing with permission controls
- research how collaborative software handles conflicts
- compare last-writer-wins vs OT vs CRDT approaches

## When to choose
- you are designing or evaluating a data sync engine for a collaborative app
- you want a deep, practitioner-verified explanation of Linear's architecture
- OT/CRDT libraries feel too complex or heavyweight for your data model

## When to avoid
- you need ready-to-use sync software or a library to drop into your app
- you want a formal academic treatment with proofs
- you need a maintained, licensed codebase - this is a document with no license

## Facets
- artifact type: learning-resource
- maturity: stable
- function: documentation, developer-tools
- domain: microservices, developer-tools
- platform: cross-platform
- tags: sync-engine, data-sync, operational-transformation, crdt, offline-first, collaboration, reverse-engineering, linear, write-up, real-time, algorithms, web-server

## Member repositories
- wzhudev/reverse-linear-sync-engine (main) score 35

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.876132+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:09.061330+00:00, confidence not recorded.
  - readme: https://github.com/wzhudev/reverse-linear-sync-engine (fetched 2026-08-28T04:06:18.876132+00:00, sha 1035b2037fd0)
  - homepage: https://github.com/wzhudev (fetched 2026-08-29T10:31:19.724550+00:00, sha d1b53646058a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
