1.2 KiB
1.2 KiB
Work Week Progress Bar
Because staring at the clock is bad for morale, but staring at a progress bar is somehow motivating.
This is a small Flask-powered web app that visualizes:
- How far through your current workday you are
- How far through your entire work week you are
It progresses only during your scheduled work hours
Daily Progress Bar
- Advances every minute (configurable)
- Only runs on workdays
- Only during work hours
Weekly Progress Bar
- Assumes your work week is 4 days
- Each day = 25%
- During the day, the bar fills smoothly
- End of Workweek = 100% freedom
Configuration
| Variable | Default | Description |
|---|---|---|
| WORK_START_TIME | 07:00 | Workday start (HH:MM) |
| WORK_END_TIME | 17:30 | Workday end (HH:MM) |
| WORK_DAYS | 0,1,2,3 | JS day numbers (Sun=0) |
| UPDATE_INTERVAL_MS | 60000 | Update frequency |
Tech Stack
- Flask – serves the page and minds its business
- Vanilla JavaScript – handles all time logic client-side
- HTML + CSS – gradients, glow, and just enough polish
- Zero databases – this app remembers nothing, like a healthy coping mechanism