展示 HN:GitShow 仓库展示厅 – 任何 GitHub 仓库的登陆页面

1作者: ofershap2 个月前原帖
我想要一种快速查看开源项目动态的方法,而不必在10个GitHub标签页之间反复点击。贡献者、编程语言、提交活动、社区健康、最近的PR——这些信息分散在不同的页面上。 GitShow现在为任何公共仓库生成一个展示页面。只需访问 gitshow.dev/owner/repo。 试试以下几个链接: ``` gitshow.dev/facebook/react gitshow.dev/vercel/next.js gitshow.dev/solidjs/solid gitshow.dev/ofershap/mcp-server-devutils ``` 每个页面显示: - 顶级贡献者及其准确的总数。GitHub的API每页最多返回30个,所以我使用了链接头分页技巧(请求 per_page=1,读取最后一页的页码)来获取真实的数字。facebook/react显示大约有2000名贡献者,而不是30名。 - 语言分布以可视化条形图形式展示,以及来自参与统计API的每周提交火花线。 - 社区健康评分:该仓库是否有README、许可证、贡献指南、行为规范、问题/PR模板?这些信息来自GitHub的社区资料端点。 - 最近的开放PR和最近合并的修复。机器人作者(如dependabot、renovate等)被过滤掉。正文中的Markdown和HTML片段被转换为纯文本。 - 在主卡片内的快速操作:在GitHub上加星、Fork、克隆(复制git克隆命令)以及JS/TS仓库的npm链接。 - 面包屑导航:GitShow / owner / repo。 每个页面都包含Schema.org的SoftwareSourceCode结构化数据和BreadcrumbList,因此可以在AI搜索引擎(如ChatGPT、Perplexity、Google AI)中显示。 每个页面底部还有一个专门为抓取网页的LLM代理提供的结构化数据块——以机器可读的格式呈现的关键统计信息。 技术栈:Next.js,支持1小时的ISR,所有数据来自GitHub REST API,除了两个小的交互功能(复制到剪贴板和滚动到顶部)外,没有客户端JS。使用Tailwind和Vercel。 无需注册,无需AI处理,无需付费墙。采用MIT许可证。 源代码: [https://github.com/ofershap/gitshow](https://github.com/ofershap/gitshow)
查看原文
I wanted a way to quickly see what&#x27;s going on in an open source project without clicking through 10 GitHub tabs. Contributors, languages, commit activity, community health, recent PRs - all scattered across different pages.<p>GitShow now generates a showroom page for any public repo. Just visit gitshow.dev&#x2F;owner&#x2F;repo.<p>Try a few:<p><pre><code> gitshow.dev&#x2F;facebook&#x2F;react gitshow.dev&#x2F;vercel&#x2F;next.js gitshow.dev&#x2F;solidjs&#x2F;solid gitshow.dev&#x2F;ofershap&#x2F;mcp-server-devutils </code></pre> Each page shows:<p>- Top contributors with accurate total count. GitHub&#x27;s API returns max 30 per page, so I use the Link header pagination trick (request per_page=1, read the last page number) to get the real number. facebook&#x2F;react shows ~2,000 contributors, not 30.<p>- Language breakdown as a visual bar and weekly commit sparkline from the participation stats API.<p>- Community health score: does the repo have a README, license, contributing guide, code of conduct, issue&#x2F;PR templates? Pulled from GitHub&#x27;s community profile endpoint.<p>- Recent open PRs and recently merged fixes. Bot authors (dependabot, renovate, etc.) are filtered out. Markdown and HTML in body snippets are stripped to plain text.<p>- Quick actions inside the hero card: Star on GitHub, Fork, Clone (copies the git clone command), and an npm link for JS&#x2F;TS repos.<p>- Breadcrumb navigation: GitShow &#x2F; owner &#x2F; repo.<p>Every page includes Schema.org SoftwareSourceCode structured data and a BreadcrumbList, so it surfaces in AI search engines (ChatGPT, Perplexity, Google AI).<p>There&#x27;s also a structured data block at the bottom of each page specifically for LLM agents scraping the web - key stats in a machine-readable format.<p>Stack: Next.js with 1-hour ISR, all data from GitHub REST API, zero client JS except two small interactive bits (clone-to-clipboard and scroll-to-top). Tailwind, Vercel.<p>No signup, no AI processing, no paywall. MIT licensed.<p>Source: <a href="https:&#x2F;&#x2F;github.com&#x2F;ofershap&#x2F;gitshow" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ofershap&#x2F;gitshow</a>