-
-
Landing screen with one-click Sample Statement audit and zero-upload pledge.
-
Audited sample statement: 9 subscriptions ($1,835.40/yr) and 2 silent price hikes.
-
Responsive 390px mobile view with expanded raw charges and 44px+ tap targets.
-
Price-hike filter active with two items marked to cancel ($395.88/yr saved).
Inspiration
Students and independent creators lose hundreds of dollars a year to forgotten subscriptions and silent price increases ($10 -> $15/mo). Existing subscription trackers ask you to hand over your banking credentials via Plaid or upload private statements to cloud servers—so most people never audit their statements at all.
What it does
LeakLedger is a zero-login, browser-local bank statement auditor:
- Instant 10-second demo: Click Try Sample Statement to audit 64 realistic bank transactions in browser memory, surfacing 9 subscriptions ($1,835.40/yr) and 2 silent price hikes (
+$3.00/moand+$5.00/mo). - Private CSV upload & column mapper: Drop any bank or credit card CSV (comma, semicolon, or tab delimited). Unrecognized headers open an inline Column Mapper for Date, Description, and Amount.
- Price-hike alerts & raw verification: Crimson delta markers show exact before/after prices and dates, and clicking Show charges reveals the raw unedited CSV lines.
- Filter, simulate, export: Filter to Price hikes only, toggle Mark to cancel to watch projected annual savings update live, and download a plain-text cancellation checklist (
.txt) or RFC-4180 summary CSV (leakledger-subscriptions.csv).
How we built it
LeakLedger is built with React 19, TypeScript, and Vite (src/App.tsx, src/lib/csvParser.ts, src/lib/subscriptionEngine.ts), styled in a light Swiss-editorial layout (Schibsted Grotesk and Geist Mono with tabular-nums). All CSV parsing, merchant normalization, billing-cycle clustering (Weekly, Monthly, Quarterly, Annual), and price-hike detection run deterministically in browser memory with zero backend servers or external APIs. The core engine is verified with 8 Vitest unit tests (src/lib/leakledger.test.ts).
Challenges we ran into
- Mixed-sign bank vs. credit card CSVs: Credit card exports often list charges as positive numbers and payments/refunds (
PAYMENT - THANK YOU,ONLINE PAYMENT) as negative numbers. We fixed polarity detection to exclude payment/refund rows before determining expense sign. - Overflow on unbroken bank descriptors: Long cryptic merchant strings without spaces can push CSS Grid buttons off-screen on 390px mobile viewports; adding
min-width: 0andoverflow-wrap: anywherekept every viewport clean.
Accomplishments that we're proud of
- Zero-upload privacy: 100% client-side in browser memory with zero outbound upload requests (
src/lib/csvParser.ts). - Verified core math: Sample statement audits 64 transactions into 9 subscriptions (
$1,835.40/yr) and 2 silent price hikes (npm test). - Clean exports: Supports CSV export (
leakledger-subscriptions.csv) and cancellation checklist (.txt) (src/lib/subscriptionEngine.ts).
What we learned
Real-world bank CSVs vary wildly in delimiter, date format, sign convention, and column names. Testing against hostile edge cases—0-byte files, comma-containing prose, 4-digit prices, and 390px screens—made the parser and layout resilient.
Built With
- css
- react
- typescript
- vite
- vitest