ulve a18e2a2455 Add /shouldibeworking endpoint, container timezone, and PowerShell CLI tracker
Ports work-time rules to the server for external polling, sets the
container TZ so schedule math matches Europe/Stockholm, and adds a
terminal-based progress tracker mirroring the web app.
2026-09-13 10:48:48 +02:00

Aftersummer

A minimal time-progress tracker that shows how far through the day, week, month, year — and summer — you actually are.

Aftersummer

What it does

Each card represents a time period and fills with particles as time passes. No percentages — just contextual labels like "87 days till summer" or "6 days remaining".

Card Tracks
Hour Current hour (0–59 min)
Day Current calendar day
Week Mon–Sun
Month Calendar days in current month
Summer Jan 1 → Midsommarafton (Swedish midsummer eve)
Fall First Monday of August → Dec 31
Year Jan 1 → Dec 31

Work time mode recalculates everything in working hours (08:00–12:00, 13:00–17:00, Mon–Fri, excluding Swedish public holidays). An optional bridge days toggle treats those as non-work days too.

During actual summer (Midsommarafton → first Monday of August) the Summer card turns amber and shows when you're back. The Fall card appears after that.

Stack

  • Vanilla JS (ES modules), no framework, no build step
  • Node.js + Express serving static files and proxying the dagsmart.se holiday API

Running

npm install
npm start

Then open http://localhost:3000.

Docker

docker compose up
S
Description
No description provided
Readme
129 KiB
Languages
JavaScript 49.6%
PowerShell 36.2%
CSS 11.6%
HTML 1.5%
Nix 0.8%
Other 0.3%