package
Render a GitHub stats card to a local SVG file, one prompt at a time
npm install @stats-forge/github-stats-forge-cliGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 18 packages.
7.7 MB
Includes dependencies.
8 direct dependencies.
^5.1.9
5.2.0
^4.2.6
4.3.0
^5.2.8
5.3.0
^6.3.5
6.4.0
^5.2.8
5.3.0
Render a GitHub Stats Forge card to a local SVG file, one prompt at a time.
npx @stats-forge/github-stats-forge-clior keep it around as github-stats-forge:
npm install -g @stats-forge/github-stats-forge-cliIt asks which card you want, then the options that card cannot render without, then puts you in a
menu of every other option it accepts — pick one, answer it, and the menu comes back with the
answer beside it. Generate the card writes the SVG, and the menu stays open, so tuning a card is:
generate, look at it, change one option, generate again.
? Which card? Stats — commits, PRs, issues, reviews and a rank
? GitHub username anuraghazra
? Stats — wrote anuraghazra-stats.svg — edit an option and generate again
❯ Generate the card
Quit
Extra stats to show reviews,prs_merged
Stats to hide —
Show the stat icons yes
Theme cobalt_darkEvery card but WakaTime reads the GitHub API, so it needs a personal access token — from
--pat "$token", from PAT_1 in the environment or a .env file, or typed when asked.
[!WARNING] A token spelled out on the command line lands in your shell history. The env file, the environment and the prompt do not.
Requires Node ^24 || >=26. --help prints the flags.
[!TIP] The CLI documents the menu, the flags, the token, saving a card and the query string it shares with the action. Every card has a page of its own, and the card builder draws one in your browser.