GET
/
badge
Render SVG badge
curl --request GET \
  --url https://nums.advay.ca/badge
Render an SVG badge with the current count (does not increment). Query params: id, label, style (omit or terminal/mono), color (classic), bg, labelColor, valueColor, font (terminal style). Example
open "https://<deployment>/badge?id=home&style=terminal&label=hits&bg=%23101414&valueColor=%233cffb3"

Query Parameters

id
string
label
string
style
string

Use terminal/mono for terminal style; omit for classic

color
string

Classic badge color (ignored for terminal style)

bg
string
labelColor
string
valueColor
string
font
string

Response

200

SVG image