Live data from Hacker News

Show HN: Fireproof – local-first database with Git-like encrypted sync

fireproof.storage

11–20 of 50 posts

Re: Show HN: Fireproof – local-first database with Git-like encrypted sync

#11
Fireproof engineer here, I come from the backend engineer perspective, so I thought I'd share some of my personal hacks on Fireproof:

Fireplace - tooling to deploy Fireproof apps and sync data across your Tailscale network. Once all the computers you care about are on your tailnet, of course you want all the browsers on the tailnet to easily sync with one another.

Go Implementation - Fireproof bills itself as a realtime database that runs anywhere, and I want to make sure that includes inside your Go applications. This will allow your Go application to become a full-fledged reader/writer of the Fireproof ledger.

I'm excited to see what other people want to build and answer any questions.

Re: Show HN: Fireproof – local-first database with Git-like encrypted sync

#14
Here are some apps people have built, for inspiration:

* Bloopernet Drum Machine: https://news.ycombinator.com/item?id=42177005

* Slack style team chat https://firehouse-chat.jchris.partykit.dev/

* PartKit Cloudflare https://blog.partykit.io/posts/fireproof-database-connector

Re: Show HN: Fireproof – local-first database with Git-like encrypted sync

#15
post #13

One of my favorite use cases for Fireproof is storing and searching across vector embeddings. It can act as a RAG for LLMs, operating on the backend for all clients, and/or the frontend for customized or offline scenarios.

Yeah, that seems like an ideal application for Fireproof. I just built a RAG application for cannabis retail data and we could have benefited from some of the realtime support.

Re: Show HN: Fireproof – local-first database with Git-like encrypted sync

#17

This looks really promising, this should run in any web-like environment right? Specifically it might be interesting to build a Socket App with this ( https://github.com/socketsupply/socket )

Thanks -- we got hello world with Socket, but there's some interesting open source work we'll need to do to support peers acting as servers and take full advantage of the network.

https://github.com/fireproof-storage/hello-socket-fireproof

If anyone wants to join the effort, the semantics we are talking about are also aligned with WebRTC delivery, so you'd enable a bunch of p2p topologies with your contribution.

Re: Show HN: Fireproof – local-first database with Git-like encrypted sync

#18
I had recently been experimenting with pouch/couchdb, and got it working locally, then came across a post on reddit about Fireproof. I really liked how it sounded - like the evolution of pouch/couch.

So I set it up on a node app - it works great locally -

  import { fireproof } from '@fireproof/core'

  const db = fireproof(dbname)

  db.put(doc)

  async read(id) {
    if (id) return await db.get(id)
    return await db.allDocs()
  }
Then I wanted to sync the data to the cloud - just the simplest thing possible, but I got lost in all the connector options and descriptions. I tried setting up PartyKit, but got bogged down in it all and eventually went on to something else.

So it would be great if the home page included a simple demo with a connector - Amazon S3 or PartyKit - including setting up the cloud db.

Thanks, and good luck with everything - it looks amazing...

(side note: HackerNews doesn't let you format code with ``` ??)

Re: Show HN: Fireproof – local-first database with Git-like encrypted sync

#19

Creator of Apache CouchDB here. Fireproof is a very clever system for building secure, collaborative apps. Your apps can work offline and when connected automatically sync changes to local storage and display them immediately to the UI. It has much of that same CouchDB magic with almost no complexity or headache on the backend. Very coo…errr…hot!

User of Couchdb for similar use case...been keeping up to date on a parallel branch of my solution using fireproof instead of couch. Still early, but great potential...stumbled onto fireproof because I was about to write an adapter for couch (well Pouch actually, but same same) to replicate in a similar manner to fireproof.

Re: Show HN: Fireproof – local-first database with Git-like encrypted sync

#20

I had recently been experimenting with pouch/couchdb, and got it working locally, then came across a post on reddit about Fireproof. I really liked how it sounded - like the evolution of pouch/couch. So I set it up on a node app - it works great locally - import { fireproof } from '@fireproof/core' const db = fireproof(dbname) db.put(doc) async read(id) { if (id) return await db.get(id) return await db.allDocs() } Th…

Thanks for the feedback. That is a bridge we are crossing now. We started with open source backends for maximum coverage, and are standing up Fireproof Cloud now as the easy default. If you click "inspect data" in the demo CodePen app, it will show you a live replication in our dashboard.

We'll be adding auth and sharing controls soon, so you should be able to build basic apps with just Fireproof and an HTML host.

Post reply on HN