r/github • u/Ok-Address-3006 • 13m ago
Showcase Vibe-coded GitHub PR review TUI in Go
Repo: https://github.com/imeraj/gh-pr-review-tui
PR I was reviewing in video: https://github.com/imeraj/miscellaneous/pull/2
I got tired of bouncing between the browser, `gh`, and a terminal for PR reviews, so I built a full-screen TUI for reviewing GitHub pull requests.
It wraps the excellent gh-pr-review CLI extension with a Bubble Tea / Lip Gloss interface.
What it does
- Launches straight into PRs where your review is requested, across all states
- Overview tab with title, description rendered as Markdown, checks, statuses, annotations, labels, reviewers, comments, timeline, and media links
- Split/unified diff view with wrapped lines, side-aware comment targets, existing-comment icons, and a comment overlay
- Inline comments via `ctrl+c`, with pending-review recovery so you don’t hit GitHub’s “only one pending review” error
- Review submission modal: `c` = COMMENT, `a` = APPROVE, `r` = REQUEST CHANGES
- Mouse support: click PRs/diff lines, URLs, comment bubbles, `[ Reply ]`, tabs, and scroll
- File-name diff filter with tab autocomplete and preview
- Clickable `[ Open image ]` / `[ Play video ]` cards for media, including extensionless GitHub attachments
- No CLI flags. Run `gh-pr-review-tui` from inside a GitHub repo and press `R` to switch repos
Stack
Go, Bubble Tea, Lip Gloss, Glamour for Markdown, and `gh` + `gh-pr-review` under the hood.
Tested on Omarchy Linux. It should technically work on macOS as well, but terminal support may vary — mouse offsets and inline graphics are especially terminal-dependent.
About the AI part
This was entirely vibe-coded from scratch. I fed the AI only the requirements and never looked at the source code myself. Agents scaffolded the project, implemented the Bubble Tea model, wrote the `gh` integration, built the diff and overview screens, added tests, and helped chase down regressions like macOS mouse offsets, terminal wrapping, and Markdown/media interactions.
My job was to describe the behavior, run it, and report what was wrong. It was a pretty wild experiment: giving an agent only the requirements and iterating until the whole app actually worked.
Press `?` in the app for the full keybinding reference. Feedback, bug reports, and PRs are welcome.