{"id":13435831,"url":"https://github.com/fritx/wxbot","last_synced_at":"2025-04-12T22:19:27.609Z","repository":{"id":55400509,"uuid":"42800787","full_name":"fritx/wxbot","owner":"fritx","description":"[已过时] 普通个人号 微信机器人/外挂","archived":false,"fork":false,"pushed_at":"2017-10-03T03:36:12.000Z","size":183,"stargazers_count":805,"open_issues_count":16,"forks_count":249,"subscribers_count":60,"default_branch":"next","last_synced_at":"2024-04-30T04:21:52.967Z","etag":null,"topics":["bot","electron","wechat"],"latest_commit_sha":null,"homepage":"https://blog.fritx.me/?projects/wxbot/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fritx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-20T04:57:26.000Z","updated_at":"2024-04-03T00:03:27.000Z","dependencies_parsed_at":"2022-08-14T23:30:36.848Z","dependency_job_id":null,"html_url":"https://github.com/fritx/wxbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fwxbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fwxbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fwxbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fwxbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fritx","download_url":"https://codeload.github.com/fritx/wxbot/tar.gz/refs/heads/next","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248638087,"owners_count":21137600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","electron","wechat"],"created_at":"2024-07-31T03:00:39.690Z","updated_at":"2025-04-12T22:19:27.586Z","avatar_url":"https://github.com/fritx.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# wxbot 微信机器人\n\n\u003ca href=\"https://github.com/fritx/awesome-wechat\"\u003e\u003cimg width=\"110\" height=\"20\" src=\"https://img.shields.io/badge/awesome-wechat-brightgreen.svg\"\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://github.com/fritx/wxbot\"\u003e\u003cimg width=\"74\" height=\"20\" src=\"https://img.shields.io/badge/github-dev-orange.svg\"\u003e\u003c/a\u003e\n\n- __普通个人号 微信机器人/外挂__ (不同于[webot](https://github.com/node-webot/webot)等公众号机器人)\n- 意义: 个人号可充当公众号使用 关系增强/门槛降低/更多行为/依旧自动化\n- 与[qqbot](https://github.com/xhan/qqbot)/[wqq](https://github.com/fritx/wqq)等不同: 基于浏览器/用户行为自动化 更贴近用户/更可靠\n- 基于浏览器桌面平台[electron](https://github.com/atom/electron) 跨平台win/linux/mac\n- 基于微信网页版 \u003chttps://wx.qq.com\u003e\n- 目前处于高度开发和观察阶段\n- 目前代码提供自动回复 可自行定制\n\n请使用较新版本的electron\u003e=v1.0\n如果electron=v0.x 可以查看分支[wxbot#electron-v0](https://github.com/fritx/wxbot/tree/electron-v0)\n\n```plain\n$ cd wxbot\n$ npm install\n$ node .  # 运行 需扫二维码登录\n```\n\n\u003cimg width=\"643\" src=\"https://raw.githubusercontent.com/fritx/wxbot/dev/screenshot.jpeg\"\u003e\n\n## 功能实现\n\n- [x] 自动回复\n- [x] 识别并回复相同的文本/表情/emoji\n- [x] 识别图片/语音/视频/小视频\n- [x] 识别位置/名片/链接/附件\n- [x] 识别转账/在线聊天/实时对讲\n- [x] 发送图片\n- [x] 下载自定义表情/名片/图片/语音/附件\n- [ ] 下载视频/小视频\n- [ ] 接受好友请求并回复\n- [ ] 感应系统消息 时间/邀请加群/红包等\n- [ ] loop错误超时解锁\n- [x] 探索运行于无界面平台 [atom/electron#228](https://github.com/atom/electron/issues/228)\n\n## 无界面linux运行\n\n- 从命令行输出 获取二维码图片url 自行打开/扫描\n- 参照配置 [segmentio/nightmare#224 (comment)](https://github.com/segmentio/nightmare/issues/224#issuecomment-141575361)\n\n## Docker 相关\n\n```plain\n$ cd wxbot\n$ docker build -t wxbot .\n$ docker run -d -p 8233:8233 # 浏览器访问 docker 的 8233 端口，即可获取图片\n```\n\n## 如何正确地下载electron\n\n参考 \u003chttp://blog.fritx.me/?weekly/150904\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffritx%2Fwxbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffritx%2Fwxbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffritx%2Fwxbot/lists"}