openclaw-webchat-server
v0.2.4
Published
WebChat Chat Server for OpenClaw — browser WebSocket relay between users and OpenClaw agents
Maintainers
Readme
openclaw-webchat-server
WebChat Chat Server for OpenClaw — a WebSocket relay server that connects browsers to OpenClaw agents via the WebChat channel plugin.
Quick Start
npx openclaw-webchat-serverServer starts on http://localhost:3100:
http://localhost:3100— browser chat UIws://localhost:3100/ws— browser WebSocket endpointws://localhost:3100/plugin— plugin WebSocket endpoint
Configuration
| Environment Variable | Default | Description |
|---------------------|---------|-------------|
| PORT | 3100 | HTTP/WebSocket server port |
Production
Use Caddy / Nginx as a TLS reverse proxy for WSS support:
your-domain.com {
reverse_proxy localhost:3100
}Usage with openclaw-webchat-plugin
Deploy this server on a machine with a public IP
Install the plugin on your OpenClaw Gateway:
openclaw plugins install openclaw-webchat-pluginConfigure
~/.openclaw/openclaw.json:{ "channels": { "openclaw-webchat": { "enabled": true, "serverUrl": "wss://your-domain.com/plugin", "agents": [ { "agentId": "main", "name": "我的助手" } ] } } }Restart OpenClaw Gateway and open the browser UI.
Architecture
Browser ──WS──→ Chat Server (public) ──WS──→ Plugin ──dispatch──→ OpenClaw Core → AgentLicense
MIT
