Codeberg runs Gitea, so commit-grapher reads it via the Gitea API v1 (repos, branches, PRs, commits). Code is never cloned.
- Codeberg β Settings β Applications β Generate New Token
(
https://codeberg.org/user/settings/applications). - Scopes:
read:repository(+read:organizationfor org repos). Copy it. - In commit-grapher β provider Codeberg:
- username = your user or organization name.
- owner_url defaults to
https://codeberg.org/<username>. - Paste the token.
The token is stored in your OS keychain, never on disk.
Repos, branches, pull requests (all states), commits, and tags for the owner. Public repos can be read without a token; add one to include private or org repos.
| Symptom | Cause | Fix |
|---|---|---|
| 0 repos | Wrong owner or missing scope | Check the username; add read:repository (+ read:organization) |
401 |
Token invalid/expired | Regenerate under Settings β Applications |
For self-hosted Gitea instances, use the Gitea guide and set owner_url to your host.