github-topics

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

GitHub Topics Trending

GitHub话题趋势仓库

Fetch GitHub topic trending repositories and README summaries.
获取GitHub话题趋势仓库及README摘要。

Quick Start

快速开始

undefined
undefined

View rankings

查看排行榜

今天 claude-code 话题排行榜 Top 10 GitHub 项目 热门仓库
今天 claude-code 话题排行榜 Top 10 GitHub 项目 热门仓库

View repository details

查看仓库详情

anthropics/claude-code 介绍 这个仓库是做什么的
undefined
anthropics/claude-code 介绍 这个仓库是做什么的
undefined

Query Types

查询类型

TypeExamplesDescription
Rankings
热门仓库
Top 10
Current rankings by stars
Detail
xxx/xxx 介绍
Repository README summary
Topic
python 话题排行榜
Custom topic search
类型示例说明
排行榜
热门仓库
Top 10
按星标数展示当前排行
详情
xxx/xxx 介绍
仓库README摘要
话题
python 话题排行榜
自定义话题搜索

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 InputQuery TypeAction
热门仓库
rankingsShow top N repos
Top 10 项目
rankingsShow top N repos
xxx/xxx 介绍
detailGet README summary
python 话题
rankingsSearch python topic

用户输入查询类型操作
热门仓库
排行榜展示前N个仓库
Top 10 项目
排行榜展示前N个仓库
xxx/xxx 介绍
详情获取README摘要
python 话题
排行榜搜索Python话题仓库

Step 2: Fetch Data

步骤2:获取数据

Fetch Rankings

获取排行榜数据

bash
cd skills/github-topics
python src/github_fetcher.py
Requirements:
bash
pip install requests
bash
cd skills/github-topics
python src/github_fetcher.py
依赖要求:
bash
pip install requests

Fetch README (Optional)

获取README(可选)

bash
python src/readme_fetcher.py

bash
python src/readme_fetcher.py

Step 3: Format Results

步骤3:格式化结果

Rankings Output

排行榜输出

markdown
undefined
markdown
undefined

GitHub Trending - python

GitHub趋势 - Python

#RepositoryStarsLanguage
1donnemartin/system-design-primer334KPython
2vinta/awesome-python281KPython
3project-based-learning257K-
undefined
序号仓库星标数编程语言
1donnemartin/system-design-primer334KPython
2vinta/awesome-python281KPython
3project-based-learning257K-
undefined

Detail Output

详情输出

markdown
undefined
markdown
undefined

anthropics/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

配置说明

VariableDescriptionDefault
GH_TOKEN
GitHub Personal Access Token (optional, for higher rate limits)-
TOPIC
GitHub topic to track
claude-code
Note:
GH_TOKEN
is optional but recommended:
  • With token: 5,000 requests/hour
  • Without token: 60 requests/hour

变量说明默认值
GH_TOKEN
GitHub个人访问令牌(可选,用于提高请求限额)-
TOPIC
要跟踪的GitHub话题
claude-code
注意:
GH_TOKEN
是可选的,但推荐使用:
  • 携带令牌: 每小时5000次请求
  • 不携带令牌: 每小时60次请求

GitHub API Notes

GitHub API说明

Limit TypeRate
Authenticated5,000 requests/hour
Unauthenticated60 requests/hour
Recommendation: Use
GH_TOKEN
for higher rate limits.

限额类型请求限额
已认证每小时5000次请求
未认证每小时60次请求
建议: 使用
GH_TOKEN
以获得更高的请求限额。

Troubleshooting

问题排查

IssueSolution
Rate limitSet
GH_TOKEN
env var
Network timeoutCheck internet connection
Empty resultsCheck topic name exists

问题解决方法
请求限额超限设置
GH_TOKEN
环境变量
网络超时检查网络连接
无结果返回检查话题名称是否存在

CLI Reference

CLI参考

bash
undefined
bash
undefined

Fetch 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
undefined
python skills/github-topics/src/readme_fetcher.py
undefined