Girl Math
A solo-built budgeting app that turns a year of messy bank statements into one honest number: what's actually yours to spend this month.
- Context
- Personal project · personal finance app
- Period
- 2026 – present
- Categories
- Data ProductsAnalyticsIntegrationAutomation
Executive Summary
Girl Math answers one question: how much can I actually spend this month, after everything my money already has to do? I built it for myself first, then for friends who kept asking the same thing. It reads a year of bank and card statements at once, reconciles them into real calendar months, and reports the number most budgeting apps never show: what's genuinely free to spend. It's live at girlmathing.com, with a public demo at girlmathing.com/demo.
- 226
- automated tests
- ~22k
- lines of TypeScript
- 5
- bank statement formats read
- 0
- servers (data stays in the browser)
The Problem
Most budgeting apps are good at telling you what you spent and bad at telling you what's left, and the 'what's left' is where real life hides. Card statement cycles don't line up with calendar months. You front money for a group dinner and it looks like your spending until the Venmo lands. Some bills arrive only twice a year, like property tax, so a quiet month lies to you. Savings and investing targets quietly claim part of the balance too. Add it all up and the number in your banking app is almost never the number you can actually spend.
How the Number Works
The core calculation is simple to state and careful to compute. Actually available = income (received plus expected paychecks), minus my share of spending, minus money fronted for friends that hasn't been repaid, minus bills set aside, minus saving, minus investing.
Two rules keep it honest. A purchase counts in the calendar month it was made, not when the statement happens to post. And a friend's payback belongs to the month of the original purchase, so a repayment that lands today never inflates today's spending money.
Architecture
Everything lives in one versioned store in the browser. Imported transactions are never rewritten; my categories, splits, and edits are stored alongside them, so re-importing statements and undoing changes are both safe. All of the money math lives in one pure engine layer that works in whole cents, and the screens never do arithmetic themselves. They ask the engine and display the answer. It's built with React 19, TypeScript, and Vite, hosted on Vercel, and deploys automatically from GitHub.
Data Import & Reconciliation
The import is built for how statements actually arrive: all at once, in a pile. Drop a year of PDFs and CSVs in together and it sorts them out.
- Detects the bank, account, and card automatically across Chase, Capital One, Bank of America, SchoolsFirst, and Rocket Money exports.
- Merges overlapping statements and skips duplicates, without losing two identical same-day charges that are genuinely separate.
- Reads live bank data through SimpleFIN, called straight from the browser as a read-only sync.
- Matches Amazon order history to charges, so a single Amazon total can show the items behind it and split by category.
- Recognizes card payments and transfers between my own accounts, so they aren't double-counted as spending.
Features
- Month view with a daily allowance and a running total of what's left.
- Paybacks ledger that matches what friends owe against incoming Venmo and Zelle deposits.
- Split a bill from a receipt photo, with on-device OCR splitting tax, tip, and fees by what each person actually ordered.
- Goals, including Roth IRA tracking by tax year.
- Spending insights: 3-, 6-, and 12-month averages, subscription detection, and cut-back ideas.
- A 'Can I afford this?' simulation with a cash-until-payday check.
- Debts and loans with a payoff simulation.
- Four themes.
Privacy & Security
Privacy isn't a setting in Girl Math; it's the architecture. There is no backend to leak.
- Statement PDFs and receipt photos are read on the device and never uploaded.
- A strict Content Security Policy locks down what the page can load and run.
- Backups are files the user keeps, with optional automatic backup to a folder they choose.
- Bank-sync credentials stay in the browser and are kept out of backups.
- When a code-execution advisory was published for pdf.js (the library that reads PDFs), I patched it promptly.
AI in the Loop
I built Girl Math with Claude Code as a pair programmer, and I owned the product. The question it answers, how my money actually moves, and every money rule are mine: paybacks belong to the purchase month, maxing out my Roth IRA every year is non-negotiable, transfers aren't spending. Claude Code wrote and tested code alongside me, and every change to the money math started with a failing test. Two independent AI code reviews ran over the result, with every finding fixed in small, tested batches.
Limitations & Responsible Framing
Skills Demonstrated
- React, TypeScript, and Vite for a fully client-side application
- Financial-data modeling and reconciliation in whole cents, isolated in a pure engine layer
- PDF and CSV parsing with multi-bank format detection and duplicate handling
- On-device OCR for receipt splitting
- Privacy engineering: no backend, strict CSP, user-held backups
- Test-driven development (226 automated tests) with AI pair programming and independent code review
- Product design: defining the one question and the rules that make the answer honest