GitHub Readme Stats
获取动态生成的 GitHub 统计信息!
Tip
由于此项目支持的卡片种类非常多,且功能强大,这里只简单介绍-GitHub 状态卡片,其他卡片使用方式还请移步官方文档。
参数
点击显示/关闭参数
名称 | 类型 | 必填 | 默认值 | 参数描述 | 更多描述 |
---|---|---|---|---|---|
username | string | GitHub 用户名 | |||
title_color | string | 2F80ED | 卡片标题颜色 | 支持 HEX 颜色值,如 FF0000 。 | |
text_color | string | 434D58 | 正文文本颜色 | 支持 HEX 颜色值,如 FF0000 。 | |
icon_color | string | 4C71F2 | 图标颜色 | 支持 HEX 颜色值,如 FF0000 。 | |
border_color | string | E4E2E2 | 卡片边框颜色 | 支持 HEX 颜色值,如 FF0000 ,当启用 hide_border 时,不适用。 | |
hide_border | boolean | false | 是否隐藏卡片边框 | ||
theme | string | 设置主题 | 可选值:dark radical merko gruvbox tokyonight onedark cobalt synthwave highcontrast dracula transparent 。 | ||
cache_seconds | number | 21600 | 卡片缓存时间 | 单位:秒,范围:21600 到 86400 。 | |
locale | string | en | 设置语言 | 语言参考:locales。 | |
border_radius | number | 4.5 | 卡片上的圆角处理 | ||
hide | string | 隐藏特定的统计数据 | 数据类型之间用 , 分隔。 | ||
show | string | 显示附加统计信息 | 数据类型之间用 , 分隔。 | ||
show_icons | boolean | true | 是否显示图标 | ||
bg_color | string | 卡片背景色 | 背景色支持渐变,格式:deg,color1,color2,color3,... 。 |
txt
https://github-readme-stats.vercel.app/api{?username,title_color,text_color,icon_color,border_color,hide_border,theme,cache_seconds,locale,border_radius,hide,show,show_icons,bg_color}
示例
markdown
<!-- anuraghazra -->

markdown
<!-- anuraghazra -->
