Skip to main content

GitHub Heads-Up Display — terminal dashboard for your portfolio repos

Project description

ghud

GitHub Heads-Up Display — a terminal dashboard for your portfolio repos.

PyPI version Documentation License: MIT

ghud gives you quick, formatted access to your GitHub activity without verbose gh field specifications or opening a browser.

  • Global dashboard — notifications, open PRs, merged PRs, issues, other activity
  • Issue viewsghud i 42 for a rich issue display, ghud i for a list
  • PR viewsghud pr 15 with check status, reviews, and comments
  • Repo dashboardghud r for issues + PRs in the current repo
  • Repo discovery — find repos missing from your portfolio config

Example

$ ghud
╭───────────────────────── New Issues From Others (3) ─────────────────────────╮
│  plinking_duck       Faster BCF/VCF reader for 'Free'              23d ago  │
│  duckdb_markdown     Would it be possible to add option to         50d ago  │
│                      write markdown with frontmatter data?                  │
│  duckdb_scalarfs     Curious about the extension usage             80d ago  │
╰──────────────────────────────────────────────────────────────────────────────╯
╭───────────────────────────── Your Open PRs (5) ──────────────────────────────╮
│  community-ext       Update sitting_duck to v1.4.0                      0d  │
│  fledgling           Extract conversation tools into MCP server    13d  1c  │
│  fledgling           Fix ReadLines returning empty table           18d  1c  │
│  community-ext       Update plinking_duck to v0.1.2                    21d  │
│  duckdb_tarfs        Port to DuckDB v1.4-andium                   40d  3c  │
╰──────────────────────────────────────────────────────────────────────────────╯

Installation

pip install ghud

Requires the GitHub CLI (gh) to be installed and authenticated.

Quick Start

# Global dashboard
ghud

# View issue #42 in the current repo
ghud i 42

# View PR #15 with full detail
ghud pr 15 --detail full

# List open issues across all portfolio repos
ghud i --repo all

# Repo dashboard for the current directory
ghud r

# Find repos not yet in your portfolio config
ghud discover --dry-run

Commands

Command Alias Description
ghud / ghud overview ghud o Global dashboard
ghud issue [N] ghud i List issues or view detail
ghud pr [N] List PRs or view detail
ghud repo ghud r Repo-level dashboard
ghud discover Find untracked repos
ghud serve Start MCP server

Key Options

  • --repo owner/repo — target a specific repo (--repo all for cross-repo)
  • --detail brief|summary|standard|full — control detail level on issue/PR views
  • --comments N — show last N comments (default: 3, or --comments all)
  • --no-pager — disable pager
  • --state open|closed|all — filter list views
  • --limit N — max items in list views (default: 30)

Configuration

ghud determines your portfolio repos from one of two sources, in order:

  1. ~/.mrconfig — if you use myrepos (mr) to manage your repos, ghud reads its manifest directly and derives each owner/repo from the stanza's checkout clone URL. No separate config to maintain (honors $MR_CONFIG).

  2. projects.yaml — fallback when no .mrconfig is found. Checked at:

    • $XDG_CONFIG_HOME/ghud/projects.yaml (default: ~/.config/ghud/projects.yaml)
    • ~/Projects/pages/src/_data/projects.yaml

    The YAML uses a nested category/subcategory/project structure. Repos in the ignored category are excluded from the dashboard.

When the source is .mrconfig, ghud discover reports untracked repos but prints mr register hints instead of writing (myrepos owns that file).

Focused repos vs. the full manifest

A .mrconfig typically lists more than your own work — clones of upstream projects, forks you track locally, etc. By default ghud shows a focused set so those don't flood your dashboard:

  • Repos you own (the owner/ matches your gh login) are shown by default.
  • To pull a non-owned repo into the focused set, add ghud = track to its stanza.
  • To mute one of your own repos, add ghud = ignore.
[Projects/cockpit-file-sharing]      # external — opt in
checkout = git clone https://github.com/45Drives/cockpit-file-sharing.git cockpit-file-sharing
skip = lazy
ghud = track

[Projects/old-thing]                 # owned but noisy — opt out
checkout = git clone git@github.com:you/old-thing.git old-thing
skip = lazy
ghud = ignore

mr ignores the unknown ghud key. Use ghud --all-repos (also on ghud overview and ghud issue) to override and use the entire manifest. The projects.yaml equivalent of focus is its ignored category.

Features

Multi-View CLI

Browse issues, PRs, and repos with detail levels from brief (one-line summary) to full (body, all comments, timeline events, expanded CI checks).

Check Status Indicators

PR views show CI and review status at a glance: passing, failing, pending, no checks.

Auto Repo Detection

When run inside a git repo, ghud detects the repo from your origin remote. Override with --repo or use --repo all for cross-repo views.

Responsive Layout

On wide terminals (>=120 columns), the dashboard uses a two-column layout. Narrow terminals get a single-column stack.

MCP Server

ghud serve starts an MCP server exposing dashboard tools for AI agents, enabling integration with tools like Claude Code.

Performance

ghud fetches all data in ~2 seconds using concurrent API calls and GraphQL batching for per-repo issue queries.

Development

git clone https://github.com/teaguesterling/ghud.git
cd ghud
pip install -e ".[dev]"
pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghud-0.2.4.tar.gz (57.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghud-0.2.4-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file ghud-0.2.4.tar.gz.

File metadata

  • Download URL: ghud-0.2.4.tar.gz
  • Upload date:
  • Size: 57.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ghud-0.2.4.tar.gz
Algorithm Hash digest
SHA256 2e79badad0dc6f2e98437f8957ab907cabf18ffb23199fdc9110b0c9caaeff30
MD5 939b072fe696b3e257c1d41af2d480fe
BLAKE2b-256 078d6b040123706517ad4fca8b72c0807ca0cc5b77c1b8e92ef0c47b70e6ba7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghud-0.2.4.tar.gz:

Publisher: publish.yml on teaguesterling/ghud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ghud-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: ghud-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ghud-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ffa283c618610bfa6cc499c4dfc0c41618cd702d563327db332ba4c1ab297b7c
MD5 05b4b16f5e1adc1d4eea7e781bfd2ac8
BLAKE2b-256 0d065173340e85fe8f1f23abcc4e1775f278edcadf34eff470b5ab4c7848988d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghud-0.2.4-py3-none-any.whl:

Publisher: publish.yml on teaguesterling/ghud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page