gh-claude 0.1.0__tar.gz

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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Masa
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.
@@ -0,0 +1,121 @@
1
+ Metadata-Version: 2.4
2
+ Name: gh-claude
3
+ Version: 0.1.0
4
+ Summary: A modern multi-repository GitHub TUI with Claude Code integration
5
+ Author: Masa
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/masaaaaa725/ghc
8
+ Project-URL: Repository, https://github.com/masaaaaa725/ghc
9
+ Project-URL: Issues, https://github.com/masaaaaa725/ghc/issues
10
+ Keywords: github,gh,claude,textual,tui
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Topic :: Software Development :: Version Control :: Git
17
+ Requires-Python: >=3.13
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: textual>=8.2.8
21
+ Dynamic: license-file
22
+
23
+ # gh-claude
24
+
25
+ A modern, keyboard-first TUI for managing GitHub issues and pull requests across
26
+ multiple repositories. It uses [Textual](https://textual.textualize.io/) for the
27
+ interface, GitHub CLI for data, and Claude Code for issue drafting and analysis.
28
+
29
+ License: [MIT](LICENSE)
30
+
31
+ PyPI: [`gh-claude`](https://pypi.org/project/gh-claude/)
32
+ Repository: [`masaaaaa725/ghc`](https://github.com/masaaaaa725/ghc)
33
+
34
+ ## Requirements
35
+
36
+ - Python 3.13+
37
+ - [uv](https://docs.astral.sh/uv/) or pip
38
+ - [GitHub CLI](https://cli.github.com/) (`gh auth login`)
39
+ - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) (`claude`)
40
+ - Git
41
+
42
+ ## Install
43
+
44
+ ```bash
45
+ pip install gh-claude
46
+ # or
47
+ uv tool install gh-claude
48
+ ```
49
+
50
+ ## Run
51
+
52
+ ```bash
53
+ gh-claude
54
+ # alias
55
+ ghc
56
+ ```
57
+
58
+ From a local checkout:
59
+
60
+ ```bash
61
+ uv sync
62
+ uv run gh-claude
63
+ ```
64
+
65
+ The app detects the GitHub repository in the current directory. Press `r` or
66
+ `Ctrl+P` to switch to any repository returned by `gh repo list`.
67
+
68
+ ## Keyboard shortcuts
69
+
70
+ - `↑` / `↓`: move the selection in the Issues or Pull Requests list
71
+ - `←` / `→`: switch between the Issues and Pull Requests tabs
72
+ - `f`: cycle the status filter (`OPEN` → `CLOSED` → `ALL` for Issues; includes `MERGED` / `DRAFT` for PRs)
73
+ - `r` / `Ctrl+P`: searchable repository picker (`↑`/`↓` to move, `Enter` to select, `Esc` to cancel)
74
+ - `c`: turn rough notes into a reviewed GitHub issue with Claude
75
+ - `s`: summarize the selected issue or pull request with Claude
76
+ - `o`: check out the selected pull request as a local branch
77
+ - `v`: review the selected pull request diff with Claude
78
+ - `a`: draft, preview, and post an AI-polished comment
79
+ - `Ctrl+E`: create an Issue branch and let Claude implement the selected Issue
80
+ - `i` / `p`: switch to Issues / Pull Requests
81
+ - `Ctrl+R` / `F5`: refresh Issues and Pull Requests for the current repository
82
+ - `Ctrl+C`: quit
83
+
84
+ ## Project layout
85
+
86
+ ```text
87
+ .
88
+ ├── pyproject.toml
89
+ ├── uv.lock
90
+ ├── src/ # Import package `ghc` (PyPI name: `gh-claude`)
91
+ │ ├── __init__.py
92
+ │ ├── __main__.py
93
+ │ ├── app.py # Main Textual app and interactions
94
+ │ ├── app.tcss # Dark UI theme
95
+ │ ├── clients.py # Async gh / claude / git wrappers
96
+ │ ├── models.py # Domain models
97
+ │ └── screens.py # Repository and issue workflow modals
98
+ └── tests/
99
+ ├── test_app.py
100
+ ├── test_clients.py
101
+ ├── test_models.py
102
+ └── test_screens.py
103
+ ```
104
+
105
+ All external commands are executed without a shell via
106
+ `asyncio.create_subprocess_exec`. GitHub read operations request JSON explicitly;
107
+ commands such as `gh pr diff`, `gh pr checkout`, `gh issue create`, and
108
+ `gh issue comment` are exceptions because those GitHub CLI commands do not
109
+ support `--json`.
110
+
111
+ `Ctrl+E` is intentionally limited to the repository currently checked out on
112
+ disk. After confirmation, it creates `issue-<number>-<slug>` with
113
+ `git checkout -b`, then runs Claude Code in print mode. Claude is instructed not
114
+ to commit, push, or modify unrelated files; always review the working tree after
115
+ it finishes.
116
+
117
+ ## Test
118
+
119
+ ```bash
120
+ uv run pytest
121
+ ```
@@ -0,0 +1,99 @@
1
+ # gh-claude
2
+
3
+ A modern, keyboard-first TUI for managing GitHub issues and pull requests across
4
+ multiple repositories. It uses [Textual](https://textual.textualize.io/) for the
5
+ interface, GitHub CLI for data, and Claude Code for issue drafting and analysis.
6
+
7
+ License: [MIT](LICENSE)
8
+
9
+ PyPI: [`gh-claude`](https://pypi.org/project/gh-claude/)
10
+ Repository: [`masaaaaa725/ghc`](https://github.com/masaaaaa725/ghc)
11
+
12
+ ## Requirements
13
+
14
+ - Python 3.13+
15
+ - [uv](https://docs.astral.sh/uv/) or pip
16
+ - [GitHub CLI](https://cli.github.com/) (`gh auth login`)
17
+ - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) (`claude`)
18
+ - Git
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ pip install gh-claude
24
+ # or
25
+ uv tool install gh-claude
26
+ ```
27
+
28
+ ## Run
29
+
30
+ ```bash
31
+ gh-claude
32
+ # alias
33
+ ghc
34
+ ```
35
+
36
+ From a local checkout:
37
+
38
+ ```bash
39
+ uv sync
40
+ uv run gh-claude
41
+ ```
42
+
43
+ The app detects the GitHub repository in the current directory. Press `r` or
44
+ `Ctrl+P` to switch to any repository returned by `gh repo list`.
45
+
46
+ ## Keyboard shortcuts
47
+
48
+ - `↑` / `↓`: move the selection in the Issues or Pull Requests list
49
+ - `←` / `→`: switch between the Issues and Pull Requests tabs
50
+ - `f`: cycle the status filter (`OPEN` → `CLOSED` → `ALL` for Issues; includes `MERGED` / `DRAFT` for PRs)
51
+ - `r` / `Ctrl+P`: searchable repository picker (`↑`/`↓` to move, `Enter` to select, `Esc` to cancel)
52
+ - `c`: turn rough notes into a reviewed GitHub issue with Claude
53
+ - `s`: summarize the selected issue or pull request with Claude
54
+ - `o`: check out the selected pull request as a local branch
55
+ - `v`: review the selected pull request diff with Claude
56
+ - `a`: draft, preview, and post an AI-polished comment
57
+ - `Ctrl+E`: create an Issue branch and let Claude implement the selected Issue
58
+ - `i` / `p`: switch to Issues / Pull Requests
59
+ - `Ctrl+R` / `F5`: refresh Issues and Pull Requests for the current repository
60
+ - `Ctrl+C`: quit
61
+
62
+ ## Project layout
63
+
64
+ ```text
65
+ .
66
+ ├── pyproject.toml
67
+ ├── uv.lock
68
+ ├── src/ # Import package `ghc` (PyPI name: `gh-claude`)
69
+ │ ├── __init__.py
70
+ │ ├── __main__.py
71
+ │ ├── app.py # Main Textual app and interactions
72
+ │ ├── app.tcss # Dark UI theme
73
+ │ ├── clients.py # Async gh / claude / git wrappers
74
+ │ ├── models.py # Domain models
75
+ │ └── screens.py # Repository and issue workflow modals
76
+ └── tests/
77
+ ├── test_app.py
78
+ ├── test_clients.py
79
+ ├── test_models.py
80
+ └── test_screens.py
81
+ ```
82
+
83
+ All external commands are executed without a shell via
84
+ `asyncio.create_subprocess_exec`. GitHub read operations request JSON explicitly;
85
+ commands such as `gh pr diff`, `gh pr checkout`, `gh issue create`, and
86
+ `gh issue comment` are exceptions because those GitHub CLI commands do not
87
+ support `--json`.
88
+
89
+ `Ctrl+E` is intentionally limited to the repository currently checked out on
90
+ disk. After confirmation, it creates `issue-<number>-<slug>` with
91
+ `git checkout -b`, then runs Claude Code in print mode. Claude is instructed not
92
+ to commit, push, or modify unrelated files; always review the working tree after
93
+ it finishes.
94
+
95
+ ## Test
96
+
97
+ ```bash
98
+ uv run pytest
99
+ ```
@@ -0,0 +1,121 @@
1
+ Metadata-Version: 2.4
2
+ Name: gh-claude
3
+ Version: 0.1.0
4
+ Summary: A modern multi-repository GitHub TUI with Claude Code integration
5
+ Author: Masa
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/masaaaaa725/ghc
8
+ Project-URL: Repository, https://github.com/masaaaaa725/ghc
9
+ Project-URL: Issues, https://github.com/masaaaaa725/ghc/issues
10
+ Keywords: github,gh,claude,textual,tui
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Topic :: Software Development :: Version Control :: Git
17
+ Requires-Python: >=3.13
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: textual>=8.2.8
21
+ Dynamic: license-file
22
+
23
+ # gh-claude
24
+
25
+ A modern, keyboard-first TUI for managing GitHub issues and pull requests across
26
+ multiple repositories. It uses [Textual](https://textual.textualize.io/) for the
27
+ interface, GitHub CLI for data, and Claude Code for issue drafting and analysis.
28
+
29
+ License: [MIT](LICENSE)
30
+
31
+ PyPI: [`gh-claude`](https://pypi.org/project/gh-claude/)
32
+ Repository: [`masaaaaa725/ghc`](https://github.com/masaaaaa725/ghc)
33
+
34
+ ## Requirements
35
+
36
+ - Python 3.13+
37
+ - [uv](https://docs.astral.sh/uv/) or pip
38
+ - [GitHub CLI](https://cli.github.com/) (`gh auth login`)
39
+ - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) (`claude`)
40
+ - Git
41
+
42
+ ## Install
43
+
44
+ ```bash
45
+ pip install gh-claude
46
+ # or
47
+ uv tool install gh-claude
48
+ ```
49
+
50
+ ## Run
51
+
52
+ ```bash
53
+ gh-claude
54
+ # alias
55
+ ghc
56
+ ```
57
+
58
+ From a local checkout:
59
+
60
+ ```bash
61
+ uv sync
62
+ uv run gh-claude
63
+ ```
64
+
65
+ The app detects the GitHub repository in the current directory. Press `r` or
66
+ `Ctrl+P` to switch to any repository returned by `gh repo list`.
67
+
68
+ ## Keyboard shortcuts
69
+
70
+ - `↑` / `↓`: move the selection in the Issues or Pull Requests list
71
+ - `←` / `→`: switch between the Issues and Pull Requests tabs
72
+ - `f`: cycle the status filter (`OPEN` → `CLOSED` → `ALL` for Issues; includes `MERGED` / `DRAFT` for PRs)
73
+ - `r` / `Ctrl+P`: searchable repository picker (`↑`/`↓` to move, `Enter` to select, `Esc` to cancel)
74
+ - `c`: turn rough notes into a reviewed GitHub issue with Claude
75
+ - `s`: summarize the selected issue or pull request with Claude
76
+ - `o`: check out the selected pull request as a local branch
77
+ - `v`: review the selected pull request diff with Claude
78
+ - `a`: draft, preview, and post an AI-polished comment
79
+ - `Ctrl+E`: create an Issue branch and let Claude implement the selected Issue
80
+ - `i` / `p`: switch to Issues / Pull Requests
81
+ - `Ctrl+R` / `F5`: refresh Issues and Pull Requests for the current repository
82
+ - `Ctrl+C`: quit
83
+
84
+ ## Project layout
85
+
86
+ ```text
87
+ .
88
+ ├── pyproject.toml
89
+ ├── uv.lock
90
+ ├── src/ # Import package `ghc` (PyPI name: `gh-claude`)
91
+ │ ├── __init__.py
92
+ │ ├── __main__.py
93
+ │ ├── app.py # Main Textual app and interactions
94
+ │ ├── app.tcss # Dark UI theme
95
+ │ ├── clients.py # Async gh / claude / git wrappers
96
+ │ ├── models.py # Domain models
97
+ │ └── screens.py # Repository and issue workflow modals
98
+ └── tests/
99
+ ├── test_app.py
100
+ ├── test_clients.py
101
+ ├── test_models.py
102
+ └── test_screens.py
103
+ ```
104
+
105
+ All external commands are executed without a shell via
106
+ `asyncio.create_subprocess_exec`. GitHub read operations request JSON explicitly;
107
+ commands such as `gh pr diff`, `gh pr checkout`, `gh issue create`, and
108
+ `gh issue comment` are exceptions because those GitHub CLI commands do not
109
+ support `--json`.
110
+
111
+ `Ctrl+E` is intentionally limited to the repository currently checked out on
112
+ disk. After confirmation, it creates `issue-<number>-<slug>` with
113
+ `git checkout -b`, then runs Claude Code in print mode. Claude is instructed not
114
+ to commit, push, or modify unrelated files; always review the working tree after
115
+ it finishes.
116
+
117
+ ## Test
118
+
119
+ ```bash
120
+ uv run pytest
121
+ ```
@@ -0,0 +1,20 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ gh_claude.egg-info/PKG-INFO
5
+ gh_claude.egg-info/SOURCES.txt
6
+ gh_claude.egg-info/dependency_links.txt
7
+ gh_claude.egg-info/entry_points.txt
8
+ gh_claude.egg-info/requires.txt
9
+ gh_claude.egg-info/top_level.txt
10
+ src/__init__.py
11
+ src/__main__.py
12
+ src/app.py
13
+ src/app.tcss
14
+ src/clients.py
15
+ src/models.py
16
+ src/screens.py
17
+ tests/test_app.py
18
+ tests/test_clients.py
19
+ tests/test_models.py
20
+ tests/test_screens.py
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ gh-claude = ghc.app:run
3
+ ghc = ghc.app:run
@@ -0,0 +1 @@
1
+ textual>=8.2.8
@@ -0,0 +1 @@
1
+ ghc
@@ -0,0 +1,59 @@
1
+ [project]
2
+ name = "gh-claude"
3
+ version = "0.1.0"
4
+ description = "A modern multi-repository GitHub TUI with Claude Code integration"
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ requires-python = ">=3.13"
8
+ authors = [
9
+ { name = "Masa" },
10
+ ]
11
+ keywords = [
12
+ "github",
13
+ "gh",
14
+ "claude",
15
+ "textual",
16
+ "tui",
17
+ ]
18
+ classifiers = [
19
+ "Development Status :: 3 - Alpha",
20
+ "Environment :: Console",
21
+ "Intended Audience :: Developers",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Topic :: Software Development :: Version Control :: Git",
25
+ ]
26
+ dependencies = [
27
+ "textual>=8.2.8",
28
+ ]
29
+
30
+ [project.urls]
31
+ Homepage = "https://github.com/masaaaaa725/ghc"
32
+ Repository = "https://github.com/masaaaaa725/ghc"
33
+ Issues = "https://github.com/masaaaaa725/ghc/issues"
34
+
35
+ [project.scripts]
36
+ gh-claude = "ghc.app:run"
37
+ ghc = "ghc.app:run"
38
+
39
+ [build-system]
40
+ requires = ["setuptools>=75"]
41
+ build-backend = "setuptools.build_meta"
42
+
43
+ [tool.setuptools.package-dir]
44
+ "ghc" = "src"
45
+
46
+ [tool.setuptools]
47
+ packages = ["ghc"]
48
+
49
+ [tool.setuptools.package-data]
50
+ ghc = ["*.tcss"]
51
+
52
+ [tool.pytest.ini_options]
53
+ addopts = "-q"
54
+ testpaths = ["tests"]
55
+
56
+ [dependency-groups]
57
+ dev = [
58
+ "pytest>=9.1.1",
59
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ """ghc: a GitHub and Claude Code TUI."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,4 @@
1
+ from .app import run
2
+
3
+ if __name__ == "__main__":
4
+ run()