Files
WorkWeekProgress/README.md
2026-01-12 21:44:18 -05:00

30 lines
923 B
Markdown

# 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 10ms** (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 |