Docs
Refer friends. Keep the rewards coming!Your friend can unlock up to 10M tokens · earn up to 30% revenue share.
+500K TokensGenerate link

消息频道 (Archive)

Archived original-language source from the legacy CrabClaw docs. This page is intentionally not machine-translated.

Crab Claw(蟹爪)可通过你日常使用的任何聊天应用与你对话。每个频道通过 Go Gateway 连接。 当前 CLI、配置命名空间和服务名仍保留 crabclaw 兼容标识。 所有频道支持文本消息;媒体和反应(reaction)支持因频道而异。

内置频道(Go 原生)

以下频道在 Go Gateway 中原生实现,无需额外安装:

  • WhatsApp — 最流行;通过 QR 码配对连接。
  • Telegram — Telegram Bot API;支持群组和频道。
  • Discord — Discord Bot API + Gateway;支持服务器、频道和 DM。
  • Slack — Slack 工作区应用;支持 Socket Mode 和 HTTP 模式。
  • 飞书 / Feishu — 飞书/Lark 机器人;WebSocket 长连接。
  • Google Chat — Google Chat API 应用;通过 HTTP Webhook。
  • Signal — 通过 signal-cli 集成;注重隐私。
  • iMessage — 通过 BlueBubbles macOS 服务端 REST API(推荐)。
  • iMessage (旧版) — 旧版 macOS imsg CLI 集成(已废弃,新部署请用 BlueBubbles)。
  • Microsoft Teams — Azure Bot 集成;企业级支持。
  • 钉钉 / DingTalk — 钉钉机器人集成。
  • 企业微信 / WeCom — 企业微信应用集成。
  • LINE — LINE Messaging API 机器人。
  • WebChat — Gateway 内置 WebChat UI,通过 WebSocket 通信。

扩展频道(Go 插件)

以下频道通过 Go 插件机制加载:

Rust CLI 频道管理命令

bash
crabclaw channels list          # 列出已配置的频道
crabclaw channels add           # 添加新频道
crabclaw channels remove        # 移除频道
crabclaw channels status        # 查看频道运行状态
crabclaw channels login         # 登录频道
crabclaw channels logout        # 登出频道
crabclaw channels capabilities  # 查看频道能力
crabclaw channels logs          # 查看频道日志
crabclaw channels resolve       # 解析频道配置
crabclaw channels list          # 列出已配置的频道
crabclaw channels add           # 添加新频道
crabclaw channels remove        # 移除频道
crabclaw channels status        # 查看频道运行状态
crabclaw channels login         # 登录频道
crabclaw channels logout        # 登出频道
crabclaw channels capabilities  # 查看频道能力
crabclaw channels logs          # 查看频道日志
crabclaw channels resolve       # 解析频道配置

注意事项

  • 频道可同时运行;配置多个频道后 Crab Claw(蟹爪)会按聊天来源自动路由。
  • 最快上手频道通常是 Telegram(仅需 bot token)。WhatsApp 需要 QR 配对且在磁盘上存储更多状态。
  • 群聊行为因频道而异;详见群组
  • DM 配对和白名单机制确保安全性;详见安全
  • 频道路由规则详见 channel-routing
  • 故障排查:频道故障排查
  • 模型提供商文档参见 Model Providers