Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's easy to hotlink an image into a GitHub readme, and when the build status (etc) of the project changes so does the badge, without updating the readme.


How does the badge site know the build status? Params set in readme urls don’t seem like they’d work for that, if they can’t change.


You rely on the service to generate the badge for you dynamically, eg

https://badgers.space/github/release/tensorflow/tensorflow

https://badgers.space/github/checks/facebook/react

In this case, it just looks it up at Github. shields.io can hit a bunch of different services for status:

https://shields.io/category/build


The params are something that indicate where the badge service should go to get the latest information, not the information itself.

Which is why there is a value in having a badge service rather than just updating badges with a commit hook or something.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: