/badges

GitHub Badges for Bored Entertainment includes CDN hits and lines of code

Primary LanguageYAMLMIT LicenseMIT

logo

Badges for Bored Enterainment

Badges

How does it work?

CDNs Badges

Since bored-cdn.pisaucer.com are the short hand of jsDelivr, we have access to the data.jsdelivr.com for the Bored in School Right HTML Repository. So using curl to save a temporary json file we are able get the data of the hits per day, week, month, and year. To create badges, we used notiz-dev/github-action-json-property to read the data from the temp json and pass the total to emibcn/badge-action. We date the commits with josStorer/get-current-time. Each of the workflows are schedule to update on there own thanks to GitHub Actions.

All of these allows us to create custom badges with precise data for our Content Delivery Network (CDN).

Lines of Code Badges

Since GitHub actions runs ubuntu, we are able to install tokei. After saving the data to temp json, we are able to create a badge with emibcn/badge-action. We date the commits with josStorer/get-current-time. Loads more reliably than their tokei.rs badge.

Built with

Domains

Authors

See also the list of other contributors who participated in this project.

Contributing

Pull requests are welcome. If you find any problem(s) in boredhtml, feel free to submit an issue. This includes stuff like vulnerabilities, or even the most trivial issues (such as typoes.) If you know how to fix an issue, feel free to make a pull request for the issue. Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us. If you would like to suggest a feature or change, submit it as an issue as well or message us on discord; it will be given the appropriate tag once we have seen it. We love to discuss any major changes with you.

License badge

Our LICENSE file is based off of the MIT License.