hnrobert/GitHub Stats Enhanced

Generate GitHub stats SVG cards for profile README

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_user_nameGitHub username to generate stats for. Defaults to GITHUB_REPOSITORY_OWNER (the repo owner) if not set.no""
self_github_tokenPersonal GitHub token (overrides GITHUB_TOKEN). Use this if the default token lacks permissions for private repos or org data.no""
github_tokenGitHub token for API accessno""
modePipeline mode: 'all' (fetch + generate), 'fetch' (API → stats.yml only), 'generate' (stats.yml → SVGs only)noall
fetch_modeFetch strategy when mode is 'all' or 'fetch': 'full' (re-fetch all repos) or 'incremental' (reuse cached per-repo commit counts from data_file, only fetch new repos)noincremental
data_filePath to the stats YAML file (used by fetch to write, generate to read)no""
output_dirOutput directory for generated SVGsnodist
themeCard theme: adaptive (auto dark/light), dark, or lightnoadaptive
exclude_reposComma-separated repos to exclude from language stats (owner/repo)no""
contrib_exclude_reposComma-separated repos to exclude from contribution stats (owner/repo)no""
responsiveSet to 'true' to generate SVGs with width=100% (scales to container width)notrue
stats_widthWidth in pixels for stats cards (default: 220)no""
stats_heightHeight in pixels for stats cards (default: 200)no""
contributions_widthWidth in pixels for contributions card (default: 460)no""
contributions_heightHeight in pixels for contributions card (default: 180)no""
languages_widthWidth in pixels for languages card (default: 500)no""
languages_countNumber of languages to display in the languages card (default: 8)no""
exclude_languagesComma-separated list of languages to excludeno""
weight_contributed_reposSet to 'false' to count contributed (non-own) repo languages at full weight instead of by commit rationotrue
generate_reportGenerate README.md (stats report) and index.html (demo page) alongside SVGsnotrue
target_repoRepository name where SVGs are stored (defaults to GITHUB_REPOSITORY_NAME env var, then github_user_name)no""
target_branchBranch name where SVGs are storednogithub-stats-enhanced

no outputs