Officially accepted for GSSoC!
| 🌟 Stars | 🍴 Forks | 🐛 Issues | 🔔 Open PRs | 🔕 Closed PRs | 🛠️ Languages | 👥 Contributors |
|---|---|---|---|---|---|---|
<hr>
A free and open-source API to frame your GitHub avatar using creative themes. Perfect for README files, portfolios, or social media.
🌐 Live API: https://github-avatar-frame-api.onrender.com
Base Endpoint:
https://github-avatar-frame-api.onrender.com/api/framed-avatar/{username}?theme={theme}&size={size}&canvas={canvas}&shape={shape}&radius={radius}
| Parameter | Type | Default | Description | Example |
|---|---|---|---|---|
| username | string | required | GitHub username | octocat |
| theme | string | base | Frame theme (eternity, base, flamingo) | flamingo |
| size | integer | 256 | Avatar size in px (64–1024) | 300 |
| canvas | string | light | Background color of avatar canvas: light / dark | dark |
| shape | string | circle | Avatar shape: circle or rounded | rounded |
| radius | integer | 25 | Corner radius for rounded shape in px | 50 |
light or dark.circle or rounded.shape=rounded. 0 = square, higher = more rounded.Combine all three to customize your avatar:
| Canvas | Shape | Radius | Example URL | Preview |
|---|---|---|---|---|
| light | circle | - | URL | |
| dark | circle | - | URL | |
| light | rounded | 20 | URL | |
| dark | rounded | 50 | URL |
| Theme | Canvas / Shape / Radius | Preview | Description |
|---|---|---|---|
| eternity | light / circle / 0 | Classic eternity theme, light background, circular avatar | |
| eternity | dark / circle / 0 | Dark canvas version of eternity theme | |
| base | light / rounded / 20 | Base theme, light background, rounded corners 20px | |
| base | light / rounded / 50 | Base theme, light background, rounded corners 50px | |
| flamingo | dark / circle / 0 | Flamingo theme, dark canvas | |
| flamingo | light / rounded / 30 | Flamingo theme, light canvas, rounded corners 30px |

public/frames/MIT License