A terminal-first operations console for GitHub Actions. Monitor workflow runs, inspect jobs and logs, search across logs, manage runs, view metrics, manage cache, and monitor runners — all from your terminal.
Built with Bubble Tea and Lipgloss.
- 5-tab layout — Runs, Workflows, Metrics, Cache, Runners
- All runs at a glance — runs from all workflows load immediately with server-side filtering
- Server-side filtering — filter runs by workflow, event, status, branch, or actor
- Run management — rerun (all/failed/single-job), cancel, force-cancel, and delete workflow runs
- Job inspection — matrix-aware job grouping with reusable workflow nesting, step counts, duration tracking
- Live step progress — in-progress jobs show real-time step-by-step status with auto-loading logs on completion
- Failed step jump — opening a failed job's log automatically scrolls to the step that failed
- Run info view — full metadata overlay with real-time refresh for in-progress runs
- Job info view — per-job overlay with steps, durations, runner, and failed/running step highlights
- Word wrap — log viewer wraps long lines to fit the terminal; toggle with
w - Log availability indicator — jobs with downloaded logs show a
[log]tag in the jobs pane - Full-text log search — regex support, case sensitivity, job filtering, context lines
- In-log search — find patterns within a single job log with match navigation
- Enhanced metrics — success/failure rates, duration percentiles, queue times, usage breakdowns by event/actor/branch, slowest workflows, job-level stats
- Cache management — browse, filter, sort, and delete GitHub Actions caches
- Runners — view self-hosted and org-shared runners with status, labels, and OS info
- Attempt cycling — press
ato switch between run attempts in the jobs pane or log view; logs for all attempts are fetched in parallel - Scrollable help — press
?for a 2-column help overlay with keyboard scrolling - Log caching — disk-based cache with configurable TTL and size limits, metadata tracking
- Bulk operations — delete multiple runs by workflow with parallel deletion (3 at a time)
- Context-aware footer — key hints change based on focused pane/view with inline status icon legend
- Pagination — browse through all runs with automatic page loading
- Filtering — filter workflows and runs by typing
- GitHub CLI (
gh) — authenticated viagh auth login - Go 1.25+ (only needed to build from source)
Grab the latest release from the Releases page. Binaries are available for Linux, macOS, and Windows (amd64 and arm64).
# Example: macOS arm64 (replace <version> with the tag, e.g. v1.0.9)
curl -sL https://github.com/altinukshini/gha-tui/releases/latest/download/gha-tui-<version>-darwin-arm64.tar.gz | tar xz
sudo mv gha-tui /usr/local/bin/go install github.com/altinukshini/gha-tui/cmd/gha-tui@latestgit clone https://github.com/altinukshini/gha-tui.git
cd gh-actions-tui
make build
# Binary: ./gha-tuigha-tui authenticates using the GitHub CLI. It reads the token from gh auth, so you must be logged in:
gh auth loginThe token needs the repo scope (or actions:read for read-only usage, actions:write for run management). To view organization-shared runners, also add admin:org: gh auth refresh -s admin:org.
gha-tui -R owner/repo| Flag | Default | Description |
|---|---|---|
-R |
(required) | Repository in owner/repo format |
-cache-size |
500 |
Max log cache size in MB |
-cache-ttl |
24h |
Log cache TTL |
-version |
Print version and exit |
# Monitor runs for a specific repo
gha-tui -R octocat/hello-world
# With custom cache settings
gha-tui -R octocat/hello-world -cache-size 1000 -cache-ttl 48h+------------------+--------------------+
| Runs | Job Details |
| (left pane) | (right pane) |
+------------------+--------------------+
The focused pane has a purple border. Switch panes with Tab / Shift+Tab.
Full-screen overlays open on top of the layout:
- Log View —
Enteron a job - Run Info View —
ion a run (left pane) - Job Info View —
ion a job (right pane) - Search View —
/from runs - Filter Overlay —
Sfrom runs
Press ? anytime for a scrollable two-column cheat sheet (navigation, runs, logs, workflows, metrics, cache, runners).
| Key | Action |
|---|---|
q / Ctrl+C |
Quit |
? |
Toggle help (scrollable, 2-column) |
1 / 2 / 3 / 4 / 5 |
Switch tab: Runs, Workflows, Metrics, Cache, Runners |
Tab / Shift+Tab |
Next / previous pane |
Esc |
Back / close overlay |
j / k / Up / Down |
Move up / down |
PgUp / PgDn / Ctrl+U / Ctrl+D |
Page up / down |
Enter |
Select item |
| Key | Action |
|---|---|
Enter |
View job logs |
f |
Filter runs (client-side) |
S |
Server-side filter (workflow, event, status, branch, actor) |
r |
Refresh |
i |
Run info overlay (left pane) / Job info overlay (right pane) |
/ |
Search across logs |
Space |
Toggle select run |
R |
Rerun — all jobs (left pane focused) or just the selected job (right pane focused) |
F |
Rerun failed jobs |
C |
Cancel run |
X |
Force cancel run |
a |
Cycle attempt (multi-attempt runs) |
d |
Delete run (or all selected) |
h / l / ← / → |
Previous / next page |
| Key | Action |
|---|---|
Enter |
View runs for workflow |
f |
Filter workflows |
e |
Enable workflow |
D |
Disable workflow |
d / x |
Bulk delete all runs |
| Key | Action |
|---|---|
Space |
Toggle select cache |
d |
Delete cache (or all selected) |
x |
Clear all caches |
s |
Cycle sort mode (last used / created / size) |
r |
Refresh caches |
f |
Filter caches |
| Key | Action |
|---|---|
f |
Filter runners |
r |
Refresh runners |
| Key | Action |
|---|---|
j / k |
Scroll line by line |
g / G |
Jump to top / bottom |
PgUp / PgDn |
Page scroll |
/ |
Search within log |
n / N |
Next / previous match |
w |
Toggle word wrap |
a |
Cycle attempt (multi-attempt runs) |
Esc |
Close log view |
| Key | Action |
|---|---|
j / k |
Scroll |
g / G |
Top / bottom |
PgUp / PgDn |
Page scroll |
Esc |
Close info view |
| Icon | Color | Meaning |
|---|---|---|
V |
Green | Success |
X |
Red | Failure |
! |
Amber | Cancelled |
- |
Gray | Skipped |
* |
Blue | In progress |
o |
Gray | Queued |
Runs from all workflows are displayed immediately on startup. Each run shows status icon, run number, branch, relative time, and workflow name. Runs are loaded 30 per page with automatic pagination.
Press S to open the filter overlay. Filter by:
- Workflow — cycle through available workflows
- Event — push, pull_request, schedule, workflow_dispatch, etc.
- Status — completed, in_progress, queued, waiting
- Branch — text input
- Actor — text input
The active filter is shown in the tab label: [1] Runs (branch:main event:push).
All destructive operations show a confirmation dialog.
| Operation | Key | Description |
|---|---|---|
| Rerun all | R (left pane) |
Re-execute all jobs, creating a new attempt |
| Rerun job | R (right pane) |
Re-execute only the focused job |
| Rerun failed | F |
Re-execute only the failed jobs |
| Cancel | C |
Graceful cancel — stops after the current step |
| Force cancel | X |
Force terminate — use when regular cancel is stuck |
| Delete | d |
Permanently remove the run |
R is context-aware: with the left (Runs) pane focused it reruns the entire workflow run; with the right (Jobs) pane focused it reruns just the highlighted job. R is ignored inside the log and info overlays to avoid accidental triggers.
Each workflow shows a state badge ([active], [disabled], [inactive]), total run count with recent success/failure breakdown, and the workflow file path. You can enable/disable workflows with e / D.
Selecting a workflow with Enter switches to the Runs tab filtered to that workflow.
The right pane shows jobs for the selected run. Jobs are automatically grouped:
- Matrix jobs — variants like
build (ubuntu, 18)andbuild (macos, 20)group underbuild - Reusable workflows — jobs using reusable workflows (e.g.,
deploy-ecs-service (common) / Deploy ECS-Service) are nested hierarchically: top-level group → caller variant → called jobs
Each group and sub-group shows an aggregate status icon (in-progress > failure > cancelled > queued > success). Each job shows: status icon, name, duration, step count, and attempt indicator ([att:N] for multi-attempt runs).
For runs with multiple attempts (e.g., after "rerun failed jobs"), press a in the jobs pane or log view to cycle through:
- Latest (default) — merged view showing all jobs with their most recent logs across all attempts
- Attempt 1 — only jobs and logs from attempt 1
- Attempt 2 — only jobs and logs from attempt 2
- ...and so on back to "latest"
The header shows the current view mode (e.g., viewing: attempt 1 of 3). Jobs that didn't run in the selected attempt show a clear message instead of logs. Logs for all attempts are fetched in parallel for faster loading.
Opening an in-progress job shows a real-time step-by-step progress view instead of logs (GitHub's API does not expose logs for running jobs). Each step displays its status icon, name, and elapsed time. The view polls every 1.5 seconds and automatically fetches the full log once the job completes.
When opening a failed job, the log view automatically jumps to the first failed step so you don't have to scroll through the entire log.
Press i on a run (left pane) to open a full-screen overlay showing all run metadata:
- Run number, attempt, status, conclusion
- Actor, branch, commit SHA, event type
- Created/started/updated timestamps and duration
- GitHub URL
- Job summary (pass/fail/running counts) and individual job list
For in-progress runs, the view auto-refreshes every 3 seconds.
Press i on a job (right pane) to open a full-screen overlay showing job details:
- Job name, status, conclusion, runner name
- Started/completed timestamps and duration (or elapsed time for running jobs)
- GitHub URL
- Steps summary (total, passed, failed, running, skipped counts)
- Steps table with step number, status icon, name, and duration
- Failed steps highlighted in red with
← FAILEDmarker - In-progress steps highlighted in blue with
← RUNNINGmarker
Search across all job logs for the selected run:
| Option | Description |
|---|---|
| Pattern | Text to search for |
| Regex | Prefix with / (e.g., /error.*timeout) |
| Case sensitive | Toggle with Tab |
| Failed only | Only search failed job logs |
| Job filter | Filter by job name pattern |
Results are grouped by job name with line numbers and context lines. Press Enter on a match to jump directly to that line in the job's log view with the matching line highlighted. Press Esc from the log view to return to search results.
Search within the currently displayed log. Matches are highlighted. Navigate with n / N.
Press 3 to switch to the Metrics tab. Cycle time windows with [ and ] — data is re-fetched for each window. Available windows are derived from the repository's artifact and log retention setting (e.g., 90-day retention yields: 24h, 7d, 30d, 90d). Falls back to 24h/7d/30d if the retention API is unavailable.
| Metric | Description |
|---|---|
| Total runs | Runs in the time window (with sample size note) |
| Success / Failure rate | Count and percentage |
| Cancel count | Cancelled runs |
| Retry rate | Runs with attempt > 1 |
| Metric | Description |
|---|---|
| Mean / Median / P95 / P99 duration | Run duration percentiles |
| Mean / Median / P95 queue time | Time from creation to start |
Top 5 workflows by P95 duration, showing median, P95, and run count.
- Runs by Event — all trigger events sorted by count
- Top Actors — top 10 actors by run count
- Top Branches — top 10 branches by run count
Workflows ranked by failure rate (up to 5), displayed as:
1. 30.0% ████████████████████ 3/10 CI Pipeline
2. 16.7% ███████████░░░░░░░░░ 2/12 Deploy
3. 6.2% ████░░░░░░░░░░░░░░░░ 1/16 Lint
Individual jobs ranked by failure count (up to 5).
Total jobs, success/fail counts, mean/median/P95 duration.
| Key | Action |
|---|---|
[ / ] |
Cycle time window |
Press 4 to switch to the Cache tab. Browse GitHub Actions caches for the repository (the same caches shown at repo/actions/caches on GitHub).
Each entry shows: cache key, size, branch, creation date, and last used time.
- Filter — press
fto filter by cache key or branch ref - Sort — press
sto cycle sort modes: last used, created, or size - Refresh — press
rto reload caches from the API - Select — press
Spaceto multi-select caches, thendto bulk delete selected - Delete — press
dto delete the focused cache (or all selected),xto clear all caches
The header shows cache count, total size, and current sort mode.
Press 5 to switch to the Runners tab. View self-hosted runners for the repository, including organization-shared runners.
Each runner shows:
- Status indicator (green dot = online, red dot = offline)
- Runner name and busy state
- OS and labels
- Ephemeral flag
Press r to refresh, f to filter by name, OS, or labels.
Note: Organization-shared runners require the admin:org scope. Add it with:
gh auth refresh -s admin:orgFrom the workflows view, press d or x to bulk delete all runs for a workflow. Runs are deleted 3 at a time in parallel, fetching all pages (not just the first 100).
Logs are cached to disk at $TMPDIR/gha-tui/logs/. The cache extracts GitHub's zip archives and serves subsequent requests from disk. Each entry stores metadata (workflow name, branch, actor, event, timestamps).
- TTL eviction — entries older than
-cache-ttl(default 24h) are removed - Size eviction — oldest entries removed when total exceeds
-cache-size(default 500 MB)
# Clean cache
rm -rf /tmp/gha-tui/
# or
make cleanThe runs list auto-refreshes every 5 seconds so status changes appear without pressing r. When viewing an in-progress run, jobs and run metadata are polled every 3 seconds. Opening an in-progress job shows live step progress (polled every 1.5 seconds) and automatically loads the full log when the job completes. Polling stops when the run completes or you navigate away.
The status bar at the bottom of the screen shows key hints that change based on your current view and focused pane. The runs and jobs panes include an inline status icon legend so you can identify what each icon means at a glance. Overlay views (log, search, info, filter) show their own relevant shortcuts.
The header displays your GitHub API rate limit (remaining/limit). Bulk deletes are throttled to respect limits.
cmd/gha-tui/ CLI entry point
internal/
api/ GitHub REST API client (runs, jobs, workflows, runners)
cache/ Disk-based log cache with TTL/size eviction + metadata
config/ Repository configuration
model/ Domain types (Run, Job, Workflow, Runner, SearchQuery)
ops/ Bulk operations
search/ Full-text search engine with regex
tui/ Bubble Tea components
app.go Root model and routing
runs/ Runs list with pagination
workflows/ Workflow selector with inline stats
details/ Job details with matrix + reusable workflow grouping
logview/ Log viewer with in-log search
infoview/ Run and job info overlays
searchview/ Cross-log search
filteroverlay/ Server-side filter overlay
dashboard/ Enhanced metrics and analytics
cacheview/ Cache management view
runnersview/ Runners list view
confirm/ Confirmation dialog
ui/ Styles, key bindings, messages
make build # Build binary
make run REPO=owner/repo # Build and run
make test # Unit tests
make test-integration # Integration tests (requires gh auth)
make lint # Run go vet
make clean # Remove binary and cache| Problem | Solution |
|---|---|
| "Auth error" on startup | Run gh auth login and gh auth status |
| "not found or not accessible" | Check the -R owner/repo flag — repo must exist and your token needs access |
| No workflows appear | Check .github/workflows/ exists in the repo |
| Logs stuck on "Loading..." | Check rate limit in header; wait if 0/5000 |
| Force cancel fails | Only works on in_progress runs |
| Cache too large | Use -cache-size 100 -cache-ttl 1h or rm -rf /tmp/gha-tui/ |
| Filter won't activate | Press f with the correct pane focused (purple border) |
| No runners shown | Repo may not have runners; org-shared runners need admin:org scope |
See LICENSE for details.


