- HTML 37%
- JavaScript 31%
- Rust 20%
- Python 10%
- CSS 2%
- 2 more languages <1%
Badger #
So, this is badger.
Badger is my answer to a problem that I had, and may not be you, or your projects answer.
It's unique in a few ways, mainly:
- You get to decide how your badges look. In a deep way, if you have a brand identity or want to do something interesting, you're free to override any badge's data-grabbing functionality, and create something new, and interesting. This is supported, and powerful.
- You can run things, easily on your own infrastructure. Being honest, you're only supposed to run it as a CLI. This means the data is yours, and also (less fun) your responsibility. It also means badges are versioned with the rest of your README (or whatever).
- Badges are defined in Python/Starlark
- The builtin badges are outrageously cool
- Super simple to create your own badge, and put it up on PyPI for others to use and collaborate upon.
- Place placeholders and never worry about updating badges by hand
Start #
cargo install badger --locked
badger badge --label build --status passing --icon badge:check --generator strata --output hi.svg # This is a fun one
If you're working within a project, it's going to make more sense to run badger init, and manage your options from within badger.star. To update just run badger run. Commit the SVGs, they're forever now.
We keep a constantly updating list of badges within the documentation at https://philocalyst.tngl.io/Badger/plugins.html, so ensure you're referencing that, as badger will find things you reference, like get_edition(), automatically, no matter where it's hosted. simple() is the only builtin.
If you'd like to host a badge, you're going to do badger live --interval 60, which updates local files on the interval.
See Running reliably for
scheduling, stopping and failure behavior.