docs: fix HTTP channel documentation
- Change default address from 0.0.0.0:8080 to 127.0.0.1:8070 - Remove incorrect file upload feature mention The HTTP channel documentation now accurately reflects the actual default configuration and supported features.
This commit is contained in:
parent
df4f73a36d
commit
ba358d518b
1 changed files with 39 additions and 0 deletions
39
README.md
39
README.md
|
|
@ -268,6 +268,7 @@ Talk to your picoclaw through Telegram, Discord, DingTalk, LINE, or WeCom
|
||||||
|
|
||||||
| Channel | Setup |
|
| Channel | Setup |
|
||||||
| ------------ | ---------------------------------- |
|
| ------------ | ---------------------------------- |
|
||||||
|
| **HTTP** | Automatic (enabled by default) |
|
||||||
| **Telegram** | Easy (just a token) |
|
| **Telegram** | Easy (just a token) |
|
||||||
| **Discord** | Easy (bot token + intents) |
|
| **Discord** | Easy (bot token + intents) |
|
||||||
| **QQ** | Easy (AppID + AppSecret) |
|
| **QQ** | Easy (AppID + AppSecret) |
|
||||||
|
|
@ -275,6 +276,44 @@ Talk to your picoclaw through Telegram, Discord, DingTalk, LINE, or WeCom
|
||||||
| **LINE** | Medium (credentials + webhook URL) |
|
| **LINE** | Medium (credentials + webhook URL) |
|
||||||
| **WeCom** | Medium (CorpID + webhook setup) |
|
| **WeCom** | Medium (CorpID + webhook setup) |
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>HTTP</b> (Default)</summary>
|
||||||
|
|
||||||
|
The HTTP channel is enabled by default and runs on `http://127.0.0.1:8070`. No configuration needed!
|
||||||
|
|
||||||
|
**Access the web interface:**
|
||||||
|
|
||||||
|
1. Start the gateway:
|
||||||
|
```bash
|
||||||
|
picoclaw gateway
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Open your browser and navigate to `http://127.0.0.1:8070`
|
||||||
|
|
||||||
|
**Configuration:**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"channels": {
|
||||||
|
"http": {
|
||||||
|
"enabled": true,
|
||||||
|
"host": "127.0.0.1",
|
||||||
|
"port": 8070
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Features:**
|
||||||
|
|
||||||
|
- Real-time chat interface
|
||||||
|
- Markdown support with proper rendering
|
||||||
|
- Responsive design for mobile and desktop
|
||||||
|
|
||||||
|
The HTTP channel is perfect for testing, local development, or running PicoClaw on a headless server with a web UI.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><b>Telegram</b> (Recommended)</summary>
|
<summary><b>Telegram</b> (Recommended)</summary>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue