A password-protected SX Operations dashboard, hosted on GitHub Pages.
Open index.html in a browser, or run a local static-file server from this directory.
The browser reads its latest snapshot from Supabase after a password-only sign-in. GitHub Pages contains no protected metric payload or worker credentials.
The local worker polls Supabase once a minute. When the authenticated dashboard requests an update, it refreshes the source metrics page, runs the Confluence SVG refresh, and writes a new protected snapshot.
- Run
supabase/schema.sqlin the Supabase SQL Editor. - Copy
worker/product-day-worker.env.exampletoworker/product-day-worker.envand add the Supabase secret key locally. - Run
node worker/product-day-worker.js --seedonce to create the initial snapshot; normal worker runs process queued requests. - Copy
worker/com.productday.refresh-worker.plistinto~/Library/LaunchAgents/and load it withlaunchctlto poll automatically.
For a normal current-month refresh from Codex, use the local worker launcher instead of running the source collector directly:
node worker/request-dashboard-refresh.js --waitIt checks that the refresh service is online, queues one request, wakes the worker and returns its final status. Historical backfills, source investigations and formula changes still use the full SX Operations metrics workflow.