f964b6e344b72139dad21abc2d7d1fd93ffcb9ec
Day Drain
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 | 10 | Update frequency |
Description
Just a little something something to make the time tick faster (or slower idk man)
https://daydrain.com
Languages
HTML
59.4%
CSS
20.4%
Python
16.2%
Dockerfile
4%