登录 注册

github-stats

去点 Star
开发者工具
3,562
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Zig
语言
—
创建时间
最近更新

项目能做什么

为个人主页生成更美观的 GitHub 统计图表,同时支持统计私有仓库数据。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# [GitHub Stats Visualization](https://github.com/jstrieb/github-stats)

<!--
https://github.community/t/support-theme-context-for-images-in-light-vs-dark-mode/147981/84
-->

<div align="center">
<a href="https://github.com/jstrieb/github-stats">
<img src="https://github.com/jstrieb/github-stats/blob/generated/overview.svg#gh-dark-mode-only" />
<img src="https://github.com/jstrieb/github-stats/blob/generated/languages.svg#gh-dark-mode-only" />
<img src="https://github.com/jstrieb/github-stats/blob/generated/overview.svg#gh-light-mode-only" />
<img src="https://github.com/jstrieb/github-stats/blob/generated/languages.svg#gh-light-mode-only" />
</a>
</div>

Generate visualizations of GitHub user and repository statistics with GitHub
Actions. Visualizations can include data from private repositories, and from
repositories you have contributed to, but do not own.

Generated images automatically switch between GitHub light theme and GitHub
dark theme.


## Background

When someone views a GitHub profile, it is often because they are curious about
the user's open-source contributions. Unfortunately, that user's stars, forks,
and pinned repositories do not necessarily reflect the contributions they make
to private repositories. The data likewise does not present a complete picture
of the user's total contributions beyond the current year.

This project aims to collect a variety of profile and repository statistics
using the GitHub API. It then generates images that can be displayed in
repository READMEs, or in a user's [Profile
README](https://docs.github.com/en/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme).
It also dumps all statistics to a JSON file that can be used for further data
analysis.

Since this project runs on GitHub Actions, no server is required to regularly
regenerate the images with updated statistics. Likewise, since the user runs the
analysis code themselves via GitHub Actions, they can use their GitHub access
token to collect statistics on private repositories that an external service
would be unable to access.


## Disclaimer

The GitHub statistics API returns inaccurate results in some situations:

- Total lines of code modified may be too high or too low
  - GitHub counts changes to files like `package-lock.json` that may inflate the
    line count in surprising ways
  - On the other hand, GitHub refuses to count lines of code for repositories
    with more than 10,000 commits, so contributions to those will not be
    reflected in the data at all
  - [The GitHub API endpoint for computing contributor statistics no longer
    works reliably](https://github.com/orgs/community/discussions/192970), so we
    fall back on computing the statistics ourselves by cloning each repository
    locally and tallying lines changed with the `git` CLI
    - Our computed totals likely under-count relative to GitHub's, since theirs
      correctly attribute authorship for contributions to pull requests with
      s
阅读完整原文

项目深度分析 AI 生成

零配置 Hosted GitHub 个人品牌看板与动态卡片 SaaS

产品构想将原项目需 Fork 并自建 GitHub Actions 的模式转变为托管式 SaaS,用户通过 GitHub OAuth 授权即可获得高定制、多主题、支持嵌入 README 的 SVG/PNG 统计卡片与动态网页。
核心功能一键 OAuth 接入(按需授权私有库只读)、多套高级 UI 主题(支持深浅色自适应)、自定义排除特定仓库/文件(如锁文件过滤)、CDN 加速的动态徽章托管。
目标用户不愿维护 Actions 脚本的普通开发者、追求极简配置的设计型程序员。
难度/周期低至中等 · 2-4 周 · 成本:轻量级云服务器/Serverless 函数与 CDN 流量费(约 $15-50/月)。
收费模式免费提供基础统计图;高级视觉主题、高频刷新率、解除展示限制按月/年订阅(如 $3/月或 $29/终身)。
竞争风险开源竞品(如 github-readme-stats 等)较多,用户付费门槛较高;私有库授权涉及敏感凭证安全问题。
依据 已验证事实

开发者工程履历与技能图谱量化报告(PDF/Web)

产品构想利用项目提取私有库及全量 Git 提交数据的能力,生成面向技术求职、晋升评审的深度量化技能报告,去除膨胀代码(如自动生成的依赖文件),客观呈现工程产出。
核心功能清洗依赖/自动生成文件后的净代码贡献统计、长期技术栈迁移演进图谱、一键导出为带防伪验证的 PDF/可分享加密链接、与 LinkedIn 兼容的技能徽章。
目标用户正在求职的高级工程师、外包接单技术人员、技术猎头与 HR。
难度/周期中等 · 4-6 周 · 成本:静态渲染服务与文档存储成本(约 $20-80/月)。
收费模式按次付费生成专业求职报告(如 $9.9/份),或求职期订阅($19/月);猎头端批量背调查询按调用量收费。
竞争风险求职为低频场景,获客成本(CAC)可能偏高;GitHub API 限制及大仓库克隆耗时容易影响生成体验。
依据 数据支持的判断

研发团队贡献与效能洞察插件(Team Edition)

产品构想针对初创团队或研发外包工作室,提供跨组织、跨多私有代码库的代码贡献沉淀、语言分布与活跃度分析看板,帮助管理层识别核心贡献者与技术栈负载。
核心功能多账号/组织聚合分析、排除非业务代码(lock/generated)干扰的真实代码量统计、成员技能矩阵与风险提示(如单点依赖)、周度/月度团队效能数据导出。
目标用户初创公司 CTO、外包研发团队负责人、技术项目经理。
难度/周期中等至高 · 8-12 周 · 成本:任务调度服务、多节点 Git 处理沙箱、数据库存储(约 $100-300/月)。
收费模式B2B SaaS 阶梯订阅,按被统计开发者席位收费(如 $5/席位/月)。
竞争风险GPL-3.0 协议限制需注意核心逻辑闭源改造或合规重写;企业可能对第三方工具拉取完整私有库元数据持合规担忧。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建时间待补全,最近推送 ,发布过 3 个 Release
社区活跃Star 3,562 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。