gitboard

command module
v0.0.0-...-423eab2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gitboard

Go Bubble Tea GitHub CLI

Features  •  Keys  •  Stack  •  Structure  •  Install

gitboard shows your GitHub account in one terminal window: your repos (and the ones you collaborated on), your open PRs, your latest commits, the reviews waiting on you and the issues assigned to you. I use gh-dash for PRs and lazygit for local work, but I kept opening the browser just to find a repo, check what I pushed yesterday or clone something. This is that missing screen.

gitboard showing the Repos view with a README in the sidebar

Features

  • Five views, switched with Tab or the arrows: Repos, PRs, Commits, Reviews and Issues. All five load in parallel when it starts. Internally every view becomes the same kind of row, which is why search (/), sorting (s) and the sidebar behave the same in all of them.
  • gitboard never asks you to log in. It borrows the session of the gh CLI through go-gh, so if gh auth status works, gitboard works.
  • c clones the selected repo. The prompt starts at the last folder you cloned into, Tab completes paths the way your shell does, and Ctrl+O opens a small folder browser. If the target folder already exists, it stops and tells you instead of cloning on top of it.
  • The sidebar shows a repo's README; for a PR, whether it can merge (conflicts, behind its base, blocked), its checks failed first, its description and its conversation (comments, reviews and the comments they left on the code); or a commit's full message and the files it touched. It fetches each one the first time you land on the row, renders it with Glamour and keeps it.
  • Anything gh or lazygit already does well is handed to them. Diff, merge and approve call gh; g opens lazygit in your local clone and n runs gh pr create there.
  • Commits come from GitHub's commit search, which only indexes each repo's default branch. A commit on a feature branch shows up after you merge it. Bot and sync commits are listed too, on purpose.

Keys

Where Key Action
Everywhere Tab / ← → (or 1-5) Switch view
j k Move
/ Search the rows (Enter keeps it, Esc clears it). #42 finds PR or issue 42 exactly
Enter The selected row's detail full screen (j k scroll, Esc back); a PR's comments and reviews are read best here
f Show only the selected row's repo, in every view (f again clears it). From Repos it focuses the other views on that repo
s Sort: newest first, oldest first, A→Z, Z→A
b Toggle grouping (on by default): rows by repo, most active repo first, each group under its own title. Repos splits into Personal and Collaborated instead
o Open in your default browser ($BROWSER if it exists)
p Toggle the sidebar (open by default from 120 columns)
Ctrl+D Ctrl+U Scroll the sidebar
Mouse Click a tab or a row to select it; the wheel moves the cursor, or scrolls the sidebar under it (hold Shift to select text)
r Reload the current view
U Install the newer gitboard, when the footer says one is available (needs go; reopen to load it)
? Show every key in the help line
q Quit
Repos c Clone
g lazygit in the local clone
n gh pr create in the local clone
PRs d / m Diff / merge
Commits y Copy the SHA (OSC 52)
Reviews d / a Diff / approve
Issues x x Close (press twice)

Stack

Layer Technology Why
UI Bubble Tea v2, Bubbles, Lip Gloss The same stack as gh-dash. ANSI colors only, so the board takes your terminal's palette.
Markdown Glamour Renders READMEs and PR bodies in the sidebar.
GitHub go-gh Official client library of the gh CLI: its auth, GraphQL for repos, PRs and issues, REST for commit search.
Config yaml.v3 One value: the last clone destination, in ~/.config/gitboard/config.yml (%AppData%\gitboard on Windows, ~/Library/Application Support/gitboard on macOS).

Structure

main.go                 checks the gh session, starts the program
internal/gh/            GitHub queries; one search string per view
internal/ui/
  app.go                the board: views, sidebar, filter, quick actions
  items.go              every view flattened into one row type
  views.go              columns, help line and loader of each view
  clone.go              clone prompt and folder picker
internal/paths/         ~ expansion, Tab completion, never-overwrite check
internal/config/        the remembered clone destination
CONTEXT.md              glossary: view, quick action, clone destination...

Install

gh auth login                                  # once, if gh is not set up yet
go install github.com/SimonOcampo1/gitboard@latest
gitboard

You need Go 1.27+ and an authenticated gh. g needs lazygit on your PATH. g and n look for the clone at <last clone destination>/<repo name>; a repo cloned somewhere else is not found yet.

Documentation

Overview

gitboard is a terminal dashboard for your whole GitHub account.

Directories

Path Synopsis
internal
config
Package config persists the few settings gitboard remembers between runs.
Package config persists the few settings gitboard remembers between runs.
gh
Package gh fetches the board's data from GitHub, reusing the session of the gh CLI through go-gh: gitboard never logs in on its own.
Package gh fetches the board's data from GitHub, reusing the session of the gh CLI through go-gh: gitboard never logs in on its own.
paths
Package paths resolves the folders typed in the clone prompt.
Package paths resolves the folders typed in the clone prompt.
ui
Package ui is the board itself: five Views over one table, a Sidebar, and the Quick actions of each View.
Package ui is the board itself: five Views over one table, a Sidebar, and the Quick actions of each View.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL