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]>
This commit is contained in:
2026-10-14 21:22:02 +01:00
co-authored by Claude Opus 5.5
parent 67082226cc
commit e6a93be15c
13 changed files with 650 additions and 79 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ test-integration:
TEST_DATABASE_URL='$(DEV_DB)' go test -count=1 ./...
run:
DATABASE_URL='$(DEV_DB)' go run ./cmd/tracker serve
AUTH_MODE=dev DEV_MODE=true DATABASE_URL='$(DEV_DB)' go run ./cmd/tracker serve
up:
$(COMPOSE) up -d --build