Hacker News new | ask | show | jobs
by jchanimal 1159 days ago
The getting started docs to write an app basically look like: npm install @fireproof/core and import it to your page (or the React hook -- which I skipped for this app but use in other examples). Once connected you open a database and put and get documents. You can write CouchDB-style map indexes and all storage is content addressed and encrypted. Encrypted databases can be replicated to untrusted storage over HTTP, UCAN and IPFS, or synced with trusted collaborators via WebRTC or Socket Supply. The whole thing runs in the browser or server and relies on Merkle CRDT proofs for data verifiabiliy and lightwight diffs.