| title | OpenClaw AI Gateway | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| emoji | 🦞 | ||||||||
| colorFrom | blue | ||||||||
| colorTo | purple | ||||||||
| sdk | docker | ||||||||
| pinned | false | ||||||||
| license | mit | ||||||||
| app_port | 7860 | ||||||||
| startup_duration_timeout | 1h | ||||||||
| short_description | AI Gateway for WhatsApp, Telegram, Discord & more | ||||||||
| suggested_hardware | cpu-basic | ||||||||
| tags |
|
部署在 HuggingFace Spaces 上的 OpenClaw AI 代理网关。
- 🤖 多平台支持:WhatsApp、Telegram、Discord、Slack 等
- ⚡ 主动式 AI:定时任务和心跳提醒
- 🔧 工具调用:日历、邮箱、文件系统访问
- 🌐 HTTP API:OpenAI 兼容接口
- 💻 Web Terminal:浏览器内 Shell 访问
- 🖥️ VNC 远程桌面:浏览器自动化支持(Puppeteer)
在 HuggingFace Space Settings → Variables and secrets 中添加:
Gateway Token(必需)
# 生成 token
openssl rand -base64 32
# 设置环境变量
OPENCLAW_GATEWAY_TOKEN=<生成的token>AI Provider(至少一个)
ANTHROPIC_API_KEY或OPENAI_API_KEY
Web Terminal
TTYD_USERNAME=admin
TTYD_PASSWORD=<openssl rand -base64 16>Google Drive 备份
RCLONE_OAUTH_TOKEN=<OAuth token JSON>
BACKUP_INTERVAL_MINUTES=60- Gateway:
https://your-space.hf.space/?token=YOUR_TOKEN - Web Terminal:
https://your-space.hf.space/terminal - VNC Remote Desktop:
https://your-space.hf.space/vnc(用于浏览器操作)
HuggingFace Spaces (Port 7860)
↓
Nginx
├── / → OpenClaw Gateway (18789)
├── /terminal → ttyd Web Terminal (7681)
└── /vnc → noVNC Remote Desktop (6080)
MIT