Forgejo profile README statistics all in CI/CD
Find a file
2024-11-01 22:13:14 +00:00
.clang-format add clang-format 2024-06-21 22:34:41 +03:00
.editorconfig init 2024-06-21 02:29:56 +03:00
.gitignore init 2024-06-21 02:29:56 +03:00
lang.json init 2024-06-21 02:29:56 +03:00
pyproject.toml init 2024-06-21 02:29:56 +03:00
README.md Add instructions on how to embed the SVGs. 2024-11-01 22:04:35 +00:00
requirements.txt init 2024-06-21 02:29:56 +03:00
stats.py Update stats.py 2024-11-01 22:13:14 +00:00
stats.yaml Update stats.yaml 2024-11-01 21:58:42 +00:00
tox.ini init 2024-06-21 02:29:56 +03:00
UNLICENSE Switch to the Unlicense license. 2024-11-01 22:08:47 +00:00

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