git404hub

what is rxdb fr?

pubkey/rxdb — explained in plain English

Analysis updated 2026-05-18

23,188TypeScriptAudience · developerComplexity · 3/5LicenseSetup · easy

tl;dr

A JavaScript database for offline-first apps that syncs with servers and automatically updates your UI when data changes.

vibe map

mindmap
  root((RxDB))
    What it does
      Offline-first storage
      Real-time sync
      Auto UI updates
    Storage backends
      IndexedDB
      SQLite
      LocalStorage
      In-memory
    Sync options
      GraphQL
      CouchDB
      Supabase
      WebRTC
    Use cases
      Collaborative apps
      Live dashboards
      Mobile offline apps
    Platforms
      Browser
      React Native
      Electron
      Node.js

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Build a collaborative document editor that works offline and syncs changes when users reconnect.

VIBE 2

Create a mobile app with local data storage that automatically updates across multiple devices.

VIBE 3

Build a real-time dashboard that refreshes instantly when underlying data changes without manual re-fetching.

VIBE 4

Develop a peer-to-peer app using WebRTC where users can share and sync data directly without a central server.

what's the stack?

TypeScriptJavaScriptIndexedDBSQLiteGraphQLCouchDBSupabaseFirestore

how it stacks up fr

pubkey/rxdblouislam/dockgeapify/crawlee
Stars23,18823,09523,088
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyeasymoderate
Complexity3/52/53/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min
Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.

in plain english

RxDB (Reactive Database) is a local-first JavaScript database designed for building real-time applications that work offline and sync with a server when connected. "Local-first" means the app stores data directly in the user's browser or device and remains fully functional without an internet connection, syncing changes when connectivity is available. The "reactive" part means your application can subscribe to data changes like a live feed, when a query result changes because data was updated, your UI automatically refreshes without you having to manually re-fetch. This makes building real-time collaborative features or live-updating dashboards much simpler. RxDB supports a variety of storage backends so you can use the same database code across different environments: browser storage (IndexedDB, LocalStorage), SQLite for mobile and desktop apps, in-memory storage for testing, and more. The database code stays the same regardless of where it runs, browser, Node.js, React Native, Electron desktop apps, or mobile via Capacitor. For syncing data with a server, it has built-in plugins for many popular backends including GraphQL, CouchDB, Supabase, Firestore, and WebRTC (peer-to-peer). It also handles conflict resolution when multiple users edit the same data offline. You would use RxDB when building a JavaScript app that needs offline support, real-time updates, or multi-device sync. It is written in TypeScript.

prompts (copy fr)

prompt 1
Show me how to set up RxDB with IndexedDB storage and create a simple collection to store user notes.
prompt 2
How do I subscribe to query changes in RxDB so my React component re-renders automatically when data updates?
prompt 3
Set up RxDB with Supabase sync so my offline changes automatically push to the server when I reconnect.
prompt 4
Create a conflict resolution strategy in RxDB for when two users edit the same document offline.
prompt 5
How do I use RxDB in a React Native app with SQLite as the storage backend?

Frequently asked questions

what is rxdb fr?

A JavaScript database for offline-first apps that syncs with servers and automatically updates your UI when data changes.

What language is rxdb written in?

Mainly TypeScript. The stack also includes TypeScript, JavaScript, IndexedDB.

What license does rxdb use?

Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.

How hard is rxdb to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is rxdb for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.