# pubkey/rxdb

The local-first database that runs on every JS runtime and replicates with your existing backend - no vendor, no lock-in - https://rxdb.info/

Repository: https://github.com/pubkey/rxdb
Canonical: https://ross.abutalabs.com/products/rxdb
Homepage: https://rxdb.info/
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: database, nosql, nodejs, couchdb, react-native, pouchdb, realtime-database, realtime, graphql, rxdb, firebase, angular, indexeddb, crdt, browser-database, local-first, ionic, localstorage, sqlite, postgres
Last push: 2026-08-27T00:19:24+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 3561, "days_push": 7, "days_rel": 13, "gap_med": 10, "n_releases_24m": 44}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 23368, forks 1175 (observed 2026-08-28T04:11:34.766396+00:00)

## What it is
RxDB is a local-first, reactive NoSQL database for JavaScript applications that runs in browsers, mobile apps, desktop apps, and servers. It supports observable realtime queries and replication with many backends such as CouchDB, GraphQL, Firebase, Supabase, MongoDB, and cloud storage services.

## Use cases
- build offline-first apps that sync when back online
- store and query data locally in the browser with zero latency
- add realtime reactive queries to a UI framework like React or Angular
- sync client data with an existing backend like CouchDB, Supabase, or MongoDB
- build cross-device apps without hosting a backend using Google Drive or OneDrive sync
- run a persistent local database in React Native, Electron, or Capacitor apps

## When to choose
- you need a local-first or offline-capable JavaScript app with realtime UI updates
- you want client-side data storage that replicates with your existing backend without vendor lock-in
- you need one database that works across browser, mobile, desktop, and Node.js runtimes

## When to avoid
- you need a server-side relational database with complex SQL joins as the primary store
- your project requires only the free open-source plugins but needs premium storages like SQLite or OPFS
- you are not working in a JavaScript runtime

## Facets
- artifact type: library
- maturity: active
- function: database, orm, caching, websocket, graphql, state-management, plugin-system, search-engine, vector-database
- domain: databases, web-development, frontend, mobile-development, cross-platform, developer-tools
- platform: browser, cross-platform, wasm, bun
- tags: local-first, nosql, reactive-database, offline-first, realtime-sync, crdt, indexeddb, sqlite, replication, typescript, real-time, nodejs, electron, mobile, desktop, web-server, deno

## Member repositories
- pubkey/rxdb (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:34.766396+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-29T16:56:44.303819+00:00, confidence not recorded.
  - readme: https://github.com/pubkey/rxdb (fetched 2026-08-28T04:11:34.766396+00:00, sha e31a0b9380a4)
  - homepage: https://rxdb.info/ (fetched 2026-08-29T07:54:47.720615+00:00, sha 9cf73f98ce18)
  - site_page: https://rxdb.info/quickstart.html (fetched 2026-08-29T07:54:47.744131+00:00, sha dad6d645b4b5)
  - site_page: https://rxdb.info/overview.html (fetched 2026-08-29T07:54:47.739169+00:00, sha 7bcf3cbdc93c)
  - site_page: https://rxdb.info/premium (fetched 2026-08-29T07:54:47.741297+00:00, sha 7e14145ce21b)
  - site_page: https://rxdb.info/releases/17.0.0.html (fetched 2026-08-29T07:54:47.746663+00:00, sha cedb879ea723)
- Data as of 2026-08-30T08:39:29.467469+00:00.
