Skip to content
FlowthreadPublic

About

A self-hosted, privacy-first subscription tracker that closes the 2.5x perception gap in student budgets. Built for SMBP FinHack (Finance Track).

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

SubZero

See the Big Picture of your money.

SubZero turns invisible, forgotten monthly subscriptions into one clear picture of the wealth you are leaking.

License: GPLv3 PHP Docker PWA Self-hosted

SMBP FinHack Theme 繁體中文

繁體中文版 · Full research · 完整研究


💸 The problem: a 2.5× blind spot in every student budget

Ask a student what they spend on subscriptions and they will say "about $86 a month." Add up the actual card statements and the number is $219 a month.

That gap — the perception gap — is not carelessness. It is a structural feature of how modern money moves:

What it feels like What is actually happening
"It's only $4.99." 72% of consumers put every subscription on auto-pay, so nothing is ever re-approved.
"I'd remember a charge like that." 74% say recurring charges are easy to forget — and 59.9% currently pay for a subscription they have not used in 30+ days.
"I know roughly what I spend." 89% underestimate it, and 63% still cannot estimate their monthly total correctly.
"I'd cancel if it were a real problem." 52% of consumers cancelled at least one subscription in the past year — only after noticing.
flowchart LR
    A["🧾 11 subscriptions<br/>across 3 cards"] --> B["🙈 Recall<br/>'about $86 / month'"]
    A --> C["🔍 Itemized audit<br/>'$219 / month'"]
    B --> D["😮 2.5× perception gap"]
    C --> D
    D --> E["💸 $133 / month leaking<br/>$1,596 / year"]
    E --> F["🌱 Redirected at 8%<br/>compounds into six figures"]
Loading

For students the leak lands harder than for anyone else:

  • 🎓 Gen Z wastes $27/month ($324/year) on unused subscriptions — 28.6% above the US adult average of $21.
  • 📉 Gen Z scores 38% on the 2026 TIAA Institute–GFLEC Personal Finance Index, the lowest of any generation, against a national 10-year low of 47%.
  • 📒 79.9% of college students keep no detailed financial records (30.3% keep none at all, 49.6% keep partial ones).
  • 🚨 A forgotten free-trial conversion averages $34.31; for 37.8% of affected people it forced cutbacks elsewhere, and 21.7% had to borrow from family.
  • 🧊 Discount cliffs: student pricing that silently reverts to full price at annual re-verification — the classic zombie-subscription factory.

Small money, big plan. The point is not that $27 is a lot. The point is that $27 a month, invisible, is $94,257 over a working life — and no bank statement ever shows you that number.


❄️ What SubZero does

SubZero is a self-hosted subscription tracker that refuses to hide the truth. Every charge is itemized, counted, compounded, and shown back to you as one Big Picture — monthly, yearly, and across the decades where it actually matters.

Feature Why it matters for the perception gap
🧾 Subscription ledger — billing cycle, category, payment method, currency, notes Itemizing is the one act that closes the gap; recall never will
🔍 Logo search — find a service's logo automatically Low friction means the ledger actually gets filled in
📅 Renewal calendar Turns "someday" into a date you can see
🔔 Pre-charge nudges — email, Telegram, Discord, Pushover, Gotify, ntfy, webhooks You get the chance to cancel before the money leaves
📊 Statistics & budgets Shows where the leak concentrates, by category and by month
🌍 Multi-currency with live FX (Fixer API) One true total, even when services bill in different currencies
🤖 AI recommendations — ChatGPT, Gemini, OpenRouter, local Ollama, or any OpenAI-compatible API Turns a spreadsheet into three concrete moves you can make today
👥 Household members Shared plans, shared blind spots
📱 Installable PWA, mobile-first, dark mode Check it in the 30 seconds before a renewal hits
🔐 2FA, OIDC/OAuth, self-hosted SQLite Financial data never leaves a server you control
🗓️ iCal feed Renewals land in the calendar you actually look at
🌐 Multi-language Financial literacy should not require English

🧭 How it works

flowchart TD
    S["➕ Add a subscription<br/>logo search · cycle · category"] --> L["📅 Renewal calendar<br/>every charge has a date"]
    L --> N["🔔 Pre-charge nudge<br/>email · chat · webhook"]
    L --> P["📊 The Big Picture<br/>month · year · decade"]
    P --> C["🔮 Compounding view<br/>what the leak becomes if invested"]
    P --> I["🤖 AI recommendations<br/>cut · downgrade · go annual"]
    I --> R["♻️ Reclaim<br/>cancel idle, redirect the cash"]
    R --> P
Loading

The loop matters more than any single screen: see the leak → act before the charge → watch the reclaimed money compound.


