A newer version of the Gradio SDK is available: 6.16.0
metadata
title: CC Smash
emoji: π³
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.9.0
app_file: app.py
pinned: false
python_version: '3.11'
π³ CC Smash β Statement Analyzer
A Gradio app that ingests credit card statements (PDF, CSV, XLS/XLSX, DOCX) and surfaces spending intelligence you'd never catch manually.
Features
| Tab | What it does |
|---|---|
| π° Top 13 | Largest single purchases ranked by amount |
| π Recurring Charges | Monthly/weekly/quarterly charges with true annual cost |
| π Possible Subscriptions | Small forgotten recurring charges |
| π Year-over-Year | Spend changes across years (requires 2+ years) |
| π AI Insights | LLM-powered narrative analysis (BYOK) |
Run locally
pip install -r requirements.txt
python app.py
Deploy
Pushes to main are automatically synced to the HuggingFace Space via GitHub Actions.
Requires a HF_TOKEN secret in the GitHub repo settings with write access to alm7640/CC_Smash.
Privacy
- Files are processed entirely in memory β never written to disk or any server
- Your API key lives only in your browser session and is discarded when you close the tab
- The AI Insights tab sends only aggregated data (merchant names + totals) to the LLM provider β no account numbers, card numbers, or personal details are ever sent
Supported Banks
Any bank that exports PDF, CSV, or XLS is supported. Tested against Chase, Bank of America, Citi, Capital One, American Express, Wells Fargo, and Discover.
Data Quality Tiers
| Data | Features Unlocked |
|---|---|
| 1 statement | Top 13 only |
| 2β5 months | + Possible subscriptions |
| 6β11 months | + Recurring charges |
| 12 months | + True annual cost view |
| 24+ months | + Year-over-Year analysis |