惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
博客园 - 三生石上(FineUI控件)
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
V
Visual Studio Blog
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MongoDB | Blog
MongoDB | Blog
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
L
LangChain Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
博客园 - 司徒正美

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
gitui: a tiny TUI for your pull requests
Thales Bruno · 2026-05-08 · via DEV Community
Cover image for gitui: a tiny TUI for your pull requests

Thales Bruno

If you spend most of your day in the terminal — especially nowadays with Claude Code and other agentic AI tools, many of which ship with a CLI or TUI (Text-based User Interface: a UI rendered with text and ASCII/Unicode characters that runs entirely inside your terminal, instead of in a graphical window) — you know the pain of constantly switching between your terminal session, a desktop IDE, and your browser. That's particularly true when you need to review a teammate's PR or work on your own.
I built gitui because I got tired of doing that.

What is gitui?

gitui is a small terminal app for managing your GitHub pull requests. You run it inside any repo on your machine and it shows the open PRs, lets you open one, read the description, check the CI status, look at the files changed, and approve or merge it — all from the terminal.

That's it. No browser, no extra tabs, no hunting through GitHub's UI.

Screenshot of gitui home page

Why you might like it

  • It's fast. It opens instantly and feels snappy because it's a TUI, not a web app.
  • No tokens, no setup. It uses the GitHub CLI (gh) you probably already have. If gh is logged in, gitui just works.
  • Mouse and keyboard both work. Click, scroll, drag-to-copy text — or stay on j/k if you're a vim person. Both are first-class.
  • It stays out of the way. Read-only by default for browsing; the actions that change things (approve, merge, close) ask for confirmation before they fire.

Screenshot of PR details page

Try it in 60 seconds

You need the GitHub CLI installed and logged in (gh auth login). After that:

Homebrew (macOS, Linux):

brew install thalesbruno/tap/gitui

Enter fullscreen mode Exit fullscreen mode

npm:

npm install -g @thalesbruno/gitui

Enter fullscreen mode Exit fullscreen mode

Then cd into any GitHub repo and run:

gitui

Enter fullscreen mode Exit fullscreen mode

That's the whole tour.

The keys you'll actually use

  • j / k (or arrows, or scroll) to move around
  • enter to open a PR
  • 1 / 2 / 3 / 4 to switch between Overview, Conversation, Commits, and Files
  • o to open the PR on github.com if you really need to
  • a to approve, m to merge (both ask twice before doing anything)
  • q to quit

There's a ? panel inside the app that shows everything else, so you don't need to memorize this.

Under the hood

For the curious: gitui is built with Bun, React 19, and OpenTUI — a relatively new library for making terminal UIs feel like real apps. Every GitHub call is just a shell-out to gh, which means there's no token plumbing and no API client to maintain. If gh pr list works in your terminal, gitui works.

Where it's going

For now, gitui is small. It does one thing — browse and act on PRs in the current repo — and tries to do that one thing well. The next steps are about bringing more features from GitHub's web interface into the terminal.

Give it a spin

If this looks even a little useful to you, please give it a try:

If you do try it, I'd love to hear what felt good and what didn't :)