Hans Jarett Ong
Lab Note2026

Budget Tracker PWA

An offline-first personal budgeting PWA built for setting per-category budgets up front—with savings goals, bilingual EN/JA on-device receipt OCR, and AES-GCM encrypted backups.

PWAVanilla JSOffline-FirstTesseract.jsAntigravity

Most personal budgeting apps work retroactively: you log expenses and the app simply adds them up after the fact. What I actually wanted was a clean, fast tool that lets me set explicit monthly budgets per category at the start of the month—showing real-time consumption and remaining allowance at a glance—without requiring an account, subscription, or cloud database.

This was also my first vibe-coded project with Antigravity, and I was genuinely surprised by how capable it was: the core offline-first PWA came together cleanly in essentially one shot, giving me a working app I could immediately install to my phone home screen and refine with features tailored for daily life in Japan.

Budget Tracker PWA dashboard showing monthly spending limit, savings tracker, and per-category budget bars

Key Features

  • Upfront Per-Category Budget Limits: Define planned monthly limits per category up front with color-coded progress bars tracking consumption and remaining allowance in real time.
  • Savings Goals & Sinking Funds: Track multi-month savings targets alongside everyday spending with visual progress bars, target dates, and auto-calculated monthly pace guidance—while keeping total monthly cash outflow clear.
  • On-Device Bilingual Receipt OCR: Capture receipt photos directly from mobile and run local WebAssembly OCR (Tesseract.js v5, eng+jpn) in a Web Worker to extract totals (¥, $, €, £, ₱), dates, merchants, and suggested categories with zero cloud API uploads.
  • 100% Local, Offline-First PWA: Built with zero-framework vanilla HTML/CSS/JS, full service worker caching (sw.js), persistent localStorage (navigator.storage.persist()), a custom MoneyNote-style numpad, and JPY (¥) default multi-currency formatting.
  • Zero-Knowledge Encrypted Backups: Optional serverless Google Drive sync, iCloud/Dropbox synced folder saves, and JSON/CSV exports protected with client-side AES-GCM 256-bit encryption via the Web Cryptography API (crypto.subtle).

Try the live app directly at budget.hansjarettong.com (all data stays strictly in your own browser) or inspect the source on GitHub.