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

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

Description and use

A 40‑line Python bot uses a free AI model to rank open GitHub PRs by urgency and outputs a Markdown digest every 30 minutes, running on a free server with no cost.

Problem

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

Outcome

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.

Workflow

  • 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.

Evidence

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

Source

Total cost: one weekend and zero dollars.

Source

  • Record date: 2026-09-08T03:44:27.354Z