v1.0.4 · Rust + ratatui · MIT

GitLab & GitHub,
from one keyboard.

A fast terminal UI for issues, merge & pull requests, pipelines, live job logs and diffs. gitsmith rides on the official glab and gh CLIs — your existing auth, no tokens to configure.

$ curl -fsSL https://raw.githubusercontent.com/suraj16thjan/gitsmith/main/install.sh | bash
GitHub stars
★—
Downloads
↓—
Tabs
11
Themes
9
~/code/acme/platform — gitsmith

This is a playable replica. Click it and use the real keys: hl tabs · jk move · Enter open · v diff · t theme · P repo · S host · ? help

How it works

  1. youone set of keys
  2. gitsmithdetects the host from your git remote
  3. glab · ghyour existing login
  4. GitLab · GitHubgitlab.com, github.com, self-hosted

// features

Everything you open a browser tab for.

Eleven tabs over the whole forge, plus overlays for the deep dives — and every action is one key and a [y/n] away.

Enter Pipeline drill-down & live logs

Open a pipeline to its jobs, a job to its live-tailing ANSI log. Plain output gets severity colors, CI colors pass through untouched, and it follows the newest line like GitLab's trace. Bridge jobs drill into downstream pipelines.

v Side-by-side diffs

Syntax-highlighted with syntect, line numbers, a sticky file header and a file list that follows your scroll. [ ] jump files.

P Fuzzy repo switcher

Every repo on your account, prefetched at startup. Type a few letters, hit Enter.

S Multi-host

Reads glab and gh config directly, so every instance — SaaS or self-hosted — is offered instantly and offline. Tokens are never read.

a M c Act, don't just look

Approve, merge, close MRs; close, reopen, comment on issues; retry or cancel pipelines and single jobs — all behind a confirm.

n Create things

New MRs/PRs, issues, pipelines and tags from small forms with a type-to-filter branch dropdown. Works with or without a local checkout.

Enter Detail view

Metadata, description and the full comment thread for issues and MRs — without the page load.

f Filter anything

Each tab keeps its own query. Matches titles, labels and source → target branches.

x Nothing hidden

The command log shows every glab/gh call gitsmith runs, with success markers.

T Your tab bar

Reorder tabs, hide the ones you never use. Theme and layout persist to ~/.config/gitsmith.

∞ Paged lists

100 rows a page, fetched in the background up to 500 while you read — not the API's 20-row default.

11 Tabs over the whole project

  • Issues
  • MRs/PRs
  • Pipelines
  • Runners
  • Releases
  • Tags
  • Branches
  • Commits
  • Todos
  • Milestones
  • Members

Open and closed items listed together, open first; protected branches on top; members sorted strongest role first, including group-inherited access.

// themes

Nine themes. Live preview.

Press t in the app — or click one below to repaint the demo (and this page).

// keybindings

Vim-flavored, and always on screen.

The header lists the keys that work in the view you're in, so this is reference — not homework.

Global

h l
previous / next tab
j k
move selection
Ctrl-d Ctrl-u
half a screen down / up
Enter
detail · jobs · commit diff
v
diff (MRs/PRs)
n
new MR · issue · member · pipeline · tag
f /
filter the current tab
o
open in browser
?
help

Switch

P
repo (fuzzy)
S
host & instance
T
tab manager
t
theme picker
R
refresh
x
command log
Ctrl-C
quit

Act with confirm

c O C
issue: close · reopen · comment
a M c
MR/PR: approve · merge · close
r d
pipeline / job: retry · cancel

Overlays

g G
top / bottom · re-follow log
[ ]
previous / next diff file
Esc q
close

// install

Thirty seconds to your first keypress.

macOS & Linux. Downloads the prebuilt binary from the latest release to ~/.local/bin — no Rust toolchain needed.

$curl -fsSL https://raw.githubusercontent.com/suraj16thjan/gitsmith/main/install.sh | bash

Pin a version with GITSMITH_VERSION=v1.0.4, change the target with GITSMITH_BIN_DIR=~/bin.

Then

$gitsmith

Inside a repo it picks the host from the remote. Anywhere else it asks — 1 GitLab, 2 GitHub — and lists your repos.

Needs

  • glab logged in, for GitLab
  • gh logged in, for GitHub

Prebuilt for

  • Linux x86_64
  • macOS Apple silicon
  • macOS Intel
  • Windows x86_64

Stop alt-tabbing to your forge.

Free and open source under the MIT license. Stars, issues and PRs welcome.