get /api/new-sub

returns an animated gif with the subscriber card. supports query params or post json.

content-type: image/gif

get /api/new-sub.gif

always returns gif (no html fallback for crawlers).

content-type: image/gif

parameters:

copy
name: string (required)
email?: string
amount: number | string
item: string (e.g. "pro", "builder")
type: "builder" | "pro" | "bits"

examples:

submit ↗ · as gif ↗

copy
curl -sS -X POST '/api/new-sub'   -H 'Content-Type: application/json'   -d '{"name":"rafael guilherme","email":"rafael.guilherme@nilo.io","amount":49.99,"item":"pro","type":"pro"}'   --output out.gif

get /api/podium

png leaderboard (900×400). supports optional avatar images.

content-type: image/png

parameters:

copy
n1, n2, n3: string (usernames, required)
w1, w2, w3?: number (wins, optional)
img1, img2, img3?: string (avatar urls)

examples:

try it ↗

copy
curl -sS '/api/podium?n1=kuba&w1=3&n2=bruno&w2=1&n3=nuno&w3=1' --output podium.png