@openhoo/hoopilot 0.8.4 → 0.9.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.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -50,6 +50,27 @@ curl -fsSL https://raw.githubusercontent.com/openhoo/hoopilot/main/scripts/insta
50
50
 
51
51
  The standalone installer also installs a `codexx` wrapper next to `hoopilot`. Re-run the installer if `hoopilot` works but your shell does not recognize `codexx`; the installer stops the installed `hoopilot.exe` if needed and replaces the existing files in place.
52
52
 
53
+ ### Docker
54
+
55
+ Run Hoopilot as a long-lived service from the published multi-arch image on the GitHub Container Registry (`linux/amd64` and `linux/arm64`):
56
+
57
+ ```sh
58
+ # 1. Sign in once; the OAuth credential is written to the persisted /data volume.
59
+ docker run --rm -it -v hoopilot-data:/data ghcr.io/openhoo/hoopilot login
60
+
61
+ # 2. Run the proxy. An API key is required because the container binds 0.0.0.0.
62
+ docker run -d --name hoopilot --restart unless-stopped \
63
+ -p 4141:4141 -e HOOPILOT_API_KEY=local-key \
64
+ -v hoopilot-data:/data ghcr.io/openhoo/hoopilot
65
+ ```
66
+
67
+ Tags follow the release version (e.g. `ghcr.io/openhoo/hoopilot:0.8`, `:0.8.3`) plus `:latest`. The image listens on `0.0.0.0:4141`, runs as a non-root user, and stores its OAuth credential at `/data/auth.json` (override with `HOOPILOT_AUTH_FILE`). A `docker-compose.yml` is provided in the repository:
68
+
69
+ ```sh
70
+ docker compose run --rm hoopilot login # one-time GitHub OAuth
71
+ HOOPILOT_API_KEY=local-key docker compose up -d
72
+ ```
73
+
53
74
  ## Update
54
75
 
55
76
  Standalone binaries update themselves in place from the latest GitHub release:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openhoo/hoopilot",
3
- "version": "0.8.4",
3
+ "version": "0.9.0",
4
4
  "packageManager": "bun@1.3.14",
5
5
  "description": "OpenAI-compatible local proxy for GitHub Copilot accounts.",
6
6
  "repository": {