ghatui 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 fdufbos
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,69 @@
1
+ # gh-actions-tui (TypeScript + Bun + Ink)
2
+
3
+ TUI for monitoring GitHub checks on your authored pull requests.
4
+
5
+ ## Requirements
6
+
7
+ - Node.js 20+
8
+ - GitHub CLI (`gh`) installed and authenticated
9
+ - `gh auth login`
10
+ - account/token with `repo` and `workflow` access
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ npm i -g ghatui
16
+ ```
17
+
18
+ ## Run
19
+
20
+ ```bash
21
+ ghatui
22
+ ```
23
+
24
+
25
+
26
+ Output: `dist/gh-actions-tui.js`
27
+
28
+ ## First Use
29
+
30
+ 1. Start the app.
31
+ 2. Press `s` to enter watched repos.
32
+ 3. Type repos separated by comma or spaces:
33
+ - `owner/repo`
34
+ - `https://github.com/owner/repo`
35
+ 4. Press `enter` to save.
36
+
37
+ Config is saved to:
38
+
39
+ `~/.config/gh-actions-tui/config.json`
40
+
41
+ ## Keybindings
42
+
43
+ - `j/k` or arrows: move cursor
44
+ - `enter`: select highlighted PR and load details
45
+ - `tab`: switch focus between overview/detail
46
+ - `r`: manual refresh
47
+ - `o`: open selected PR in browser
48
+ - `s`: edit watched repositories inline
49
+ - `q` or `ctrl+c`: quit
50
+
51
+ ## Status Categories
52
+
53
+ - `running`
54
+ - `queued`
55
+ - `pending`
56
+ - `failed`
57
+ - `cancelled`
58
+ - `passed`
59
+ - `skipped`
60
+
61
+ Overview rollup statuses:
62
+
63
+ - any in-progress -> in-progress (yellow)
64
+ - else any failed -> failed (red)
65
+ - else -> passed (green)
66
+
67
+ - Auth errors: run `gh auth status`
68
+ - Missing PRs: verify watched repo scope and your authored-open PRs exist
69
+ - Empty checks/runs: verify workflows/checks started on the PR head SHA