GitHub App that auto-closes low-signal PRs. Pay to reopen.
Clear the bar with signal, or clear it with a dollar.
- Watches
pull_request.openedevents - Runs detection heuristics on title, body, and code patches
- If flagged: posts a comment with a payment link, then closes the PR
- If clean: does nothing
Not a moderation platform. Not a jury system. A toll road.
- Emoji in PR title/body
- Emoji in code
- AI boilerplate phrases ("This PR implements...", "Key changes:", "Feel free to...")
- Disproportionately long descriptions for small changes
- Verbose explanatory code comments
- Heavy bullet/numbered list formatting
Threshold is score-based. Single weak signals don't trigger. Combined signals do.
Two clicks:
- Go to
https://github.com/apps/YOUR_APP_NAME/installations/new - Select your repos
That's it.
- Pull requests: Read & write (to comment and close)
- Issues: Read & write (PR comments use the Issues API)
- Metadata: Read
Cannot push code. Cannot read secrets. Cannot delete anything.
npm install
npm run build
npm startGITHUB_APP_ID=
GITHUB_PRIVATE_KEY= # PEM or base64-encoded PEM
GITHUB_WEBHOOK_SECRET=
STRIPE_PAYMENT_LINK_URL= # Static link, no processing
REOPEN_FEE_USD=10 # Shown in comment
PORT=3000
DRY_RUN=false # true = log only, no actions
POST /webhook— GitHub webhook receiverGET /health— Returns{"status":"ok"}
If you want a human's time, don't dump slop. If you still want to push slop, drop a buck.
Both are valid. One is cheaper.
MIT