stn1slv/GitHub Stats Cards

Generate beautiful GitHub stats cards as SVG images

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
card-typeType of card to generate (user-stats, top-langs, or contrib). "stats" is accepted as an alias for "user-stats".yesuser-stats
usernameGitHub usernameyes
tokenGitHub Personal Access Tokenyes
outputOutput SVG file pathyes
themeTheme name (default, dark, vue-dark, etc.)nodefault
show-iconsShow icons next to stats (user-stats card only)nofalse
hide-borderHide card bordernofalse
hide-titleHide card titlenofalse
hide-rankHide rank circle (user-stats card only)nofalse
include-all-commitsInclude all commits, not just current year (user-stats card only)nofalse
hideComma-separated stats/languages to hideno""
showComma-separated optional stats to add - user-stats only (repos, reviews, prs_merged, prs_merged_percentage, discussions_started, discussions_answered)no""
custom-titleCustom card titleno""
layoutLayout style (normal, compact, donut, donut-vertical, pie) - top-langs onlynonormal
langs-countNumber of languages to show (top-langs only)no5
limitNumber of repositories to show (contrib only)no10
hide-progressHide progress bars (top-langs only)nofalse
weightingWeighting preset (size-only, balanced, expertise, diversity) - top-langs onlyno""
exclude-repoComma-separated repos to exclude (top-langs only)no""
contrib-typesComma-separated list of contribution types to fetch (commits,prs,issues,reviews) - contrib onlynocommits,prs
title-colorCustom title color (hex without #)no""
text-colorCustom text color (hex without #)no""
bg-colorCustom background color or gradientno""
border-colorCustom border color (hex without #)no""
card-widthCard width in pixelsno""
border-radiusBorder radiusno4.5
disable-animationsDisable CSS animationsnofalse
namedescription
svg-pathPath to the generated SVG file