docs: add Steps component and refactor quick-start guide

This commit is contained in:
weishu
2026-01-01 19:12:16 +08:00
parent 0e98dadd50
commit 2e9cb46a39
4 changed files with 73 additions and 357 deletions
+8 -4
View File
@@ -1,6 +1,8 @@
# Quick Start
## Step 1: Install HAPI
<Steps>
## Install HAPI
::: code-group
@@ -20,7 +22,7 @@ npx @twsxtd/hapi
Other install options: [Installation](/guide/installation)
## Step 2: Start the server
## Start the server
```bash
hapi server
@@ -28,7 +30,7 @@ hapi server
On first run, HAPI prints an access token and saves it to `~/.hapi/settings.json`.
## Step 3: Start a coding session
## Start a coding session
```bash
hapi
@@ -36,7 +38,7 @@ hapi
This starts Claude Code wrapped with HAPI. The session appears in the web UI.
## Step 4: Open the UI
## Open the UI
Open your browser:
@@ -52,6 +54,8 @@ http://<your-computer-ip>:3006
Enter your access token to log in.
</Steps>
## Next steps
- [Remote access](/guide/installation#remote-access) - Access HAPI from anywhere