Commit Graph
15 Commits
Author SHA1 Message Date
iandHAPI 72ab8e95bc docs: restructure README and add Linux systemd auto-start guide
- Add table of contents for quick navigation
- Collapse long Windows/Linux scripts behind <details>
- Consolidate client setup into cleaner sections
- Add systemd user service instructions for Linux
- Move reference data (env vars, persistence) to the bottom

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <[email protected]>
2026-05-24 22:59:30 +08:00
i b139ff3a3a Merge branch 'main' of https://mybugs.work/i/Hapi-Docker 2026-05-24 22:41:15 +08:00
i 76fc0a6246 docs: add Windows scheduled task script for auto-starting HAPI Runner
Add a PowerShell one-liner script to README that creates a
logon-triggered scheduled task to automatically start
`hapi runner start` on Windows login.

Includes install, uninstall, and manual control commands.

via HAPI (https://hapi.run)
Co-Authored-By: HAPI <[email protected]>
2026-05-24 22:38:49 +08:00
iandHAPI acd51fae08 refactor: unify build/release workflows into a single parameterized workflow
Replace 4 separate workflows (docker-build-self, docker-build-origin,
release-self-binaries, release-origin-binaries) with one build-and-release.yml
that accepts repository, ref, docker_tag, and release_tag as inputs.

- origin/Dockerfile: now copies pre-built binary like self/Dockerfile
- origin/build.sh: clones tiann/hapi@main and builds before docker build

via HAPI

Co-Authored-By: HAPI <[email protected]>
2026-05-22 17:52:44 +08:00
iandHAPI f23b40f554 feat: add origin Docker image and release workflow from official hapi repo
Build from tiann/hapi main branch, tag as origin.

via HAPI

Co-Authored-By: HAPI <[email protected]>
2026-05-22 14:45:48 +08:00
i 2a44d333f2 docs: document CORS_ORIGINS=* requirement for reverse proxy / WebSocket terminal 2026-05-22 11:02:55 +08:00
iandHAPI 6948808f18 feat: add workflow to release self-built hapi binaries
Add a manual-trigger workflow that builds all platform binaries from
arkylin/hapi self branch and publishes them as GitHub Release assets.

Supports optional commit SHA and custom release tag inputs.

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <[email protected]>
2026-05-21 23:10:14 +08:00
iandHAPI 002e0b5e46 feat: add self-built Docker image from local hapi source
Add a new Docker image variant (tag: self) that uses compiled binaries
from the hapi self branch instead of installing from npm.

- self/Dockerfile: runtime image copying pre-built binary by arch
- self/build.sh: local build script from ../hapi/dist-exe
- .github/workflows/docker-build-self.yml: CI workflow to build and
  push multi-arch image to GHCR with tag "self"

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <[email protected]>
2026-05-21 22:28:25 +08:00
i 88c9c12804 docs: add Windows CLI setup instructions 2026-05-20 15:46:24 +08:00
i ff77a879bc docs: rewrite README with full server + client workflow 2026-05-20 15:44:58 +08:00
i 59c0934274 chore: bump Node to 24
Build and Push Docker Image to GHCR / build-and-push (push) Has been cancelled
2026-05-20 15:36:12 +08:00
i 9bfc11e740 fix: single-stage build to include platform binary
Build and Push Docker Image to GHCR / build-and-push (push) Has been cancelled
2026-05-20 15:35:54 +08:00
i d60fe49414 chore: use latest tag instead of main
Build and Push Docker Image to GHCR / build-and-push (push) Has been cancelled
2026-05-20 15:31:30 +08:00
i 03bdec1ce0 docs: update README with correct GHCR repo
Build and Push Docker Image to GHCR / build-and-push (push) Has been cancelled
2026-05-20 15:26:27 +08:00
i 94de06a832 init: HAPI Hub Docker 部署 (Dockerfile + docker-compose + GHCR workflow)
Build and Push Docker Image to GHCR / build-and-push (push) Has been cancelled
2026-05-20 15:14:09 +08:00