CC_Smash / README.md
alm7640's picture
fix: bump Gradio sdk_version to 5.9.0 (HfFolder compat)
5500ce2

A newer version of the Gradio SDK is available: 6.16.0

Upgrade
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