Fi

Fireproof – local-first database with Git-like encrypted sync

Hacker News

Fireproof – local-first database with Git-like encrypted sync

Hi, HN! As a cofounder of Couchbase, I pioneered mobile sync, and I’ve always wanted to bring the speed and reliability of local-first data to the web, incubating PouchDB among other efforts. I learned the constraints of real world financial applications at McKinsey & Company FinLab, and Merkle integrity research at Protocol Labs taught me smart contract data structures. As part of the JavaScript community (and early hosting provider for NPM) I’ve been waiting, and now with the availability of APIs like Passkeys and Origin Private Filesystem, I’m happy to say the browser is ready to support embedded databases. Front-ends are a lot easier to write when your database handles live sync for you, but the existing solutions rely on heavyweight cloud APIs instead of putting the smarts at the edge, where it belongs. I started from a different set of constraints, and arrived at a lightweight embedded database that uses a git-like data model to offer cryptographic causal consistency across browsers, edge functions, and anywhere TypeScript runs. It’s designed to make building full-featured apps as simple as calling `db.put({ hello: "world" })` and syncing them as easy as calling `connect(db, remote)`. People are using Fireproof for AI character chat[1], personal finance[2], and hedge funds[3], and we aim to be simple enough for novice coders to build enterprise-critical apps. Fireproof makes product owners dangerous, because just a little bit of code can define an application’s workflow and data model. See the code sample below. The reactive APIs[4] are designed for live collaboration so your user interfaces update automatically, making it an easy way to add query collaboration to legacy dashboards, or write new interactive tools for your team. Merkle CRDTs[5] provide multi-writer safety while maintaining tamperproof data provenance, conflict tracking, and deterministic merges. The storage engine writes content-addressed encrypted files that can be synced via commodity backends like S3 or Cloudflare[], without sacrificing data integrity. Our contributors include legends like Damien Katz, Meno Abels, Mikeal Rogers, and Alan Shaw. Fireproof is open source (Apache/MIT) and we know there are rough edges, so we hope this post stirs up collaborators![6] Please `npm install @fireproof/core` and give us feedback[7]. We are on the stable side of beta, so it’s a great time for the adventurous to join. I’m excited to see all the apps people write now that it’s easy! [1] https://github.com/fireproof-storage/catbot/tree/main [2] https://fireproof.storage/posts/quickcheck:-print-checks-at-... [3] https://fireproof.storage/posts/contributor-spotlight:-danie... [4] https://use-fireproof.com/docs/react-tutorial [5] https://fireproof.storage/posts/remote-access-crdt-wrapped-m... [6] https://github.com/fireproof-storage/fireproof/issues [7] https://discord.gg/DbSXGqvxFc

Share card

Actual performance

99points
48comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, apps, user · Missing: mac, agents, macos
92%92% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
89%89% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: excited, exist, open source · Missing: https docs, just released, lua
77%77% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: personal, apps, way · Missing: mobile apps, ios, entrepreneurs
65%65% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoStrong fit for a featured deal · Strong signals: host, interface · Missing: plus, platform, intuitive
51%51% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr, active · Missing: mrr, revenue, profit
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat, crypto, smart · Missing: web3, cryptocurrency, make money
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Sy
Sync your keys and configs via an encrypted Git65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sync your keys and configs via an encrypted Git

Hacker News14
SQ
SQLiteChangesetSync – Git-Like Sync for SQLite Databases58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SQLiteChangesetSync – Git-Like Sync for SQLite Databases

Hacker News5
Pg
Pgsh branches your Postgres database like Git71%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pgsh branches your Postgres database like Git

Hacker News2
Si
Sirdb – simple Git diffable toy database on the filesystem83%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sirdb – simple Git diffable toy database on the filesystem

Hacker News7
A
A Distributed Database on IPFS with MongoDB-Like Functions76%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Distributed Database on IPFS with MongoDB-Like Functions

Hacker News5
Si
Simple "Perforce – Git" sync53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple "Perforce – Git" sync

Hacker News1
A
A simple pastebin/gist like web service, with Git as its database55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A simple pastebin/gist like web service, with Git as its database

Hacker News1
En
Ensure that a local Git clone is in sync with a remote50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ensure that a local Git clone is in sync with a remote

Hacker News2
Sy
Sync GitHub Gists to Local Git Repo53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sync GitHub Gists to Local Git Repo

Hacker News3
Os
Osync – A Git and rsync tool for local syncing and backups42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Osync – A Git and rsync tool for local syncing and backups

Hacker News3