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

相关推荐
潘晓可1 小时前
从自建Github实例迁移仓库到SaaS版Github
github
极客小云1 小时前
【基于AI的自动商品试用系统:不仅仅是虚拟试衣!】
javascript·python·django·flask·github·pyqt·fastapi
Harvey6611 小时前
2026年02月02日最热门的开源项目(Github)
开源项目·周榜·月榜·活跃项目·热门项目·github 榜单·2026年02月02日
念丶小宇14 小时前
Github上传大文件
github
极智-99618 小时前
GitHub 热榜项目-日榜精选(2026-02-03)| AI智能体、终端工具、RAG技术等 | claude-mem、99、termux-app等
人工智能·网络安全·github·ai智能体·llm应用·rag技术·torrent工具
骂我的人都死了19 小时前
DevOps架构部署
运维·ubuntu·docker·k8s·github·devops·python3.11
Alaaaaaaan19 小时前
[DevOps]使用github-action工具部署docker容器(实现提交代码一键推送部署到服务器)
服务器·前端·docker·容器·github
CryptoRzz20 小时前
德国股票数据 API 对接实战(DAX 指数与实时行情)
websocket·区块链·github·分布式账本
Tipriest_21 小时前
GitHub Gist 功能详解:从入门到进阶
github·gist
困惑阿三1 天前
CloudflarePages+GitHub零成本博客搭建手册
github