# rocicorp/replicache

Realtime Sync for Any Backend Stack

Repository: https://github.com/rocicorp/replicache
Canonical: https://ross.abutalabs.com/products/replicache
Homepage: https://doc.replicache.dev
License Family: other
Topics: sync, offline, javascript, typescript, offline-first, multiplayer, realtime, collaborative-editing, replicache, replicache-js-sdk
Archived: true
Last push: 2022-05-07T01:42:10+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2290, "days_push": 1580, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1172, forks 37 (observed 2026-08-28T04:03:51.674246+00:00)

## What it is
Replicache is a client-side sync framework for building realtime, offline-capable web applications on top of any backend stack. It provides optimistic mutations, realtime subscriptions, and automatic synchronization between browser-local data and a server.

## Use cases
- build realtime collaborative apps like shared todo lists or whiteboards
- add offline support to a web app with automatic background sync
- implement optimistic UI updates that roll back when server mutations fail
- sync client state across browsers in a multiplayer app
- add instant local-first data mutations to an existing backend
- build a Figma-like multiplayer experience without rewriting the backend

## When to choose
- you need realtime collaboration or offline-first behavior in a web app
- you want to keep your existing backend stack and just add a sync layer
- you want optimistic mutations with automatic rollback on failure

## When to avoid
- your app is simple CRUD with no realtime or offline requirements
- you need a fully managed backend sync service rather than a client framework
- you require a permissive open-source license - Replicache uses a custom commercial-friendly-but-proprietary license

## Facets
- artifact type: library
- maturity: active
- function: state-management, caching, websocket, http-client
- domain: web-development, frontend, microservices
- platform: browser
- tags: offline-first, realtime-sync, multiplayer, collaborative-editing, optimistic-ui, sync-engine, real-time, javascript, typescript, nodejs, web

## Member repositories
- rocicorp/replicache (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.674246+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-30T06:28:28.300357+00:00, confidence not recorded.
  - readme: https://github.com/rocicorp/replicache (fetched 2026-08-28T04:03:51.674246+00:00, sha c613cde935af)
  - homepage: https://doc.replicache.dev (fetched 2026-08-29T12:34:13.788621+00:00, sha 0ed24e5a66c1)
  - registry_npm: https://registry.npmjs.org/replicache (fetched 2026-08-29T12:34:13.790931+00:00, sha 6a2587ead0d5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
