Sub2Monitor is a read-only usage dashboard for Sub2API. It presents cost, tokens, requests, per-model trends, and contribution heatmaps to authenticated administrators.
Sub2Monitor delegates identity to the existing Sub2API SSO Bridge. It never collects passwords and does not persist upstream Sub2API tokens in browser storage.
The existing apimonitor cookie, event, and postMessage labels remain as compatibility contracts with the deployed Bridge; they are not product branding.
cd backend && go test ./... && go vet ./...
cd ../frontend && npm ci && npm test -- --runFor a source-built container image:
docker build -t sub2monitor .Dockerfile.runtime is reserved for the production release workflow: it serves the versioned verified frontend release assets and matching ARM64 backend executable.
Secrets, local environment files, transient build output, local worktrees, and agent scratch state are excluded from Git. The only checked-in release artifacts are the verified frontend/dist bundle and backend/sub2monitor-linux-arm64 required by Dockerfile.runtime.