Setup
The dashboard is protected by a secret token —DASHBOARD_SECRET. You generate it once and store it wherever you keep your other secrets.
1. Generate a secret
2. Set it in your provider
Cloudflare Workers:3. Login
Go to l402kit.com/dashboard, enter your secret, and you’re in. No email, no OAuth, no cookie — the secret is sent asx-dashboard-secret on every stats request.
What you see
API
The same data is available directly via the API — useful for building your own dashboard or piping into Grafana.Security model
- The secret never leaves your environment — it is compared server-side in the Cloudflare Worker using strict equality
- No session token is issued — every request re-validates the secret
- The secret has read-only access — it can only call
/api/stats, not write or delete data - Generate a new secret anytime by updating
DASHBOARD_SECRETviawrangler secret put
Never commit
DASHBOARD_SECRET to git. Add it to your .gitignore and use wrangler secret put or your CI/CD secrets manager.