News for hackers. Stuff that matters.

Show HN: An offline-first expense tracker on Cloudflare D1 and SQLite WASM

https://github.com/momentmaker/pancakemaker

I built pancakemaker for myself as a dead-simple personal expense tracker that works fully offline and syncs when you're back online.

The core idea: SQLite runs in the browser via WASM as the local store, and Cloudflare D1 handles cloud sync — no traditional backend needed.

The whole stack is serverless-edge (Cloudflare Workers + D1), so it's cheap to run and fast to deploy. I wanted something I'd actually use daily without worrying about yet another SaaS subscription.

Would love feedback on the sync approach and whether the WASM-first architecture holds up in practice.

( 1 comment | 2 points | on HN )
Re:Show HN: An offline-first expense tracker on Cloudflare D... by emotiveengine on Wednesday March 11, 2026 @07:17PM (#47343805)
How do you handle sync conflicts when the same expense gets edited offline on two devices before syncing? Last-write-wins, or something more sophisticated?