Inspiration

Most built-in expense trackers inside payment or banking apps only offer basic lists and dry statistics, and seeing high spending numbers without context often makes students feel stressed and abandon tracking. As students living and studying in Hong Kong from different regions, we wanted to build Zhang Dou · 帳豆—a friendlier, local-first budgeting companion that turns scattered bills into clear visual feedback, supports currency conversion across regions, and helps students build healthy spending habits without pressure.

What it does

  • Multi-source & OCR expense entry: Supports manual logging as well as importing bills/receipts (such as WeChat Pay, Alipay, Octopus, receipts, and CSV/TXT/PDF files) with review before booking.
  • Budget & color-coded category ratios: Lets students set monthly budgets and category shares, calculates spending ratios per category, and shifts card colors across budget stages—Purple (0–25%, plenty of room), Yellow (25–50%, moderate spending), Green (50–100%, past halfway / nearing limit), and Black (>100%, over budget).
  • Impulse Spending Index: Evaluates spending patterns using signals such as purchase timing and multiple large expenses to help students reflect on impulse purchases[cite: 7, 8].
  • Piggy Bank / Savings & Multi-currency: Allows saving and withdrawing money with a savings goal/piggy bank flow (including returning withdrawn funds to monthly budget tracking), manual exchange-rate conversion across currencies, and Day / Week / Month / Year trend charts.

How we built it

We built Zhang Dou with a local-first web/PWA frontend (HTML, CSS, JavaScript) paired with a Python backend for bill/OCR processing and local browser storage (localStorage with JSON backup/restore). During development, we used VS Code connected with AI coding assistants (DeepSeek and Codex), iterating rapidly by sharing product ideas, UI adjustments, and bug fixes as we shaped the app.

Challenges we ran into

  • Local vs. remote access & tunnels: Early testing relied on a local IP address requiring the same network, and later attempts with a temporary Cloudflare tunnel (trycloudflare.com) ran into connection drops when the host tunnel/service was inactive.
  • OCR & multi-format bill parsing: Handling receipts, screenshots, multi-item long bills, and different file formats reliably—while avoiding over-claiming offline OCR capabilities—required careful parsing rules and review flows.
  • Designing non-intimidating feedback: Balancing clear budget/impulse alerts with an approachable interface so students stay engaged rather than feeling overwhelmed.

Accomplishments that we're proud of

  • Turning fragmented multi-platform bills and cross-region currency needs into one unified iPhone Safari / "Add to Home Screen" experience.
  • Creating an intuitive color-coded budget ratio system (Purple → Yellow → Green → Black) paired with an Impulse Spending Index and trend views.
  • Getting a working end-to-end prototype, tests, and bilingual documentation into our GitHub repository within the hackathon timeframe.

What we learned

  • Clear product framing matters as much as code: translating raw ideas and adjustment feedback into structured prompts and verifiable changes helped our team move fast with AI coding tools in VS Code.
  • Local/temporary tunnel demos are fragile for live judging, so clean setup instructions, reproducible local steps, and reliable fallback materials are essential.

What's next for Zhang Dou · 帳豆

  • Improve deployment stability and hosting reliability so demos and OCR services remain accessible without relying on ephemeral local tunnels.
  • Refine the Impulse Spending Index heuristics, multi-currency workflows, and interactive charts based on real student feedback.
  • Expand documentation and testing to make setup even smoother for new users and judges.

Built With

Share this project:

Updates

Submission history