name: gitclassic
description: "为 AI 代理优化的快速、无 JavaScript 的 GitHub 浏览器。浏览公共仓库、读取文件、查看 README,加载时间低于 500 毫秒。PRO 版通过 GitHub OAuth 支持私有仓库访问。"
author: heythisischris
version: 1.0.0
license: MIT
homepage: https://gitclassic.com
GitClassic 是一个纯服务器端渲染的 HTML 界面,专为 GitHub 提供只读访问。它无需 JavaScript、无冗余代码,实现即时加载。非常适合需要浏览仓库但不想处理 GitHub 繁重客户端渲染的 AI 代理。
在以下场景中使用 GitClassic:
- 快速浏览 GitHub 仓库
- 读取公共仓库的文件内容
- 查看 README 和文档
- 搜索用户、组织或仓库
- 访问私有仓库(PRO 功能)
将 GitHub URL 中的 github.com 替换为 gitclassic.com:
# 仓库根目录
https://gitclassic.com/{owner}/{repo}
# 文件浏览器
https://gitclassic.com/{owner}/{repo}/tree/{branch}/{path}
# 文件内容
https://gitclassic.com/{owner}/{repo}/blob/{branch}/{path}
# 用户/组织资料
https://gitclassic.com/{username}
# 搜索
https://gitclassic.com/search?q={query}
# 查看仓库
curl https://gitclassic.com/facebook/react
# 读取特定文件
curl https://gitclassic.com/facebook/react/blob/main/README.md
# 浏览目录
curl https://gitclassic.com/facebook/react/tree/main/packages
# 搜索仓库
curl "https://gitclassic.com/search?q=machine+learning"
# 查看用户资料
curl https://gitclassic.com/torvalds
| 特性 | github.com | gitclassic.com |
|---|---|---|
| 页面加载 | 2-5 秒 | <500 毫秒 |
| 需 JavaScript | 是 | 否 |
| HTML 复杂度 | 高(React 单页应用) | 极简(服务器端渲染) |
| 速率限制 | 未认证 60 次/小时 | 缓存响应 |
| AI 代理友好性 | 解析困难 | 简洁、语义化的 HTML |
如需访问私有仓库,用户需要订阅 GitClassic PRO(19 美元/年或 49 美元/终身)。认证通过 GitClassic 网站上的 GitHub OAuth 处理。
认证后,代理可以使用相同的 URL 模式访问用户已授权的任何私有仓库。
gh CLI 或 GitHub APIgithub - 用于读写操作的完整 GitHub CLIgithub-pr - 拉取请求管理与测试read-github - 通过 gitmcp.io 的替代 GitHub 阅读器