[ANN] First ocb (OCaml Badgen) release


A few days ago, I released ocb. It’s a library and a command-line tool to generate SVG badges.

To get started quickly:

ocb --label Hello --color green --style flat --labelcolor white --status Goodbye

Will gives this result: SVG example.

My first use case was To.ml where I’m using bisect_ppx to generate and deploy a coverage report. I wanted to display the coverage percentage in the README and tried existing tools but wasn’t fully satisfied as they didn’t work or were failing randomly. Now, I’m generating the badge directly in a GitHub action.

The project was inspired by badgen. I still have to add support for icons and to improve the documentation but it’s usable.

Enjoy ! :slight_smile: