Files
hapi/docs/guide/quick-start.md
T
weishu c3c89a2773 docs: default to --relay for simplified remote access with E2EE
Update documentation across README, installation, and quick-start guides
to highlight the new relay-based access method with WireGuard + TLS
end-to-end encryption. Changes include:
- Recommend `hapi server --relay` as the default startup command
- Explain URL and QR code generation in terminal for instant access
- Note end-to-end encryption for security assurance
- Reorganize self-hosted tunnel options (Cloudflare, Tailscale, IP)
- Update website installation steps and add E2EE badge
2026-01-14 10:36:46 +08:00

1.1 KiB

Quick Start

Install HAPI

::: code-group

npm install -g @twsxtd/hapi
brew install tiann/tap/hapi
npx @twsxtd/hapi

:::

Other install options: Installation

Start the server

hapi server --relay

On first run, HAPI prints an access token and saves it to ~/.hapi/settings.json.

The terminal will display a URL and QR code for remote access.

End-to-end encrypted with WireGuard + TLS.

Start a coding session

hapi

This starts Claude Code wrapped with HAPI. The session appears in the web UI.

Open the UI

Open the URL shown in the terminal, or scan the QR code with your phone.

Enter your access token to log in.

Next steps