GitHub user statistics SVG card generator
A FastAPI service that generates SVG stats cards for GitHub users,
similar to github-readme-stats. Packaged with an nginx reverse proxy
that runs automatically as a daemon.
## Features
- GraphQL API with token for accurate lifetime stats
- REST API fallback without a token
- 52 built-in color themes
- In-memory caching with stale-serving on rate limit
- Configurable username allowlist
## Configuration
Set the public listening port:
sudo snap set github-user-stats port=8080
Restrict which GitHub users can be queried:
sudo snap set github-user-stats allowed-users=kenvandine,octocat
Add a GitHub token for GraphQL access and higher rate limits:
sudo snap set github-user-stats github-token=ghp_xxxxxxxxxxxx