连接飞书等国内 IM 平台与 ClawdBot AI Agent 的桥接服务。
- ClawdBot Gateway 正在本地运行(默认端口 18789,配置在
~/.clawdbot/clawdbot.json) - 飞书企业自建应用的 App ID 和 App Secret
Linux (amd64)
curl -sLO https://github.com/wy51ai/moltbotCNAPP/releases/latest/download/clawdbot-bridge-linux-amd64 && mv clawdbot-bridge-linux-amd64 clawdbot-bridge && chmod +x clawdbot-bridgeLinux (arm64)
curl -sLO https://github.com/wy51ai/moltbotCNAPP/releases/latest/download/clawdbot-bridge-linux-arm64 && mv clawdbot-bridge-linux-arm64 clawdbot-bridge && chmod +x clawdbot-bridgemacOS (arm64 / Apple Silicon)
curl -sLO https://github.com/wy51ai/moltbotCNAPP/releases/latest/download/clawdbot-bridge-darwin-arm64 && mv clawdbot-bridge-darwin-arm64 clawdbot-bridge && chmod +x clawdbot-bridgemacOS (amd64 / Intel)
curl -sLO https://github.com/wy51ai/moltbotCNAPP/releases/latest/download/clawdbot-bridge-darwin-amd64 && mv clawdbot-bridge-darwin-amd64 clawdbot-bridge && chmod +x clawdbot-bridgeWindows (amd64)
Invoke-WebRequest -Uri https://github.com/wy51ai/moltbotCNAPP/releases/latest/download/clawdbot-bridge-windows-amd64.exe -OutFile clawdbot-bridge.exe也可以直接从 Releases 页面手动下载。
git clone https://github.com/wy51ai/moltbotCNAPP.git
cd moltbotCNAPP
go build -o clawdbot-bridge ./cmd/bridge/传入飞书凭据,会自动保存到 ~/.clawdbot/bridge.json:
./clawdbot-bridge start fs_app_id=cli_xxx fs_app_secret=yyy凭据保存后,直接使用:
./clawdbot-bridge start # 后台启动
./clawdbot-bridge stop # 停止
./clawdbot-bridge restart # 重启
./clawdbot-bridge status # 查看状态
./clawdbot-bridge run # 前台运行(方便调试)| 参数 | 说明 | 默认值 |
|---|---|---|
fs_app_id |
飞书 App ID | — |
fs_app_secret |
飞书 App Secret | — |
agent_id |
ClawdBot Agent ID | main |
thinking_ms |
显示"思考中"延迟(毫秒),0 为禁用 | 0 |
tail -f ~/.clawdbot/bridge.log# 前台运行(日志直接输出到终端)
./clawdbot-bridge run
# 编译所有平台
./scripts/build.sh欢迎提交 Issue 和 Pull Request!
MIT License - 详见 LICENSE 文件