github_avatar
A GitHub user's avatar PNG, downloaded once a day and rendered as an image. Useful as the visual hero next to a github_user text block.
| Kind | Safety | Shapes |
|---|---|---|
| cached | Safe | image |
Options
Section titled “Options”| Option | Type | Required | Default | Description |
|---|---|---|---|---|
user | string (github login) | no | authenticated token user | GitHub login to fetch the avatar for. Falls back to the GITHUB_USER env var, then to the login that owns GH_TOKEN / GITHUB_TOKEN. |
size | integer (px) | no | 200 | Requested avatar edge size in pixels. GitHub serves a square image of this size. |
Compatible renderers
Section titled “Compatible renderers”| Shape | Renderers |
|---|---|
image | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, media_image |