[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74950":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":26,"discoverSource":27},74950,"openclaw-wechat","freestylefly\u002Fopenclaw-wechat","freestylefly","让 OpenClaw稳定的连上你的个人微信",null,"TypeScript",1667,349,14,0,2,18,6,59.43,false,"master",true,[],"2026-06-12 04:01:16","# openclaw-wechat\n\nWeChat (微信) channel plugin for [OpenClaw](https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw).\n\n[English](#english) | [中文](#中文)\n\n---\n\n## English\n\n### Installation\n\n```bash\nopenclaw plugins install @canghe\u002Fopenclaw-wechat\n```\n\n### Upgrade\n\n```bash\nopenclaw plugins update wechat\n```\n\n### Configuration\n\n1. Purchase an API Key from customer service\n2. Configure the plugin:\n\n```bash\n# Set API Key (required)\nopenclaw config set channels.wechat.apiKey \"wc_live_xxxxxxxxxxxxxxxx\"\n\n# Set proxy URL (required)\nopenclaw config set channels.wechat.proxyUrl \"http:\u002F\u002Fyour-proxy-server:3000\"\n\n# Set webhook host (required for cloud deployment)\nopenclaw config set channels.wechat.webhookHost \"your-server-ip\"\n\n# Enable the channel\nopenclaw config set channels.wechat.enabled true\n```\n\n### Configuration Options\n\n```yaml\n# ~\u002F.openclaw\u002Fopenclaw.json\nchannels:\n  wechat:\n    enabled: true\n    apiKey: \"wc_live_xxxxxxxxxxxxxxxx\"    # Required\n    proxyUrl: \"http:\u002F\u002Fyour-proxy:3000\"    # Required - Proxy service URL\n\n    # Webhook configuration (required for cloud deployment)\n    webhookHost: \"1.2.3.4\"                # Your server public IP or domain\n    webhookPort: 18790                    # Default: 18790\n    webhookPath: \"\u002Fwebhook\u002Fwechat\"        # Default: \u002Fwebhook\u002Fwechat\n\n    # Optional settings\n    deviceType: \"mac\"                     # \"ipad\" or \"mac\", default: \"ipad\"\n```\n\n### First-time Login\n\nWhen you start the gateway for the first time, a QR code will be displayed. Scan it with WeChat to log in.\n\n```bash\nopenclaw gateway start\n```\n\n### Features\n\n- Direct messages and group chats\n- Text and image messages\n- QR code login flow\n- Multi-account support\n\n### FAQ\n\n#### Bot cannot receive messages\n\n1. Make sure `webhookHost` is configured with your server's public IP\n2. Make sure `webhookPort` is accessible from the internet\n3. Check if the gateway is running: `openclaw gateway status`\n\n#### How to use multiple accounts\n\n```yaml\nchannels:\n  wechat:\n    accounts:\n      work:\n        apiKey: \"wc_live_work_xxx\"\n        webhookHost: \"1.2.3.4\"\n      personal:\n        apiKey: \"wc_live_personal_xxx\"\n        webhookHost: \"1.2.3.4\"\n```\n\n---\n\n## 中文\n\n### 安装\n\n```bash\nopenclaw plugins install @canghe\u002Fopenclaw-wechat\n```\n\n### 升级\n\n```bash\nopenclaw plugins update wechat\n```\n\n### 配置\n\n1. 获取 API Key（项目优化中，需要体验的可以先进群等待）\n2. 配置插件：\n\n```bash\n# 设置 API Key（必填）\nopenclaw config set channels.wechat.apiKey \"wc_live_xxxxxxxxxxxxxxxx\"\n\n# 设置代理服务地址（必填）\nopenclaw config set channels.wechat.proxyUrl \"http:\u002F\u002F你的代理服务器:3000\"\n\n# 设置 webhook 公网地址（云服务器部署必填）\nopenclaw config set channels.wechat.webhookHost \"你的服务器IP\"\n\n# 启用通道\nopenclaw config set channels.wechat.enabled true\n```\n\n### 配置选项\n\n```yaml\n# ~\u002F.openclaw\u002Fopenclaw.json\nchannels:\n  wechat:\n    enabled: true\n    apiKey: \"wc_live_xxxxxxxxxxxxxxxx\"    # 必填\n    proxyUrl: \"http:\u002F\u002F你的代理:3000\"      # 必填 - 代理服务地址\n\n    # Webhook 配置（云服务器部署必填）\n    webhookHost: \"1.2.3.4\"                # 服务器公网 IP 或域名\n    webhookPort: 18790                    # 默认: 18790\n    webhookPath: \"\u002Fwebhook\u002Fwechat\"        # 默认: \u002Fwebhook\u002Fwechat\n\n    # 可选配置\n    deviceType: \"mac\"                     # \"ipad\" 或 \"mac\"，默认: \"ipad\"\n```\n\n### 首次登录\n\n首次启动 gateway 时会显示二维码，用微信扫码登录。\n\n```bash\nopenclaw gateway start\n```\n\n### 功能\n\n- 私聊和群聊\n- 文本和图片消息\n- 二维码登录流程\n- 多账号支持\n\n### 常见问题\n\n#### 机器人收不到消息\n\n1. 确保 `webhookHost` 配置了服务器的公网 IP\n2. 确保 `webhookPort` 端口可从外网访问\n3. 检查 gateway 是否运行：`openclaw gateway status`\n\n#### 如何使用多账号\n\n```yaml\nchannels:\n  wechat:\n    accounts:\n      work:\n        apiKey: \"wc_live_work_xxx\"\n        webhookHost: \"1.2.3.4\"\n      personal:\n        apiKey: \"wc_live_personal_xxx\"\n        webhookHost: \"1.2.3.4\"\n```\n\n---\n\n## 申明\n\n本插件仅供学习和研究使用，请勿用于非法用途，否则后果自负。\n\n## 交流群\n\n关于 bot 进群交流请扫码关注，并回复：openclaw-wechat\n\n![](.\u002Fimages\u002F%E7%BE%A4%E8%81%8A%E4%BA%A4%E6%B5%81.bmp)\n\n\n\n## 十一、star 趋势图\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=freestylefly\u002Fopenclaw-wechat&type=Date)](https:\u002F\u002Fstar-history.com\u002F#freestylefly\u002Fopenclaw-wechat&Date)\n\n## License\n\nMIT\n","openclaw-wechat 是一个让 OpenClaw 与个人微信稳定连接的插件。它支持直接消息和群聊、文本及图片消息，并通过二维码登录流程实现多账号管理。使用 TypeScript 编写，该插件要求用户配置 API Key 和代理服务地址以确保通信安全，并且对于云部署场景还需设置 webhook 公网地址。适用于需要将微信集成到自动化工作流或客户服务系统中的开发者和个人用户。","2026-06-11 03:51:41","high_star"]