I’m pleased to announce the first release of osh, a website providing an API to generate SVG badges.
E.g. this url:
https://osh.ocamlpro.com/badge?label=build&color=green&status=passing will give the following result: .
We also have special support for GitHub actions, using
https://osh.ocamlpro.com/badge/github/workflow/status/OCamlPro/swhid/build.yml will give you the following: .
Even when using the special GitHub action endpoint, you can override any parameter, e.g.
https://osh.ocamlpro.com/badge/github/workflow/status/OCamlPro/swhid/build.yml?color=blue will give you the following: .
We’re willing to add any other special endpoint if someone is interested.
There’s also an opam package in case you want to host your own instance.