Automated GitHub repo stats as SVG in the README
Description and use
Automatically generated SVG badges for GitHub metrics, updated via GitHub Actions and committed to the repository.
Problem
Maintaining up‑to‑date repo statistics badges in a README is tedious when badges are static images or rely on third‑party widgets.
Outcome
The README now displays live, self‑contained SVG badges for repo overview and language distribution, updated automatically via GitHub Actions.
Workflow
- Add a GitHub secret PROVCHART_API_KEY from chart.devtem.org dashboard.
- Create a GitHub Actions workflow that runs on a schedule or manually, checks out the repo, runs fscss-ttr/provchart-repo-stats action with the API key, and auto‑commits the generated SVGs.
- Add Markdown image links to the generated SVG files in the README.
- Commit and push; the workflow updates the SVGs daily and the README shows current stats.
Evidence
Run the workflow once (or wait for the schedule). The SVGs commit back; the README stays normal Markdown.
- Record date: 2026-09-09T02:45:57.920Z