release
Latest-release badge for a GitHub repository.
Examples
Every image below is rendered live by this worker.
/github/release.svg?repo=hdprajwal/codexpass
/github/release.svg?repo=cloudflare/workerd&logo=github
/github/release.svg?repo=neovim/neovim&mode=light&label=release
Builder
Edit the fields. The previews and the snippet update as you type.
README snippet, auto dark/light
API
Each widget is one endpoint, and every option is a query parameter. Responses are SVG images, cached on Cloudflare's edge, and usable from any site.
GET /github/release.svg
| repo | owner/name | The GitHub repository. Required. |
| icon | none | Set to none to hide the tag icon. |
| label | string | Text after the icon. Default none. |
| mode | dark | light | Color theme. Default dark. |
| color | hex | Version color, without #. Default green. |
| labelColor | hex | Label color, without #. |
| logo | slug | simple-icons slug, replaces the tag icon. |
| logoColor | hex | Logo fill color, without #. Default 848484. |
| bg | hex | Background color override, without #. |