github——指标统计

github------指标统计

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

它的作用

它可以:

  • 统计git操作
  • 统计账户编程语言构成比例
  • 解除github只能置顶6个项目的限制
  • 自定义卡片主题

    更多详情,请浏览项目仓库:中文文档

特定项目统计

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

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中即可。

相关推荐
杨杨杨大侠7 分钟前
附录 1:🚀 Maven Central 发布完整指南:从零到成功部署
java·github·maven
Clownseven41 分钟前
腾讯云远程桌面连接不上?5步排查法解决RDP连接失败
云计算·github·腾讯云
Spider_Man2 小时前
打造属于你的前端沙盒 🎉
前端·typescript·github
CoderJia程序员甲3 小时前
GitHub 热榜项目 - 日榜(2025-09-10)
ai·开源·github·ai编程·github热榜
超人不会飛4 小时前
大模型应用 Vue H5 模板:快速落地流式交互与富文本渲染的开箱方案
前端·vue.js·github
mit6.8245 小时前
[邮件服务器core] 安全通信(SSL/TLS) | OpenSSL库管理 | 服务端安全SECURITY.md
c语言·github
xiaok5 小时前
把代码上传到gitee的时候,怎么忽略node_modules文件夹
git·gitlab·github
杨杨杨大侠5 小时前
Atlas-Event:高性能事件处理与监控系统
java·github·eventbus
杨杨杨大侠5 小时前
Atlas Event:解锁事件驱动的潜能
java·github·eventbus
BillKu6 小时前
GitHub 镜像站点
github