Commit Graph
5 Commits
Author SHA1 Message Date
adamfandClaude Opus 5.5 13602272fc Tidy the dashboard and setup pages, add one-click API keys
Test and publish / test (push) Successful in 20s
Test and publish / publish (push) Has been cancelled
Both pages share style.css and a top bar with Dashboard and Setup tabs.
The dashboard gains summary tiles, card sections and friendly kind names.
The setup page puts each collector in a collapsible section with its own
Generate key button, which picks a free name, copies the key and fills
it into that collector's steps. Command blocks get Copy buttons.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 21:32:57 +01:00
adamfandClaude Opus 5.5 e6a93be15c Gate the dashboard on the site's admin login and add a setup page
Test and publish / test (push) Successful in 25s
Test and publish / publish (push) Successful in 3m1s
Like job-tracker, the tracker forwards the visitor's cookies to the site
backend's /auth/validate-admin instead of asking for an API key. Signed
in, the dashboard shows every device's data. The new /setup page has
instructions for each collector and creates and revokes API keys. The
userscript is served publicly at /tracker.user.js.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 21:22:02 +01:00
adamfandClaude Opus 5.5 06800edd91 Add minimal dashboard page served at /
Test and publish / test (push) Successful in 15s
Test and publish / publish (push) Successful in 3m10s
Single embedded HTML page that reads the daily summary and activities
endpoints with a user-supplied API key: goals, totals by kind, top labels
and a timeline for the selected day.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 21:02:11 +01:00
adamfandClaude Opus 5.5 f4ce04875c Add activity tracker server, Hyprland agent and Gitea image publishing
Test and publish / test (push) Successful in 2m38s
Test and publish / publish (push) Failing after 2m30s
The Go API on PostgreSQL ingests desktop, browser, presence, manual and
Health Auto Export events and serves activities and daily goal summaries.
The Hyprland agent records window focus, idle and lock intervals.

The CI workflow publishes adam-french.co.uk/adamf/activity-tracker to the
Gitea registry and rolls the web_server stack onto it. The image probes
itself through a new `tracker healthcheck` command, because distroless
has no wget.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 20:38:12 +01:00
adamf 0cbbb76dee first commit 2026-10-14 17:58:05 +01:00