Fireproof Database

Lightweight embedded document database with encrypted live sync for browser apps

Key Features

🌐

Run Anywhere

Bundle UI, data, and logic in one file. Works in any JavaScript environment.

Real-Time & Offline-First

Automatic persistence and live queries, runs in the browser with no loading states.

🔐

Cryptographic Ledger

Tamper-evident change history with Merkle CRDTs for deterministic merges.

⚛️

React Hooks

Built-in React hooks for live collaboration with useLiveQuery and useDocument.

Installation

npm install use-fireproof

Works with ESM.sh:

import { useFireproof } from "https://esm.sh/use-fireproof"

Quick Example

Live Demo

Recent Documents