An automation and data management layer for Shields.io badges
| src/cforge/libbadges | adding some files and tests | |
| tests/units | adding some files and tests | |
| .gitignore | adding some files and tests | |
| .python-version | adding some files and tests | |
| build.py | adding some files and tests | |
| LICENSE | Initial commit | |
| prototype.badge.json | adding some files and tests | |
| pyproject.toml | adding some files and tests | |
| README.md | adding some files and tests | |
| uv.lock | adding some files and tests | |
badges
An automation and data management layer for Shields.io badges
This project ships a library and scripting to generate a collection of custom Shields.io badges using the JSON api.
Development
Goals
- Library w/ data validation for Shields.io badges, static and dynamic
- Building Shields JSON badge payloads
- Include validation on models
- Inject SVG data from other repos or as raw data
- Testing
- Unit testing
- Integration testing
- Building Shields JSON badge payloads
- Build script to generate many badges from DB/data file with known structure
- Run on Codeberg Actions (CI/CD)
- Publish JSON to Codeberg artifacts
Implementation
- MVP: Package that can build validated badge JSON from a TOML file
- Unit tests
- Integration tests to verify it works