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/

23.4k
Stars
+645
Gained
2.8%
Growth
TypeScript
Language

💡 Why It Matters

RxDB addresses the challenge of building reactive, local-first NoSQL databases that run on any JavaScript runtime and synchronise with existing backends without vendor lock-in. Unlike traditional client-server databases or offline-first solutions tied to specific cloud providers, RxDB offers a reactive API where UI components can subscribe to granular state changes, enabling efficient real-time applications. Its modular architecture supports multiple storage engines such as IndexedDB, LocalStorage, SQLite, and even FoundationDB, making it adaptable across browsers, Node.js, Electron, and mobile frameworks like Ionic and Angular. With over 23,000 stars and a last commit in late 2026, it is mature and stable, though growth is slow and steady rather than rapid. It is not suitable for teams that require a fully managed backend database service or prefer simpler offline caching solutions without the complexity of reactive data flows; in those cases, alternatives like PouchDB or Firebase might be better fits.

🎯 When to Use

Choose RxDB when you need a client-side database with reactive real-time updates and flexible replication to existing backend services without vendor lock-in. If your application requires straightforward offline data sync without reactive subscriptions, consider PouchDB or Firebase for easier setup and managed backend integration.

👥 Team Fit & Use Cases

RxDB is typically used in complex web or mobile apps needing local-first data persistence with real-time sync, such as collaborative document editors, offline-capable dashboards, or messaging clients. It fits teams building apps with Angular, Ionic, or Electron that demand fine-grained reactive UI updates tied directly to local database changes.

🎭 Best For

🏷️ Topics & Ecosystem

angular browser-database couchdb crdt database firebase graphql indexeddb ionic local-first localstorage nodejs nosql postgres pouchdb react-native realtime realtime-database rxdb sqlite

📊 Activity

Latest commit: 2026-11-23. Over the past 373 days, this repository gained 645 stars (+2.8% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.