gptbot/wechatbot
2023-03-29 11:31:24 +08:00
..
bootstrap 邮箱监控异常退出 2023-03-29 11:31:24 +08:00
config initial commit 2023-03-22 15:25:55 +08:00
gpt Fix int to string 2023-03-24 12:21:25 +08:00
handlers Fix some issues 2023-03-24 10:57:35 +08:00
utils 邮箱监控异常退出 2023-03-29 11:31:24 +08:00
.gitignore initial commit 2023-03-22 15:25:55 +08:00
config.json.example Update README and Fix code 2023-03-27 10:51:11 +08:00
Dockerfile Fix wechatbot 2023-03-23 11:44:49 +08:00
go.mod initial commit 2023-03-22 15:25:55 +08:00
go.sum initial commit 2023-03-22 15:25:55 +08:00
main.go initial commit 2023-03-22 15:25:55 +08:00
Makefile initial commit 2023-03-22 15:25:55 +08:00
README.md Update README and Fix code 2023-03-27 10:51:11 +08:00
start.sh Update README and Fix code 2023-03-27 10:51:11 +08:00

微信机器人

最近ChatGPT异常火爆想到将其接入到个人微信是件比较有趣的事所以有了这个项目。项目基于openwechat开发支持ChatGPT和New Bing其中New Bing依赖于new-bing项目提供的http接口。

目前实现了以下功能

  • 群聊@回复
  • 私聊回复
  • 自动通过回复

注册openai

ChatGPT注册可以参考这里

部署

# 获取项目
git clone https://github.com/bujnlc8/gptbing

# 进入项目目录
cd gptbing/wechatbot

# 复制配置文件, 改成实际的值,注意去掉#注释
copy config.json.example config.json

# 启动项目
go run main.go


或者docker部署

bash start.sh 0.0.2   # 代理地址根据实际情况修改,运行之后`docker logs wechatbot`会打印出登录地址

说明

本项目fork至https://github.com/djun/wechatbot,修改使之支持ChatGPTNew Bing,在此致谢!

⚠️ 有一定的几率导致被微信封号,请谨慎使用,由此导致的封号,本人概不负责