GitHub 仓库统计工具GitHub Repo Stats
Simon Willison 开发了一款名为 GitHub Repo Stats 的工具,用于获取仓库提交次数等关键指标。该工具通过 REST 或 GraphQL API 绕过 GitHub 移动端缺失的数据展示问题,帮助开发者快速评估项目活跃度。
Simon Willison
Tool GitHub Repo Stats — Enter a GitHub repository URL or `owner/repo` identifier to see comprehensive stats fetched directly from the GitHub REST API in your browser. The tool reports total commits, contributors, branches, tags, releases, open pull requests, language breakdown, top contributors, latest release, license, and key dates. Total counts are derived from the `Link` header on `?per_page=1` requests, which avoids paging through every item.
One of the things I always look for when evaluating a new GitHub repository is the number of commits it has... but that number isn't visible on GitHub's mobile site layout. I built this tool to fix that, using this prompt:
Given a GitHub repo URL or foo/bar repo ID show information about that repo absorbed via wither REST or graphql CORS fetch() including the number of commits in the repo and other useful stats
Example output for simonw/datasette and simonw/llm.
需要完整排版与评论请前往来源站点阅读。