1.3 KiB
1.3 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
🧠 What It Does
Daily Progress Bar
- Advances every minute
- Only runs Sunday–Wednesday
- Only between 7:00 AM – 5:30 PM
- Before work? Frozen.
- After work? Done.
- Not a workday? Blissfully idle.
Weekly Progress Bar
- Your work week is 4 days (Sun–Wed)
- Each day = 25%
- During the day, the bar fills smoothly
- End of Wednesday = 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