# \[ANN\] first release of osh: https://osh.ocamlpro.com

**URL:** <https://discuss.ocaml.org/t/ann-first-release-of-osh-https-osh-ocamlpro-com/8594>\
**Category:** Ecosystem\
**Tags:** website, badge, api, github-actions, svg\
**Created:** [October 8, 2021, 10:06am UTC](https://discuss.ocaml.org/t/ann-first-release-of-osh-https-osh-ocamlpro-com/8594 "2021-10-08T10:06:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ancolie](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/ancolie/32/6189_2.png) [@ancolie](https://discuss.ocaml.org/u/ancolie)\
**Post date:** [October 8, 2021, 10:06am UTC](https://discuss.ocaml.org/t/ann-first-release-of-osh-https-osh-ocamlpro-com/8594/1 "2021-10-08T10:06:11Z")

</div>

Hi,

I’m pleased to announce the first release of [osh](https://osh.ocamlpro.com), 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: ![build passing](https://osh.ocamlpro.com/badge?label=build&color=green&status=passing).

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: ![build passing](https://osh.ocamlpro.com/badge/github/workflow/status/OCamlPro/swhid/build.yml).

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: ![build passing](https://osh.ocamlpro.com/badge/github/workflow/status/OCamlPro/swhid/build.yml?color=blue).

We’re willing to add any other special endpoint if someone is interested. 🙂

The [source code is available on OCamlPro’s Gitlab](https://gitlab.ocamlpro.com/OCamlPro/osh), it’s made with [ocb](https://github.com/OCamlPro/ocb) for the badge generation part, [dream](https://github.com/aantron/dream), [ezcurl](https://github.com/c-cube/ezcurl), [omd](https://github.com/ocaml/omd), [crunch](https://github.com/mirage/ocaml-crunch) and [Yojson](https://github.com/ocaml-community/yojson).

There’s also an [opam package](https://opam.ocaml.org/packages/osh) in case you want to host your own instance.

Enjoy !

---

_[View the full topic](https://discuss.ocaml.org/t/ann-first-release-of-osh-https-osh-ocamlpro-com/8594)._
