https://nums.advay.ca/
Only /hit requires authentication via
X-Auth-Token (or ?token=). Read endpoints are public on the hosted instance and serverless deployments. When running the standalone server in ./cmd/server, setting a SECRET_TOKEN also protects read endpoints.Increment (GET/POST /hit)
Counter id. Defaults to
home.Secret token for write access. Alternatively use
?token=.Secret token (alternative to header).
Read (JSON) — GET /count
Counter id. Defaults to
home.Optional
txt or text to return plain text instead of JSON.Read (Text) — GET /count.txt
Counter id. Defaults to
home.Badge (SVG) — GET /badge
Counter id. Defaults to
home.Left-side text. Defaults to
views.Badge style:
terminal or default classic.Classic badge color (e.g.,
blue).Terminal background (hex
#rrggbb or allowed names).Terminal label color (hex or allowed names).
Terminal value color (hex or allowed names).
Custom font family.
Badge (Shields endpoint) — GET /badge.json
Counter id.
Left-side text. Defaults to
views.Badge color (e.g.,
blue).Cache TTL in seconds (30–3600 enforced).