github-readme-stats-0.1.0 is not a library.
github-readme-stats
Rust CLI to fetch GitHub user statistics as JSON.
Installation
Download from Releases or build from source:
Usage
# Basic usage
# Optional settings are now read from github-readme-stats.toml
Configuration file
Create github-readme-stats.toml in the working directory for optional settings
(token stays in GHT env only).
[]
= "+08:00"
[]
= ["owner/repo1", "owner/repo2"]
= ["my-org"]
[]
= 1000
= 10
= ["HTML", "CSS"]
Environment Variables
| Variable | Required | Description |
|---|---|---|
GHT |
yes | GitHub Personal Access Token (read:user scope) |
Output
JSON with the following structure:
Notes
language_usageis derived from commit file changes (additions + deletions), not repo sizes.- Time distribution and language usage share the same commit sample (
language.commits_limit). - Language stats can be rate-limit heavy because each sampled commit fetches commit details.
Used by
- github-stats-typst — GitHub Action to render stats as SVG cards
License
MIT