🖼️ A look inside

Subscriptions — light & dark

Subscriptions, light theme Subscriptions, dark theme

The Big Picture — dashboard & statistics

Dashboard, light theme Dashboard, dark theme Statistics Renewal calendar

Adding a subscription

Add subscription form

On the phone — where the renewal actually hits

Mobile subscriptions, light Mobile subscriptions, dark Mobile dashboard, light Mobile dashboard, dark

🔮 The compounding view: why $27 is not $27

The Big Picture is deliberately not a monthly number. It is the same charge projected across the horizon where it actually matters.

Monthly leak 1 year 4 years of college 4 years at 6.5% loan interest 10 years invested @ 8% 40 years invested @ 8%
$5 $60 $240 $273 $915 $17,455
$10 $120 $480 $546 $1,829 $34,910
$15 $180 $720 $820 $2,744 $52,365
$21 (US average waste) $252 $1,008 $1,148 $3,842 $73,311
$27 (Gen Z average waste) $324 $1,296 $1,476 $4,940 $94,257
$50 $600 $2,400 $2,732 $9,147 $174,550

Future value of a redirected monthly amount, monthly compounding:

FV = P × ((1 + r/12)^(12t) − 1) / (r/12)

Across every tier above, the 40-year opportunity cost of a forgotten charge is 5.5× the cash actually spent at a 7% real return, and 7.3× at an 8% nominal return.

And unlike giving up coffee, cancelling a zombie subscription costs you nothing — you are already receiving zero utility from it. That is why SubZero is not a guilt app: it is a zero-sacrifice wealth recovery tool.


🏗️ Architecture

flowchart TB
    subgraph Client["Client"]
        PWA["Installable PWA<br/>mobile-first · dark mode"]
    end

    subgraph Server["Self-hosted PHP 8"]
        API["JSON endpoints<br/>/api/*"]
        APP["Pages<br/>subscriptions · stats · calendar · settings"]
        CRON["Cron jobs<br/>reminders · FX sync · AI recommendations"]
        DB[("SQLite<br/>your data, your disk")]
    end

    subgraph External["Optional integrations"]
        FX["Fixer API<br/>exchange rates"]
        LLM["LLM provider<br/>OpenAI · Gemini · OpenRouter · Ollama"]
        NOTIFY["Email · Telegram · Discord<br/>Pushover · Gotify · ntfy · webhooks"]
        LOGO["Logo search"]
    end

    PWA --> APP --> API --> DB
    CRON --> DB
    CRON --> NOTIFY
    CRON --> LLM
    API --> FX
    API --> LOGO
    API --> NOTIFY
Loading

Every integration is optional. With none configured, SubZero still works fully against its own SQLite file: no account, no telemetry, no cloud.


🚀 Quick start

🐳 Docker (fastest)

docker run -d --name subzero \
  -v /path/to/config/subzero/db:/var/www/html/db \
  -v /path/to/config/subzero/logos:/var/www/html/images/uploads/logos \
  -e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \
  flowthread/subzero:latest

Open http://localhost:8282 and create the first account.

🧩 Docker Compose

services:
  subzero:
    container_name: subzero
    image: flowthread/subzero:latest
    ports:
      - "8282:80/tcp"
    environment:
      TZ: 'Asia/Hong_Kong'
    volumes:
      - './db:/var/www/html/db'
      - './logos:/var/www/html/images/uploads/logos'
    restart: unless-stopped
cd SubZero-Code
docker compose up -d

🛠️ Bare metal

  1. PHP 8.x with curl, gd, intl, mbstring, pdo_sqlite, sqlite3.
  2. Copy the contents of SubZero-Code/ into your web root (/var/www/html in the examples below).
  3. Make db/ and images/uploads/logos/ writable by the web server.
  4. Add the cron jobs:
*/2 * * * * php /var/www/html/endpoints/cronjobs/sendcancellationnotifications.php
*/2 * * * * php /var/www/html/endpoints/cronjobs/sendnotifications.php
*/2 * * * * php /var/www/html/endpoints/cronjobs/sendverificationemails.php
*/2 * * * * php /var/www/html/endpoints/cronjobs/sendresetpasswordemails.php
0 */6 * * * php /var/www/html/endpoints/cronjobs/checkforupdates.php
30 1 * * 1 php /var/www/html/endpoints/cronjobs/storetotalyearlycost.php
30 3 * * 1 php /var/www/html/endpoints/cronjobs/generaterecommendations.php weekly
0 4 1 * * php /var/www/html/endpoints/cronjobs/generaterecommendations.php monthly

