Sweat Equity
Sweat Equity is a tracker for weigh-ins and workouts, styled like an 80s arcade game set in Miami Vice. Neon sunsets over the skyline, palm trees, and speedboats set the mood.
The look
- Custom pixel art throughout. The page backgrounds include a Miami skyline at sunset and a garage gym with a muscle car parked inside. The buttons, icons, and weight-plate stat cards are custom art too.
- Selectable avatars. Four pixel-art portraits, each paired with its own custom cursor.
- Built for the theme. Charts, modals, date pickers, and scrollbars are all styled to match, so nothing falls back to browser defaults.
What it does
- Weigh-ins. Daily and weekly weight charts with optional goal and 7-day average lines, estimates filled in for days with no entry, and an editable log table with per-day notes.
- Workouts. A workout log grouped by date. Calories are estimated from each activity’s intensity. You can add several activities at once and save or discard them together.
- Insights. Stats drawn from your full history, including a predicted goal date that simulates your daily calorie burn (BMR) going forward.
- Lose or gain. Supports both weight-loss and weight-gain goals.
Under the hood
- Built with Flask and Jinja templates, vanilla JavaScript, and Chart.js.
- Runs at sweatequity.kfraker.dev on a Postgres database hosted by Neon.
- Sign-in uses Google, and each account’s data is kept separate from everyone else’s.
- Schema changes go through a migration system I wrote myself.
- A pytest suite covers the app.