Automatically respond to Wechat messages via chatgpt

Latest Version

Version
5.0.2
Update
April 13, 2024
Size
1.06MiB
Developer
aow.me
Category
Users
5,000+
Rating
4.61667 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Storage
UnlimitedStorage
DeclarativeNetRequest
See more

ChatGPT for Wechat Extension

ChatGPT for Wechat是一个微信机器人插件,可以通过ChatGPT自动回复@你的消息。插件支持Chrome和Firefox浏览器。

更新记录:
5.0.1 增加对gemini和千帆大模型的支持
5.0.2 增加对Dify的支持,去掉千帆大模型

使用步骤
1. 安装插件
点击安装到chrome,安装插件
2. 配置AI源
在插件设置中,选择您要使用的AI源。
- Google AI Chat:打开bard.google.com,保持登录状态
- ChatGPT网页:打开chatgpt.openai.com,保持登录状态
- OpenAI API:在OpenAI的网站申请OpenAI的API key,贴入后保存配置,连接测试
- 注意:先保存配置,再进行连接测试,收到回复的弹框提示,表示成功建立通信。
3. 设置Bot参数
在插件设置中,设置Bot的相关参数,如:
- Bot状态:是否开启bot模式。
- 新用户欢迎消息:是否开启。
- 选择私聊触发:默认总是触发,无需@即可。
4. 登录微信网页版
点击设置页面右上角,打开微信网页版,然后登录您的微信账号。
5. 选择AI源
这一步很重要一定要操作。
点击插件小图标,在右侧选项卡中,选择您要使用的AI源。下方显示连接正常,就可以开始使用。
6. 开始使用
在微信群聊天时,@Bot的昵称,Bot就会自动回复您的消息。
在微信私聊时,无需@就可以开启对话。

详细安装步骤,请查看使用指南:https://docs.aow.me/docs/how_to_use

联系我们
- 了解更多:https://aoq.me
- 需要帮助,添加小助手:Asgrief
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "ChatGPT for Wechat", "description": "Automatically respond to Wechat messages via chatgpt", "version": "5.0.2", "manifest_version": 3, "icons": { "16": "assets/icons/logo.png", "32": "assets/icons/logo.png", "48": "assets/icons/logo.png", "128": "assets/icons/logo_128.png" }, "permissions": [ "storage", "unlimitedStorage", "declarativeNetRequest" ], "host_permissions": [ "https://aip.baidubce.com/*", "https://*.openai.com/", "https://*.bing.com/*", "https://api.dify.ai/*", "https://*.google.com/*", "https://wx.qq.com/*", "https://web.wechat.com/*", "https://wx2.qq.com/*", "https://wx8.qq.com/*", "https://*.weixin.qq.com/*" ], "optional_host_permissions": [ "http://*/*", "https://*/*", "*://*/*" ], "background": { "service_worker": "js/background.bundle.js" }, "action": { "default_popup": "popup.html", "default_icon": { "16": "assets/icons/logo.png", "32": "assets/icons/logo.png", "48": "assets/icons/logo.png", "128": "assets/icons/logo_128.png" }, "default_title": "ChatGPT for Wechat" }, "options_ui": { "page": "options.html", "open_in_tab": true }, "content_scripts": [ { "matches": [ "https://*.wx.qq.com/*", "https://*.wx2.qq.com/*", "https://*.wx8.qq.com/*", "https://*.web.wechat.com/*", "https://*.weixin.qq.com/*" ], "js": [ "js/cnts.bundle.js" ] } ], "web_accessible_resources": [ { "resources": [ "js/ips.bundle.js" ], "matches": [ "https://*.wx.qq.com/*", "https://*.wx2.qq.com/*", "https://*.wx8.qq.com/*", "https://*.web.wechat.com/*" ] }, { "resources": [ "js/fhs.bundle.js" ], "matches": [ "https://*.weixin.qq.com/*" ] } ], "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" }}
Read more