Sign inSign up

techxiaofei/bot-on-anything

By techxiaofei

•Updated over 3 years ago

接入chatgpt到各种平台(公众号,telegram等)

Image
1

3.0K

techxiaofei/bot-on-anything repository overview

视频教程:TODO

文字教程:https://www.techxiaofei.com/post/chatgpt/wechat_mp/⁠

Github: https://github.com/techxiaofei/bot-on-anything⁠

⁠云服务器

点此链接注册购买有优惠: http://bit.ly/3GlfucW⁠ 付款时输入 RAKBL9 有9折优惠

⁠获取API Keys

API Key获取地址:https://platform.openai.com/⁠

Access Token获取地址:https://chat.openai.com/api/auth/session⁠

⁠部署教程
# 更新包管理器
sudo apt-get update

# 安装docker
apt install docker.io -y

# 下载docker镜像
docker pull techxiaofei/bot-on-anything:latest

# 给镜像打标签
docker tag techxiaofei/bot-on-anything bot-on-anything

# 下载配置文件(公众号版)
wget -O config.json https://raw.githubusercontent.com/techxiaofei/resource/main/config/chatgpt/official/config.json

# 后台运行
docker run --name bot-on-anything -d -p 0.0.0.0:80:80 -v "$(pwd)/config.json:/app/config.json" bot-on-anything python app.py

# 查看log
docker logs -f bot-on-anything

Tag summary

Content type

Image

Digest

sha256:a629121f5…

Size

36.6 MB

Last updated

over 3 years ago

docker pull techxiaofei/bot-on-anything