forgejo-stats/README.md

15 lines
617 B
Markdown

# Forgejo stats
> Forgejo profile README statistics all in CI/CD
## Setup
- Place `stats.py` in your .profile
- Modify `stats.py` to your needs
- Generate a personal access token in settings (Applications tab) with repository read/write and user read permissions
- Set GIT_TOKEN in settings > actions > secrets
- Place `lang.json`, and `requirements.txt` in your .profile repo
- Place `stats.yaml` in `.forgejo/workflows/` in your .profile repo
- Embed the SVGs (`<img src="languages.svg" width="100%" />` and `<img src="commits.svg" width="100%" />`)
For example: <https://git.ari.lt/ari/.profile>