Skip to content

GitHub Readme Stats

获取动态生成的 GitHub 统计信息!

ref-reporef-official-doc

Tip

由于此项目支持的卡片种类非常多,且功能强大,这里只简单介绍-GitHub 状态卡片,其他卡片使用方式还请移步官方文档。

参数

点击显示/关闭参数

名称类型必填默认值参数描述更多描述
ref-querys
usernamestringGitHub 用户名
title_colorstring2F80ED卡片标题颜色支持 HEX 颜色值,如 FF0000
text_colorstring434D58正文文本颜色支持 HEX 颜色值,如 FF0000
icon_colorstring4C71F2图标颜色支持 HEX 颜色值,如 FF0000
border_colorstringE4E2E2卡片边框颜色支持 HEX 颜色值,如 FF0000,当启用 hide_border 时,不适用。
hide_borderbooleanfalse是否隐藏卡片边框
themestring设置主题可选值:dark radical merko gruvbox tokyonight onedark cobalt synthwave highcontrast dracula transparent
cache_secondsnumber21600卡片缓存时间单位:秒,范围:2160086400
localestringen设置语言语言参考:locales
border_radiusnumber4.5卡片上的圆角处理
hidestring隐藏特定的统计数据数据类型之间用 , 分隔。
showstring显示附加统计信息数据类型之间用 , 分隔。
show_iconsbooleantrue是否显示图标
bg_colorstring卡片背景色背景色支持渐变,格式: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 -->
![GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)
GitHub stats
markdown
<!-- anuraghazra -->
![GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&locale=cn&theme=dark&hide_border=true)
GitHub stats

Badge Collection (v3.0.4) MIT Licensed