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

相关推荐
GoGeekBaird8 小时前
我开源了 BeeWeave,给 AI Agent 搭一个越用越懂你的知识创作台
后端·github
fthux9 小时前
GitZip Pro 源码解析:一个 GitHub 文件/文件夹下载扩展是如何工作的(一)整体架构与扩展入口
人工智能·ai·开源·github·open source
第一程序员10 小时前
Rust Agent 子进程执行:Command 之前,先定义输入和超时
python·rust·github
2501_9369603611 小时前
GitHub初步了解
github
wangruofeng12 小时前
11 万 Star 的生成式 AI 入门课,Microsoft 做对了什么
github·aigc·ai编程
IOT那些事儿13 小时前
GitHub Profile 429: Too Many Requests
github·profile·429
峰向AI13 小时前
Agent 看不了视频?这个 7K Star 的开源插件一招搞定
github
程序员吕洞宾13 小时前
开源多维表格SmartTable V1.6:自动化工作流,把重复操作交给系统即可
开源·自动化·github·多维表格·飞书多维表
zqx_713 小时前
【无标题】
github
FreeBuf_14 小时前
公开GitHub Issue可诱骗AI泄露私有数据,绕过防护仅需一词
人工智能·github·issue