Avatar - BluDood/BluDoodAPI GitHub Wiki

Steps to enable endpoint for avatar sizing

The /avatar endpoint allows you to easily size your avatar to a custom size, to reduce load times and go within size limitations on websites. The setup is very easy:

Steps

You only have to enter one environment variable, which is a URL to your profile picture:

AVATAR_URL=url_to_avatar

This will enable the avatar sizing endpoint, where you can specify size by passing the ?size=size_in_pixels parameter (Example: api.bludood.com/avatar?size=64)