josh a9fe398eec
Build and Push Image / build-push (push) Successful in 31s
Add Umami analytics script
Embeds the tracking.thewrightserver.net Umami script in the page head
so visits to Day Drain show up in the analytics dashboard.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 10:27:23 -04:00
2026-01-11 21:42:37 -05:00
2026-04-24 10:27:23 -04:00
2026-01-11 22:06:41 -05:00
2026-01-12 22:11:58 -05:00
2026-01-11 22:06:41 -05:00

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

Demo Site

https://daydrain.com

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
S
Description
Just a little something something to make the time tick faster (or slower idk man)
https://daydrain.com
Readme 56 KiB
Languages
HTML 60.3%
CSS 20%
Python 15.8%
Dockerfile 3.9%