@leohenon/opengh 0.0.0 → 0.0.2

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.
Files changed (2) hide show
  1. package/README.md +21 -18
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -6,11 +6,14 @@
6
6
  </p>
7
7
 
8
8
  <p align="center">
9
- <a href="https://github.com/leohenon/opengh/releases"><img src="https://img.shields.io/github/v/release/leohenon/opengh?sort=semver&amp;style=flat-square&amp;labelColor=24292f&amp;color=orange" alt="Latest release" /></a>&nbsp;
10
- <a href="https://github.com/leohenon/opengh/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/leohenon/opengh/ci.yml?style=flat-square&amp;branch=main&amp;label=CI&amp;labelColor=24292f" alt="CI" /></a>
9
+ <a href="https://github.com/leohenon/opengh/releases"><img src="https://img.shields.io/github/v/release/leohenon/opengh?sort=semver&amp;style=flat-square&amp;labelColor=24292f&amp;color=0969da" alt="Latest release" /></a>&nbsp;
10
+ <a href="https://github.com/leohenon/opengh/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/leohenon/opengh/ci.yml?style=flat-square&amp;branch=main&amp;label=CI&amp;labelColor=24292f" alt="CI" /></a>&nbsp;
11
+ <a href="docs/installation.md"><img src="https://img.shields.io/static/v1?label=macOS&amp;message=Intel%20%2F%20Apple%20silicon&amp;color=57606a&amp;labelColor=24292f&amp;style=flat-square" alt="macOS: Intel and Apple silicon" /></a>&nbsp;
12
+ <a href="docs/installation.md"><img src="https://img.shields.io/static/v1?label=Linux&amp;message=x86-64%20%2F%20ARM64&amp;color=57606a&amp;labelColor=24292f&amp;style=flat-square" alt="Linux: x86-64 and ARM64" /></a>&nbsp;
13
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-57606a?labelColor=24292f&amp;style=flat-square" alt="MIT License" /></a>
11
14
  </p>
12
15
 
13
- <p align="center">A familiar terminal interface for GitHub.</p>
16
+ <p align="center">Run <code>opengh</code> in your repo, or pass it a GitHub link, and you're there. You'll already know your way around.</p>
14
17
 
15
18
  <picture>
16
19
  <source media="(prefers-reduced-motion: reduce) and (prefers-color-scheme: dark)" srcset="docs/assets/screenshot-dark.png" />
@@ -20,14 +23,11 @@
20
23
  <img src="docs/assets/screenshot-light.png" alt="opengh showing a split diff and inline review for OpenTUI PR #209" />
21
24
  </picture>
22
25
 
23
- **Browse** repositories, commits, and Actions.
24
- **Manage** issues and pull requests.
25
- **Review** split or unified diffs, leave inline comments, and submit reviews.
26
- **Navigate** by keyboard or mouse, with customizable shortcuts and themes.
26
+ > **Public beta:** Commands and config may change before v1.0. Please [report bugs](https://github.com/leohenon/opengh/issues).
27
27
 
28
28
  ## Install · [Guide](docs/installation.md)
29
29
 
30
- Available for macOS and Linux.
30
+ Available for macOS and Linux. The only requirement is a signed-in [GitHub CLI](docs/installation.md#authenticate).
31
31
 
32
32
  ```sh
33
33
  # Curl
@@ -43,34 +43,37 @@ npm install --global @leohenon/opengh
43
43
  nix profile install github:leohenon/opengh#opengh nixpkgs#gh
44
44
  ```
45
45
 
46
- Requires [GitHub CLI](https://cli.github.com/) authentication.
47
-
48
46
  ## Get started · [Usage](docs/usage.md)
49
47
 
50
48
  ```sh
51
- opengh . # Current directory's repository
52
- opengh owner/repo # Any repository
53
- opengh owner/repo --pr 123 # Open a specific pull request
49
+ opengh . # Current directory's repository
50
+ opengh owner/repo # Any repository
51
+ opengh owner/repo --pr 123 # Open a specific pull request
52
+ opengh https://github.com/owner/repo/pull/123 # A GitHub link
54
53
  ```
55
54
 
56
- ## For agents · [Agent CLI](docs/agent-cli.md)
55
+ Press `?` for shortcuts, or right-click anything.
57
56
 
58
- Descriptions, diffs, comments, and review threads in one command.
57
+ ## Update
59
58
 
60
59
  ```sh
61
- npx skills add leohenon/opengh --skill opengh --global
60
+ opengh update
62
61
  ```
63
62
 
64
- ## Update
63
+ ## For agents · [Agent CLI](docs/agent-cli.md)
64
+
65
+ Gives your agent a whole PR in one command, including the line comments `gh pr view` leaves out.
65
66
 
66
67
  ```sh
67
- opengh update
68
+ npx skills add leohenon/opengh --skill opengh --global
68
69
  ```
69
70
 
70
71
  ## Documentation
71
72
 
72
73
  [Installation](docs/installation.md) · [Usage](docs/usage.md) · [CLI](docs/cli.md) · [Keybindings](docs/keybindings.md) · [Configuration](docs/configuration.md) · [Agent CLI](docs/agent-cli.md) · [Development](docs/development.md) · [Roadmap](ROADMAP.md)
73
74
 
75
+ ![Reviewing a pull request in opengh: browsing the diff, leaving an inline comment, and squash-merging the PR](docs/assets/demos/pr-review.gif)
76
+
74
77
  ---
75
78
 
76
79
  <p align="center">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leohenon/opengh",
3
- "version": "0.0.0",
3
+ "version": "0.0.2",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/leohenon/opengh#readme",
6
6
  "bugs": "https://github.com/leohenon/opengh/issues",
@@ -35,11 +35,11 @@
35
35
  "node": ">=18"
36
36
  },
37
37
  "optionalDependencies": {
38
- "opengh-darwin-arm64": "0.0.0",
39
- "opengh-darwin-x64": "0.0.0",
40
- "opengh-linux-x64": "0.0.0",
41
- "opengh-linux-arm64": "0.0.0",
42
- "opengh-linux-x64-musl": "0.0.0",
43
- "opengh-linux-arm64-musl": "0.0.0"
38
+ "opengh-darwin-arm64": "0.0.2",
39
+ "opengh-darwin-x64": "0.0.2",
40
+ "opengh-linux-x64": "0.0.2",
41
+ "opengh-linux-arm64": "0.0.2",
42
+ "opengh-linux-x64-musl": "0.0.2",
43
+ "opengh-linux-arm64-musl": "0.0.2"
44
44
  }
45
45
  }