README badges

If the badges service is enabled, Forgejo makes it possible to add badges - transparently generated by a service like shields.io - to your READMEs and other documentation. These badges let you display useful information about your repository within documentation that might also be displayed elsewhere, outside of the forge itself (such as on container information pages, library documentation sites, and so on). Information such as the latest release, stars, pull request and issue information, or Actions workflow statuses.

The badges are returned in SVG format and are available under the https://forgejo.example.com/{username}/{repository}/badges path. Forgejo currently supports generating the following badges:

All query parameters not known to Forgejo will be passed along to the badge generator service as is. If using the default - shields.io-based - generator, this means that query parameters such as style and color will be respected.


版本号 #2
由 cocobook-sync 创建于 2026-10-28 16:37:35 UTC
由 cocobook-sync 更新于 2026-10-29 01:09:28 UTC