A command-line tool written in Rust that lists all your GitHub Pull Requests across repositories in an interactive interface.
- Rust and Cargo (install from rustup.rs)
fzfcommand-line fuzzy finderbatfor syntax highlighting in previews- A GitHub personal access token
- Clone this repository
- Create a
.envfile in the project root with your GitHub token:GITHUB_TOKEN=your_github_token_here - Build the project:
cargo build --release
By default, the tool shows PRs for the current git repository:
cargo run --releaseTo list PRs from all your repositories:
cargo run --release -- --allThe tool will:
- Fetch your PRs from GitHub (either from current repository or all repositories)
- Display them in an interactive fzf interface
- Show PR details with syntax-highlighted previews
- Allow you to select a PR to view its details
- Lists PRs from current repository by default
- Optional
--allflag to show PRs from all repositories - Interactive fuzzy search interface
- Syntax-highlighted PR body previews
- Color-coded PR states (OPEN, CLOSED, DRAFT)
- Relative timestamps
- Sorted by status and update time
The tool requires the following command-line utilities:
fzffor the interactive interfacebatfor syntax highlighting in previews
Install them using your package manager:
# macOS
brew install fzf bat
# Ubuntu/Debian
sudo apt install fzf bat
# Arch Linux
sudo pacman -S fzf bat