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

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

Описание и применение

Бот на Python, использующий бесплатный AI, ранжирует открытые PR‑ы по срочности и выводит их в Markdown‑файл каждые 30 минут. Он требует лишь 40 строк кода и бесплатный сервер.

Задача

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