I made a tool that ranks reviewable PRs

toneric1 pts1 comments

GitHub - toniperic/pr-bro: 🖥️ TUI app that prioritizes pull request reviews using weighted scoring — so you always know which PR to review next. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

toniperic

pr-bro

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star<br>13

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>244 Commits<br>244 Commits

.github

.github

docs

docs

homebrew

homebrew

src

src

.gitignore

.gitignore

CHANGELOG.md

CHANGELOG.md

CONTRIBUTING.md

CONTRIBUTING.md

Cargo.lock

Cargo.lock

Cargo.toml

Cargo.toml

LICENSE

LICENSE

README.md

README.md

VERSIONING.md

VERSIONING.md

release-plz.toml

release-plz.toml

View all files

Repository files navigation

PR Bro

Know which PR to review next. PR Bro ranks pull requests by weighted scoring across your GitHub queries, so you always start with the most important review.

Requirements

GitHub Personal Access Token :

repo scope for private repos

public_repo for public only

Platforms :

macOS (Intel + Apple Silicon)

Linux (x64)

Installation

Homebrew (macOS)

brew tap toniperic/tap<br>brew install pr-bro

To upgrade:

brew upgrade pr-bro

Cargo

cargo install pr-bro

Requires Rust toolchain. Install from rustup.rs.

Binary Download

Download pre-built binaries from the GitHub Releases page. Extract and move to your PATH:

-.tar.gz<br>mv pr-bro /usr/local/bin/">tar -xzf pr-bro-version>-platform>.tar.gz<br>mv pr-bro /usr/local/bin/

Quick Usage

pr-bro

On first run, PR Bro will prompt you with a series of questions to set up your configuration. It will also ask for your GitHub token interactively. To skip the token prompt, set the PR_BRO_GH_TOKEN environment variable.

For the full list of configuration options, see the Configuration Reference.

Use pr-bro --help for all command-line options. Press ? in the TUI for keyboard shortcuts.

Features

Weighted scoring calculates a single priority number for each PR based on age, approval count, size, labels, draft status, and whether you've reviewed it before, all based on your preferences/configuration. Each parameter can be used to boost or penalize PRs score in any way you see fit.

Interactive TUI shows all PRs sorted by score. Navigate with arrow keys or vim bindings. Press b to see the score breakdown for any PR. Press r to refresh.

Multiple queries let you track different PR sets. Each query can override global scoring rules. First-match-wins when a PR appears in multiple queries.

Snooze PRs to hide them temporarily. Press s to snooze for a custom duration or indefinitely. Snoozed PRs live in a separate tab and don't clutter your main list.

Score breakdown shows exactly how a PR's score was calculated. See which factors contributed most. Press b on any PR to open the detail view.

Light and dark themes adapt to your terminal. PR Bro auto-detects your terminal background and picks the right color palette.

ETag-based HTTP caching reduces GitHub API calls. Auto-refresh only fetches if data changed on the server. Manual refresh bypasses in-memory cache.

Contributing

See CONTRIBUTING.md for development setup and commit message format.

License

MIT

About

🖥️ TUI app that prioritizes pull request reviews using weighted scoring — so you always know which PR to review next.

Topics

productivity

tui

code-review

Resources

Readme

License

MIT license

Contributing

Contributing

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

13<br>stars

Watchers

watching

Forks

forks

Report repository

Releases<br>15

v0.5.1

Latest

Apr 24, 2026

+ 14 releases

Packages

Uh oh!

There was an error while loading. Please reload this page.

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

Rust<br>100.0%

You can’t perform that action at this time.

github reload refresh contributing cargo scoring

Related Articles