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.
Super fun example of the combination of AI and DB. You want to get back exactly what you put in, use a DB! You want something extrapolated from what you put in, AI is pretty great! Also Fireproof is :fire:
This is awesome! 10/10! Fireproof is a great use of IPFS’s verifiability
Of course serious prompts are more interesting, but you can have a lot of fun by asking it to analyze somomething silly like "candy shaped like Platonic solids for math professors." It'll even tell you when the customer would have no interest in the product.
Also, there is a video if you want to see it in action: https://twitter.com/FireproofStorge/status/16485419508432568...
React devs, to try Fireproof as your app's database, start here: https://fireproof.storage/documentation/usefireproof-hook-fo...