1 Star 0 Fork 239

杰克366 / wechatbot

forked from malaohu / wechatbot 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

wechatbot

最近chatGPT异常火爆,本项目可以将个人微信化身GPT机器人, 项目基于openwechat 开发。

Release Github stars Forks

目前实现了以下功能

  • 提问增加上下文,更接近官网效果
  • 机器人群聊@回复
  • 机器人私聊回复
  • 好友添加自动通过

使用前提

  • 目前只支持在windows上运行因为需要弹窗扫码登录微信,后续会支持linux 已支持
  • 有openai账号,并且创建好api_key,注册事项可以参考此文章
  • 微信必须实名认证。

注意事项

  • 项目仅供娱乐,滥用可能有微信封禁的风险,请勿用于商业用途。
  • 请注意收发敏感信息,本项目不做信息过滤。

快速开始

非技术人员请直接下载release中的压缩包 ,解压运行。

# 获取项目
git clone https://github.com/869413421/wechatbot.git

# 进入项目目录
cd wechatbot

# 复制配置文件
copy config.dev.json config.json

# 启动项目
go run main.go

配置文件说明

{
"api_key": "your api key",
"auto_pass": true,
"session_timeout": 60
}

api_key:openai api_key
auto_pass:是否自动通过好友添加
session_timeout:会话超时时间,默认60秒,单位秒,在会话时间内所有发送给机器人的信息会作为上下文。

使用示例

向机器人发送我要问下一个问题,清空会话信息。

私聊

群聊@回复

添加微信(备注: wechabot)进群交流

如果二维码图片没显示出来,请添加微信号 huangyanming681925

Empty file

About

将个人微信化身GPT机器人, 项目基于openwechat 开发 expand collapse
Go
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Go
1
https://gitee.com/936544135/wechatbot.git
git@gitee.com:936544135/wechatbot.git
936544135
wechatbot
wechatbot
main

Search