# openclaw-wechat(上游 OpenClaw 插件) 本目录用于**引用**开源仓库 [freestylefly/openclaw-wechat](https://github.com/freestylefly/openclaw-wechat):在已安装 [OpenClaw](https://github.com/openclaw/openclaw) 的环境下,作为 **OpenClaw 通道插件**使用微信代理 API,与网关 `openclaw gateway start` 配合(终端扫码登录等)。 与本仓库 **web2 内置能力**的关系: - **Python 桥接**(`web2_wechat_chatbot.py`)直接调用与插件相同的**代理服务 HTTP API**(`/v1/account/status`、`/v1/iPadLogin` 等),无需运行 OpenClaw 即可在「直播录制助手」里配置密钥、拉取二维码、轮询登录。 - 若你已在 OpenClaw 中使用该插件,只需将 **同一套 `apiKey` + `proxyUrl`** 写入 `config/wechat_chatbot.json`,两端行为一致。 ## 添加子模块(可选) ```bash git submodule add https://github.com/freestylefly/openclaw-wechat.git integrations/openclaw-wechat/repo ``` 随后可在 OpenClaw 侧按上游 README 安装:`openclaw plugins install @canghe/openclaw-wechat`(以 [上游说明](https://github.com/freestylefly/openclaw-wechat) 为准)。 ## 许可 上游为 MIT;使用微信代理服务须遵守其条款,且勿用于违法用途(见上游仓库声明)。