GET /avatar/meReturns the configured maintainer avatar.
API Reference
Serve avatars from Gravatar with modern WebP/AVIF support, intelligent caching, and graceful fallback handling.
GET /avatar/meReturns the configured maintainer avatar.
GET /avatar/:hashReturns an avatar for a precomputed MD5 or SHA-256 email hash.
GET /avatar?email=<email>Resolves a raw email address after server-side normalization. Enable this endpoint only when you accept that email addresses can appear in URLs, logs, browser history, and intermediary proxies. Raw email lookups are disabled on this deployment.
email@example.com.s= orsize= (default: 200)d= ordefault= (default: 404)initials= (requires default=initials)name= (requires default=initials)Avatars are automatically converted to AVIF or WebP based on the browser’s Accept header, including quality values such as q=0.9. The original image format is used as a fallback if neither is supported or the requested image is too large to safely transform at the edge.
Accept: image/avif,image/webp, image/*, */*Vary: Accept: Ensures proper caching per image format (AVIF/WebP/JPEG).ETag: Uses avatar hash for efficient cache validation and conditional requests.GET /avatar/205e460b479e2e5b48aec07710c08d50?s=128GET /avatar?email=email@example.com&size=256GET /avatar?email=email@example.com&size=500&d=initials&initials=A