A TypeScript CLI application that helps you manage GitHub Pull Requests that require your attention.
- 📋 List all PRs that require your attention from configured repositories
- 🌐 Open PRs directly in your browser
- 🙈 Ignore PRs you don't want to see
- 👀 Watch mode: Run in background and get desktop notifications for new PRs
- ⚡ Fast and easy to use
npm install
npm run buildOr for development:
npm installBefore using the CLI, you need to configure it with your GitHub token and repositories:
npm run dev configureYou'll need:
- A GitHub Personal Access Token with
reposcope - List of repositories in
owner/repoformat (comma-separated)
The configuration is stored in ~/.pr-cli-config.json.
List PRs that require your attention:
npm run dev listThis will:
- Fetch all open PRs from your configured repositories
- Filter PRs where you are:
- Requested as a reviewer
- Assigned to the PR
- Mentioned in the PR title or description
- Show an interactive menu to:
- Open PRs in your browser
- Ignore specific PRs
- Exit
Run in the background and get notifications for new PRs:
npm run dev watchOr specify a custom check interval (in minutes):
npm run dev watch -- -i 10This will:
- Run in the background checking for new PRs
- Send desktop notifications when new PRs are found
- Remember which PRs you've already been notified about
- Continue running until you stop it (Ctrl+C)
# Run in development mode
npm run dev
# Build TypeScript
npm run build
# Run built version
pnpm startThe CLI:
- Uses GitHub's REST API via Octokit
- Stores configuration in
~/.pr-cli-config.json - Stores watch state in
~/.pr-cli-watch-state.json - Filters out PRs you created
- Shows only PRs that need your attention
- Sends native desktop notifications in watch mode
- Shows only PRs that need your attention
- Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic)
- Generate new token
- Select scopes:
repo(full control of private repositories) - Copy the token and use it during configuration
MIT