mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
- Initialize VitePress documentation site with config, index, and guides - Add guides for quick-start, installation, PWA, how-it-works, FAQ, and why HAPI - Update .gitignore to exclude VitePress cache directory - Update logo.svg with actual icon from web/public/icon.svg - Simplify README.md with link to full installation guide - Remove redundant WHY_NOT_HAPPY.md (content migrated to why-hapi guide)
56 lines
767 B
Markdown
56 lines
767 B
Markdown
# Quick Start
|
|
|
|
Get HAPI running in a few minutes.
|
|
|
|
## Step 1: 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)
|
|
|
|
## Step 2: Start the server
|
|
|
|
```bash
|
|
hapi server
|
|
```
|
|
|
|
On first run, HAPI prints an access token and saves it to `~/.hapi/settings.json`.
|
|
|
|
## Step 3: Start a coding session
|
|
|
|
```bash
|
|
hapi
|
|
```
|
|
|
|
This starts Claude Code wrapped with HAPI. The session appears in the web UI.
|
|
|
|
## Step 4: Open the UI
|
|
|
|
Open your browser:
|
|
|
|
```
|
|
http://localhost:3006
|
|
```
|
|
|
|
Or from another device on the same network:
|
|
|
|
```
|
|
http://<your-computer-ip>:3006
|
|
```
|
|
|
|
Enter your access token to log in.
|