whatisgithub

What is pr-reminder-bot?

enox77/pr-reminder-bot — explained in plain English

Analysis updated 2026-05-18

2JavaScriptAudience · developerComplexity · 2/5Setup · moderate

In one sentence

A scheduled bot that posts Slack reminders for GitHub pull requests that have sat too long without a review.

Mindmap

mindmap
  root((repo))
    What it does
      Checks for stale PRs
      Posts Slack reminders
      Avoids repeat notifications
    Tech stack
      Node.js
      GitHub API
      Slack webhooks
    Use cases
      Catch forgotten PRs
      Automate review reminders
      Run on a schedule
    Audience
      Dev teams
      Team leads
    Setup
      GitHub token
      Slack webhook
      .env config

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Get a Slack alert when a pull request has gone unreviewed past a chosen time limit.

USE CASE 2

Run the check automatically on a schedule using systemd, cron, or GitHub Actions.

USE CASE 3

Monitor multiple repositories for stale pull requests at once.

USE CASE 4

Avoid PR review backlog by surfacing forgotten requests before they go stale.

What is it built with?

JavaScriptNode.jsGitHub APISlack

How does it compare?

enox77/pr-reminder-bot3imed-jaberi/cryptography-si-isamm3imed-jaberi/koa-isomorphic-router
Stars222
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-09-252021-02-06
MaintenanceDormantDormant
Setup difficultymoderateeasyeasy
Complexity2/51/52/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a GitHub token, a Slack incoming webhook, and Node.js 18+.

So what is it?

This project is a small bot that watches your GitHub repositories for pull requests that have been sitting open without a review for too long, and then posts a reminder message to Slack listing them. The default cutoff is 24 hours, but you can set your own threshold. Setup involves getting a GitHub token with read-only access to pull requests on the repos you want to watch, and creating a Slack app with an incoming webhook so the bot has somewhere to post. The README offers a guided setup script that walks you through entering these values and writing them into a configuration file, or you can do each step manually. There is also a manual command to run the check once and confirm it works before scheduling it. Because this is meant to run on a recurring schedule rather than by hand, the README covers a few ways to automate it: a systemd timer on Linux that runs it every hour, a simple cron job on macOS or Linux, or deploying it as a scheduled GitHub Action or Cloudflare Worker if you would rather not manage a machine yourself. To avoid spamming the same channel repeatedly about the same pull request, the bot keeps a small local file that tracks which pull requests it has already flagged and at what age. It only sends a new notification once a pull request crosses into the next threshold multiple, so a 24 hour threshold means a PR gets flagged at 24 hours, then again at 48 hours if still unreviewed, and so on. This lets you run the check as frequently as you like without getting repeated alerts for the same PR. The README includes a clear security note that the configuration file holds real secrets, a GitHub token and a Slack webhook URL, and warns not to commit that file or share it in chat tools, and to revoke and regenerate both if they are ever exposed. This tool would suit any team using GitHub and Slack together who wants pull requests to stop going unnoticed.

Copy-paste prompts

Prompt 1
Walk me through setting up this bot's GitHub token and Slack webhook for my team's repos.
Prompt 2
Help me deploy this PR reminder bot as a scheduled GitHub Action instead of a cron job.
Prompt 3
Explain how the dedupe logic in notifyCache.js decides when to re-notify about a PR.
Prompt 4
Adapt this bot to also flag pull requests missing a linked issue.

Frequently asked questions

What is pr-reminder-bot?

A scheduled bot that posts Slack reminders for GitHub pull requests that have sat too long without a review.

What language is pr-reminder-bot written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js, GitHub API.

How hard is pr-reminder-bot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pr-reminder-bot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.