github-topics
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGitHub Topics Trending
GitHub话题趋势仓库
Fetch GitHub topic trending repositories and README summaries.
获取GitHub话题趋势仓库及README摘要。
Quick Start
快速开始
undefinedundefinedView rankings
查看排行榜
今天 claude-code 话题排行榜
Top 10 GitHub 项目
热门仓库
今天 claude-code 话题排行榜
Top 10 GitHub 项目
热门仓库
View repository details
查看仓库详情
anthropics/claude-code 介绍
这个仓库是做什么的
undefinedanthropics/claude-code 介绍
这个仓库是做什么的
undefinedQuery Types
查询类型
| Type | Examples | Description |
|---|---|---|
| Rankings | | Current rankings by stars |
| Detail | | Repository README summary |
| Topic | | Custom topic search |
| 类型 | 示例 | 说明 |
|---|---|---|
| 排行榜 | | 按星标数展示当前排行 |
| 详情 | | 仓库README摘要 |
| 话题 | | 自定义话题搜索 |
Workflow
工作流程
- [ ] Step 1: Parse query type
- [ ] Step 2: Fetch data from GitHub
- [ ] Step 3: Format and display results- [ ] 步骤1:解析查询类型
- [ ] 步骤2:从GitHub获取数据
- [ ] 步骤3:格式化并展示结果Step 1: Parse Query Type
步骤1:解析查询类型
| User Input | Query Type | Action |
|---|---|---|
| rankings | Show top N repos |
| rankings | Show top N repos |
| detail | Get README summary |
| rankings | Search python topic |
| 用户输入 | 查询类型 | 操作 |
|---|---|---|
| 排行榜 | 展示前N个仓库 |
| 排行榜 | 展示前N个仓库 |
| 详情 | 获取README摘要 |
| 排行榜 | 搜索Python话题仓库 |
Step 2: Fetch Data
步骤2:获取数据
Fetch Rankings
获取排行榜数据
bash
cd skills/github-topics
python src/github_fetcher.pyRequirements:
bash
pip install requestsbash
cd skills/github-topics
python src/github_fetcher.py依赖要求:
bash
pip install requestsFetch README (Optional)
获取README(可选)
bash
python src/readme_fetcher.pybash
python src/readme_fetcher.pyStep 3: Format Results
步骤3:格式化结果
Rankings Output
排行榜输出
markdown
undefinedmarkdown
undefinedGitHub Trending - python
GitHub趋势 - Python
| # | Repository | Stars | Language |
|---|---|---|---|
| 1 | donnemartin/system-design-primer | 334K | Python |
| 2 | vinta/awesome-python | 281K | Python |
| 3 | project-based-learning | 257K | - |
undefined| 序号 | 仓库 | 星标数 | 编程语言 |
|---|---|---|---|
| 1 | donnemartin/system-design-primer | 334K | Python |
| 2 | vinta/awesome-python | 281K | Python |
| 3 | project-based-learning | 257K | - |
undefinedDetail Output
详情输出
markdown
undefinedmarkdown
undefinedanthropics/claude-code
anthropics/claude-code
Stars: 15.2K
Language: TypeScript
URL: https://github.com/anthropics/claude-code
星标数: 15.2K
编程语言: TypeScript
链接: https://github.com/anthropics/claude-code
README Summary
README摘要
Official Claude Code CLI for AI-powered software development. Claude Code is Anthropic's official CLI tool...
---Anthropic官方的Claude Code CLI,用于AI驱动的软件开发。Claude Code是Anthropic推出的官方CLI工具...
---Configuration
配置说明
| Variable | Description | Default |
|---|---|---|
| GitHub Personal Access Token (optional, for higher rate limits) | - |
| GitHub topic to track | |
Note: is optional but recommended:
GH_TOKEN- With token: 5,000 requests/hour
- Without token: 60 requests/hour
Create token at: https://github.com/settings/tokens
| 变量 | 说明 | 默认值 |
|---|---|---|
| GitHub个人访问令牌(可选,用于提高请求限额) | - |
| 要跟踪的GitHub话题 | |
注意: 是可选的,但推荐使用:
GH_TOKEN- 携带令牌: 每小时5000次请求
- 不携带令牌: 每小时60次请求
GitHub API Notes
GitHub API说明
| Limit Type | Rate |
|---|---|
| Authenticated | 5,000 requests/hour |
| Unauthenticated | 60 requests/hour |
Recommendation: Use for higher rate limits.
GH_TOKEN| 限额类型 | 请求限额 |
|---|---|
| 已认证 | 每小时5000次请求 |
| 未认证 | 每小时60次请求 |
建议: 使用以获得更高的请求限额。
GH_TOKENTroubleshooting
问题排查
| Issue | Solution |
|---|---|
| Rate limit | Set |
| Network timeout | Check internet connection |
| Empty results | Check topic name exists |
| 问题 | 解决方法 |
|---|---|
| 请求限额超限 | 设置 |
| 网络超时 | 检查网络连接 |
| 无结果返回 | 检查话题名称是否存在 |
CLI Reference
CLI参考
bash
undefinedbash
undefinedFetch rankings (default topic: claude-code)
获取排行榜数据(默认话题:claude-code)
python skills/github-topics/src/github_fetcher.py
python skills/github-topics/src/github_fetcher.py
Fetch README
获取README
python skills/github-topics/src/readme_fetcher.py
undefinedpython skills/github-topics/src/readme_fetcher.py
undefined