github——指标统计

github------指标统计

github-readme-stats是一个可以统计指定用户github指标的项目。可以使用此项目统计自己的github,用于首页展示。效果如图:

它的作用

它可以:

  • 统计git操作
  • 统计账户编程语言构成比例
  • 解除github只能置顶6个项目的限制
  • 自定义卡片主题
    、
    更多详情,请浏览项目仓库:中文文档

特定项目统计

在项目的README文件中添加,修改username 或repo,更改为自己的名称和仓库即可。

markdown 复制代码
# 统计git操作
![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&count_private=true&layout=compact)

# 统计语言
[![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=WangYuanye421&layout=compact)](https://github.com/anuraghazra/github-readme-stats)

# 展示仓库,通过此方式解除github首页 pin数量的限制
<a href="https://github.com/anuraghazra/github-readme-stats">
  <img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats" />
</a>
<a href="https://github.com/anuraghazra/convoychat">
  <img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=convoychat" />
</a>

首页展示

创建与自己github同名的仓库,并创建README.md,你会看到github模版提示:

md 复制代码
xxx/xxx is a ✨ _special_ ✨ repository 
because its `README.md` (this file) appears on your GitHub profile.

也就是说,和用户名同名的仓库的README.md会自动展示在首页。那么将上述统计逻辑应用在这个README.md中即可。

相关推荐
CoderJia程序员甲5 小时前
GitHub 热榜项目 - 周榜(2026-10-03)
ai·大模型·llm·github·ai教程
miofly6 小时前
GitHub 今日推荐|lipflow:无麦克风唇读文字输入工具
python·开源·github
寺中人6 小时前
Xshell 完全入门指南:从安装到实战,远程连接+文件传输+会话管理全拆解
git·ssh·github·php·远程连接·xshell·运维工具
蜗牛互联网8 小时前
从GitHub动态工作流理解确定性编排与Agent判断边界
java·人工智能·后端·github
m4Rk_8 小时前
【论文阅读】Agent 记忆机制(89):PersonaAgent——构建 Memory、Persona 与 Action 的持续反馈闭环
论文阅读·人工智能·学习·开源·github
u1301309 小时前
GitHub 热榜项目:日榜(2026-10-03)
github
M_知无不言9 小时前
给 NAS 办张身份证:飞牛 DDNS 与 HTTPS 证书全流程 🌐
github
姜鱼问生9 小时前
deploy.sh 部署脚本:健康检查 + 自动回滚
安全·github
姜鱼问生10 小时前
GitHub Actions CI/CD 从零搭建:push 后 60 秒自动上线
云计算·github
王潇98310 小时前
零依赖、单文件:一套自创的分析框架,和它的三个应用站点
github