Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Build Log: A Free AI PR Triage Bot (and the Features I Cut)

说明与用途

一个 40 行 Python 脚本使用免费 AI 模型按紧急程度对 GitHub PR 进行排序,并每 30 分钟输出一次 Markdown 摘要,运行在免费服务器上,无需费用。

问题

GitHub notifications treat all open PRs equally, making it hard to prioritize which ones need immediate attention.

结果

The bot runs for free, costs zero dollars, and requires only about forty lines of code. It successfully ranks PRs by urgency and outputs a digest that survives a full day without babysitting.

工作流

  • 1. Fetch open PRs via GitHub REST API using plain Python.
  • 2. Construct a prompt listing up to 10 PRs and send it to MonkeyCode’s free chat‑completion endpoint to receive a JSON ranking.
  • 3. Write the ranking to a Markdown file, overwriting the previous digest.
  • 4. Run the script every 30 minutes via a free server cron job.

证据

The bot writes a Markdown file. That is the whole UI. A cron job triggers it. That is the whole scheduler.

来源

Total cost: one weekend and zero dollars.

来源

  • 记录日期: 2026-09-08T03:44:27.354Z