TUI that watches a GitHub Actions run for a branch/tag as a live job graph
Project description
gha-watcher-tui
A terminal UI that watches the latest GitHub Actions run for a branch or tag and renders its jobs as a live node graph — boxes connected by dependency edges, colored by state — similar to GitHub's web workflow visualization.
Usage
gha-watch <branch-or-tag> [--repo owner/name] [--poll SECONDS] [--no-exit]
- The repository defaults to the
originremote of the current directory; override with--repo owner/name. - Authentication uses a token from
GITHUB_TOKENorGH_TOKEN(e.g.GITHUB_TOKEN=$(gh auth token) gha-watch main). - The graph polls every 5 seconds (
--pollto change) and updates node colors as jobs progress. Pressqto quit.
When the run finishes the app exits automatically with a status code.
With --no-exit it stays open showing the final graph instead; pressing q
then exits with the run's status code.
| Code | Meaning |
|---|---|
| 0 | run concluded successfully |
| 1 | run failed or was cancelled |
| 2 | usage or API error (no token, unknown repo/ref, …) |
| 130 | quit manually before the run finished |
Notes
- Dependency edges come from parsing the workflow YAML (
needs:), since the REST jobs API doesn't expose them. Matrix jobs (test (3.12)) are matched back to their YAML job heuristically; unmatched jobs render as disconnected nodes. - Only the single latest run for the ref is watched; a newer run starting mid-watch is ignored.
Development
uv sync
uv run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gha_watcher_tui-0.1.0.tar.gz.
File metadata
- Download URL: gha_watcher_tui-0.1.0.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b4e0ac902b11ceed28fb49d60bdf0816df18bb4639adbedd04bb6f472f74f46
|
|
| MD5 |
2aec7d390a1937a14edf08be2e5cccd8
|
|
| BLAKE2b-256 |
2e55030992191bbf495c0f8ccc634baf242bbbedc5bc1a9f3aa096f99334c287
|
Provenance
The following attestation bundles were made for gha_watcher_tui-0.1.0.tar.gz:
Publisher:
publish.yml on ulope/gha-watcher-tui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gha_watcher_tui-0.1.0.tar.gz -
Subject digest:
8b4e0ac902b11ceed28fb49d60bdf0816df18bb4639adbedd04bb6f472f74f46 - Sigstore transparency entry: 2185132818
- Sigstore integration time:
-
Permalink:
ulope/gha-watcher-tui@8c5e5920272edf54c5600619ea0bda5856a908cc -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ulope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8c5e5920272edf54c5600619ea0bda5856a908cc -
Trigger Event:
push
-
Statement type:
File details
Details for the file gha_watcher_tui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gha_watcher_tui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c77b1ae821e572df572965f689bee153d73f1e7dc8e57467346dc188c8486c5
|
|
| MD5 |
7f0515a1411567c6737912d688f0264c
|
|
| BLAKE2b-256 |
168cb537dae0c06d431459f9042acf1fcb44dff5db29a109ad475965ee4b1949
|
Provenance
The following attestation bundles were made for gha_watcher_tui-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on ulope/gha-watcher-tui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gha_watcher_tui-0.1.0-py3-none-any.whl -
Subject digest:
7c77b1ae821e572df572965f689bee153d73f1e7dc8e57467346dc188c8486c5 - Sigstore transparency entry: 2185133131
- Sigstore integration time:
-
Permalink:
ulope/gha-watcher-tui@8c5e5920272edf54c5600619ea0bda5856a908cc -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ulope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8c5e5920272edf54c5600619ea0bda5856a908cc -
Trigger Event:
push
-
Statement type: