Public Services

A smaller route for GitHub avatars.

Keep the numeric GitHub user ID and replace the standard avatar hostname with our public WebP-friendly endpoint.

General usage

GitHub avatar URLs use a numeric user ID after /u/. Preserve that ID and replace avatars.githubusercontent.com with avatars-githubusercontent-webp.webp.se.

Originalhttps://avatars.githubusercontent.com/u/:idPublic servicehttps://avatars-githubusercontent-webp.webp.se/u/:id

Example

For GitHub user ID 24852034, the public-service URL is:

https://avatars-githubusercontent-webp.webp.se/u/24852034

The numeric user ID is stable for this URL pattern. A GitHub username is not interchangeable with the :id value.