GitHub Rising Stars
Discovers fast-growing GitHub repositories that haven't made the official Trending page yet, by querying the GitHub Search API across multiple dimensions and ranking by stars per day.
Quick Start
Run the bundled script directly:
CODEBLOCK0
Default: repos created in the last 3 days, min 20 stars, top 15 results.
Script Options
CODEBLOCK1
Examples
CODEBLOCK2
How It Works
- 1. Multi-query search — runs 3 GitHub API queries with overlapping time/star ranges to maximize coverage
- Deduplication — merges results by repo ID
- Spam filtering — removes known low-quality signals (crypto bots, game hacks, follower farms, etc.)
- Rate calculation — computes
stars / age_in_days for each repo - Ranked output — sorts by rate descending, shows top N
Interpreting Results
- - Rate > 200/day: Viral — likely hits Trending within 24h
- Rate 50–200/day: Fast-rising — worth watching
- Rate < 50/day: Early signal — may accelerate
Repos with no description or no language tag may be spam or private mirrors — apply extra scrutiny.
Agent Workflow
When a user asks to find rising repos:
- 1. Run
python3 scripts/find_rising.py with appropriate flags - Present results in a clean table, grouped by theme/category if patterns emerge
- Highlight repos worth deeper investigation (high rate + meaningful description + known author)
- Optionally open top repos in browser for quick review
Limitations
- - GitHub Search API is unauthenticated by default — rate limit: 10 requests/min. Add a
Authorization: token <PAT> header in the script for higher limits. - Results reflect repos created recently; established repos that suddenly spike are not captured (use
pushed filter variant for that). - Stars can be artificially inflated; cross-reference with Hacker News / Reddit for validation.
GitHub Rising Stars
通过跨多个维度查询GitHub搜索API,并按每日星标数排序,发现尚未登上官方趋势页面的快速增长GitHub仓库。
快速开始
直接运行捆绑脚本:
bash
python3 scripts/find_rising.py
默认设置:查找最近3天内创建、至少20个星标、返回前15个结果。
脚本选项
python3 scripts/find_rising.py [选项]
--days N 回溯天数(默认:3,范围:1-7)
--min-stars N 最低星标数阈值(默认:20)
--top N 返回结果数量(默认:15)
--lang LANG 按编程语言筛选(例如:Python、TypeScript、Go)
--json 输出机器可读的JSON格式
示例
bash
查找过去5天内快速增长的Python仓库
python3 scripts/find_rising.py --days 5 --lang Python
查找至少50个星标的前20个仓库
python3 scripts/find_rising.py --min-stars 50 --top 20
输出JSON格式以便进一步处理
python3 scripts/find_rising.py --json
工作原理
- 1. 多查询搜索 — 执行3个GitHub API查询,使用重叠的时间/星标范围以最大化覆盖率
- 去重 — 按仓库ID合并结果
- 垃圾过滤 — 移除已知的低质量信号(加密货币机器人、游戏外挂、粉丝农场等)
- 速率计算 — 计算每个仓库的星标数 / 存在天数
- 排序输出 — 按速率降序排列,显示前N个结果
结果解读
- - 速率 > 200/天:病毒式传播 — 可能在24小时内登上趋势榜
- 速率 50–200/天:快速增长 — 值得关注
- 速率 < 50/天:早期信号 — 可能加速增长
没有描述或没有语言标签的仓库可能是垃圾信息或私有镜像 — 需额外仔细甄别。
智能体工作流程
当用户要求查找增长中的仓库时:
- 1. 使用适当的标志运行python3 scripts/find_rising.py
- 以清晰的表格形式呈现结果,如果出现模式则按主题/类别分组
- 突出显示值得深入研究的仓库(高速率 + 有意义的描述 + 知名作者)
- 可选地在浏览器中打开顶部仓库以便快速查看
局限性
- - GitHub搜索API默认未认证 — 速率限制:10次请求/分钟。在脚本中添加Authorization: token 标头可提高限制。
- 结果反映的是最近创建的仓库;已建立但突然飙升的仓库不会被捕获(可使用pushed过滤变体)。
- 星标数可能被人为夸大;建议与Hacker News / Reddit交叉验证。