mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
Introduce comprehensive documentation of HAPI's Seamless Handoff feature: - README: Add Seamless Handoff to Features section - how-it-works: Add complete Seamless Handoff guide with local/remote modes and switching workflow - quick-start: Add Seamless Handoff link to Next steps - AppShowcase: Add third card featuring "Switch Freely" mode switching capability - Locales: Update English and Chinese translations for showcase content
59 lines
985 B
Markdown
59 lines
985 B
Markdown
# Quick Start
|
|
|
|
<Steps>
|
|
|
|
## Install HAPI
|
|
|
|
::: code-group
|
|
|
|
```bash [npm]
|
|
npm install -g @twsxtd/hapi
|
|
```
|
|
|
|
```bash [Homebrew]
|
|
brew install tiann/tap/hapi
|
|
```
|
|
|
|
```bash [npx (one-off)]
|
|
npx @twsxtd/hapi
|
|
```
|
|
|
|
:::
|
|
|
|
Other install options: [Installation](/guide/installation)
|
|
|
|
## Start the server
|
|
|
|
```bash
|
|
hapi server
|
|
```
|
|
|
|
On first run, HAPI prints an access token and saves it to `~/.hapi/settings.json`.
|
|
|
|
## Start a coding session
|
|
|
|
```bash
|
|
hapi
|
|
```
|
|
|
|
This starts Claude Code wrapped with HAPI. The session appears in the web UI.
|
|
|
|
## Open the UI
|
|
|
|
Open your browser:
|
|
|
|
```
|
|
http://<your-ip>:3006
|
|
```
|
|
|
|
Enter your access token to log in.
|
|
|
|
</Steps>
|
|
|
|
## Next steps
|
|
|
|
- [Seamless Handoff](/guide/how-it-works#seamless-handoff) - Switch between terminal and phone seamlessly
|
|
- [Remote access](/guide/installation#remote-access) - Access HAPI from anywhere
|
|
- [Notifications](/guide/installation#telegram-setup) - Set up Telegram notifications
|
|
- [Install the app](/guide/pwa) - Add HAPI to your home screen
|