I just shared this on Shawn's Community and thought it might be helpful here as well!😊
I created a personal app using Claude Code that automatically works out my monthly budget and balances in real time. i have to ledger every rand I spend and it does the calculations. i fed it(Claude Code) my banking statements. this is literally saving me money since i have been slowly bleeding money without realizing it when i just spent, -and then entered a state of shock 2 weeks out from pay-day!😁 - I will paste the prompt here if it will be helpful for anyone. You can copy this prompt into Claude (or ChatGPT/any capable AI) and it will build you a private, offline, single-file debt & spending tracker you can open in your browser. Nothing you type into it ever leaves your computer — there's no server, no login, no cloud sync. It saves to your browser's local storage only.
---
PROMPT (copy everything below):
Build me a single self-contained HTML file (one file, inline CSS and JavaScript, no external libraries or network calls) that is a private, offline personal debt-and-spending tracker called "Freedom." It must work entirely in the browser using localStorage — no backend, no login, no data ever leaves the device.
Include these tabs/sections:
1. **Dashboard** — at-a-glance stats: total debt, free cash per month (income minus budget minus debt minimums), a "debt-free in X months" projection, overdraft room if applicable, a daily logging streak counter, and total monthly subscription cost. Show plain-language warning notes when: spending exceeds income, an overdraft/credit limit is nearly maxed, debt payments don't cover the interest (balance will never shrink), or several days have passed without a new ledger entry.
2. **Ledger** — a simple form to log every rand/dollar spent or received: date, who/what, amount, category (groceries, fuel, eating out, subscriptions, debt payment, etc.), and optionally "how I felt when I spent it" (planned, stressed, bored, celebrating, etc.). Include a monthly reconciliation feature: enter the actual amount that left your bank account (from your statement) and compare it to what you logged — the gap is the "leak" you didn't track.
3. **Leaks** — automatically surface spending patterns from the ledger: biggest merchants/categories, repeat purchases (candidates for "this should be a tracked subscription"), how much you spend "small" (under a threshold) vs big purchases, and a breakdown of spending by emotional state if logged.
4. **Subscriptions** — track recurring charges (monthly/yearly/quarterly/weekly), normalize them all to a true monthly and yearly cost, flag renewals coming up in the next 30 days, and let me export a calendar (.ics) file with a reminder 21 days before each renewal so I can cancel in time.
5. **Debts** — a table of every debt account (name, balance, interest rate, minimum payment, credit limit). Calculate two payoff strategies using any extra free cash: "avalanche" (highest interest rate first) and "snowball" (smallest balance first), each showing months to debt-free and total interest paid, so I can compare them.
6. **Budget** — income sources and a zero-based monthly budget grouped into categories like Giving, Fixed costs, Living costs, Kids, Savings. Show income minus budgeted spending minus debt minimums = money left to attack debt.
7. **Business** (optional/skippable) — a simple ledger for a side business or hustle, tracking revenue in vs. costs out, kept completely separate from household money, so I can see whether the business is self-funding or draining my personal finances.
8. **Mindset** — a "72-hour rule" tool: when I want to buy something non-essential, I log it here with cost and reason, and it becomes "decidable" only after 72 hours have passed — encouraging we pause before impulse purchases. Track how much I saved by walking away from parked items. Include a spot for my personal "why" (the reason I'm doing this) and a simple weekly check-in log.
9. **Plan** — let me set a target number of months to be debt-free, show whether I'm on track given my current extra payment amount, and project what I could do with that money once debts are cleared (savings/investing, contributions only, no return assumed — just the discipline of continuing the habit).
Also include:
- A way to export all my data as a JSON backup file, and import it back in (with an option to merge data from a second device without losing anything, or fully replace what's stored).
- Clean, minimalist styling that supports both dark and light mode automatically based on system preference.
- All amounts should default to zero / empty — this is a template for someone else to fill in with their own numbers, not pre-filled with any example person's real financial data.
Make it in one HTML file I can just open directly in a browser or host anywhere for free (e.g. Netlify).