🔒 Keep the database private. The shipped .htaccess (Apache) and nginx.conf (NGINX) block db/, .tmp/ and *.db. On Apache set AllowOverride All, then confirm that https://your-host/db/subzero.db returns 403 — otherwise the database, password hashes included, is downloadable.

🔑 Optional keys

Purpose What you need
Live currency conversion Fixer API key
AI recommendations Any OpenAI-compatible endpoint and key (OpenAI, Gemini, OpenRouter, Ollama)
Notifications SMTP, Telegram bot, Discord webhook, Pushover, Gotify, ntfy, or a generic webhook

🧪 Tests

cd SubZero-Code
php tests/run.php
node tests/csv_export.test.js
node tests/theme_body_classes.test.js

🎯 How SubZero maps to the judging criteria

Criterion Weight Where SubZero answers it
👥 User need & problem understanding 25% The perception gap is quantified, not asserted: $86 believed vs $219 actual, 59.9% holding zombie subscriptions, Gen Z at $27/month with a 38% literacy score. Students are the target because the leak is largest relative to their income.
🧩 Prototype & usability 30% A working, installable, self-hosted app: add a subscription in seconds with logo search, see the Big Picture immediately, get nudged before a charge, check it on a phone in dark mode.
💰 Feasibility & costs 25% Runs on a small VPS or a home server: PHP 8 + SQLite, no paid tier, no per-user pricing, no third party holding financial data. Optional integrations are free or bring-your-own-key.
✨ Originality & learning 20% Reframes subscription tracking from "list your bills" to "value the leak across a lifetime" — the compounding view is the product, not a settings screen.

🤖 AI tools and usage

Disclosed in full:

Tool Role
OpenHands (AI software-engineering agent) Rebrand and code refactor, SVG logo design and asset pipeline, documentation and research synthesis, visual verification of the running app
In-product AI recommendations Optional feature: the app sends a compact summary of your subscriptions to the LLM provider you configure (OpenAI, Gemini, OpenRouter, Ollama or any OpenAI-compatible API) and returns concrete cost-reduction suggestions. Disabled unless you add a key.
No AI in the money math Totals, projections and compounding are deterministic SQL and PHP, so every number stays auditable.

🔐 Privacy & security

  • 🏠 Self-hosted by design. Subscriptions, budgets and balances live in a SQLite file on your own machine.
  • 🚫 No telemetry, no analytics, no account with us.
  • 🔑 2FA and OIDC/OAuth supported for login.
  • 🛡️ Hardened defaults — database and temp paths are blocked at the web-server layer.
  • 🔌 Integrations are opt-in and bring-your-own-key; nothing is sent anywhere until you configure it.

📊 The research behind the pitch

SubZero is built on a market analysis of subscription fatigue, zombie subscriptions and student financial vulnerability. The full reports, with methodology notes, national benchmarks, regulatory timelines and source list, live in the repository:

Headline numbers:

Signal Figure
Core global subscription economy $565B – $739B ($3.09T including subscription e-commerce)
Adults holding at least one paid subscription 78% (avg 5.6 services; 8.2 across all categories)
Consumers reporting subscription fatigue ~41%, rising to 87% of Gen Z streaming subscribers
US subscribers paying for something unused 30+ days 59.9% (avg 2.6 idle services)
Average annual waste per US subscriber $252 – $321
Perception gap (believed vs actual) $86 vs $219 per month — 2.5×
Gen Z unused-subscription waste $27/month, $324/year
Gen Z financial literacy score 38%, lowest of any generation
UK unwanted subscriptions ~10M contracts, £1.6B/year

🗺️ Roadmap

  • Itemized ledger, calendar, statistics, budgets, multi-currency
  • Pre-charge notifications across email and chat platforms
  • AI cost-reduction recommendations
  • Installable PWA with dark mode, 2FA and OIDC
  • 🧊 Big Picture v2 — lifetime leak projection as the default home screen
  • 📈 Redirect-to-invest plan: turn reclaimed money into a tracked goal
  • 🎓 Campus mode: student discount cliff warnings at re-verification dates
  • 🤝 Household split view for shared plans
  • 🧾 Statement import (CSV) to bootstrap the ledger from a bank export

📄 License

Released under the GNU General Public License v3.

SubZero builds on the open-source Wallos codebase. Wallos and its contributors remain the authors of the original work, and this distribution keeps the same GPLv3 license and the same promise: software that stays open, inspectable, and free for the people it is meant to help.

❄️ SubZero — small money, big plan. See the Big Picture before the charge hits.

About

A self-hosted, privacy-first subscription tracker that closes the 2.5x perception gap in student budgets. Built for SMBP FinHack (Finance Track).

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages