Skip to content

kcosr/ghui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghui

Terminal UI for keeping up with your open GitHub pull requests across repositories.

ghui gives you one keyboard-driven place to review PR details, inspect diffs, manage labels, toggle draft state, merge, open PRs in GitHub, and copy PR metadata without leaving the terminal.

Install

npm install -g @kitlangton/ghui

Requirements:

  • Bun runtime installed
  • GitHub CLI installed and authenticated with gh auth login

Run it from anywhere:

ghui
image

Local Development

Clone, install, and link:

git clone https://github.com/kitlangton/ghui.git
cd ghui
bun install
bun link

Configuration

  • GHUI_AUTHOR: author passed to gh search prs, defaults to @me
  • GHUI_PR_FETCH_LIMIT: max PRs fetched, defaults to 200

Example:

GHUI_AUTHOR=@me ghui

You can also copy .env.example to .env and edit the values locally.

Keybindings

  • up / down: move selection
  • k / j: move selection
  • gg / G: jump to first or last pull request
  • ctrl-u / ctrl-d: page up or down
  • /: filter
  • enter: expand details
  • esc: return from expanded details or close modal
  • r: refresh
  • d: view diff
  • s: toggle draft or ready-for-review state
  • m: merge
  • x: close with confirmation
  • t: choose theme
  • l: manage labels
  • o: open PR in browser
  • y: copy PR metadata
  • q: quit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%