本项目基于使用accesstoken的方式实现了网页版 ChatGPT 的前端,是用ChatGPT-Next-Web项目进行修改而得,默认Main分支对接gpt3.5的模型,gpt4分支对接gpt4模型。另外本项目需要的后端服务是pandoranext项目。项目是站在ChatGPT-Next-Web和pandoranext项目的作者肩膀上,感谢他们!
本项目基于使用Access Token的方式实现了网页版 ChatGPT的前端,不需要openai的api额度,是用 ChatGPT-Next-Web项目进行修改而得,默认Main分支对接gpt3.5的模型,gpt4分支对接gpt4模型。另外本项目需要的后端服务是 pandoranext项目, 项目是站在ChatGPT-Next-Web和pandoranext项目的作者肩膀上,感谢他们!
确保有chatgpt官方账号
确保安装了docker,启动了docker
先获取License Id, 在这里拿License Id
把项目的pandoranext-deploy.zip放在服务器上,然后解压,cd pandoranext-deploy
在./data/config.json中把license_id的值设置为获取的License Id ,其他字段的值不要改动!!
在./data/tokens.json中把token的值修改为获取到的access_token ,其他字段的值不要改动!!
确保安装了docker,启动了docker
docker network create my-net
docker pull pengzhile/pandora-next
(这里容器的名字一定要是PandoraNext,不要改) docker run -d --restart always --name PandoraNext --net=my-net -v ./data:/data -v ./sessions:/root/.cache/PandoraNext pengzhile/pandora-next
如果是windows系统上用dockers,那要把./data 和 ./sessions 改成绝对路径
docker pull xueandyue/next-web-pandora:latest
CODE是设置的访问密码,如果CODE=""则表示不设置密码,如果CODE="123456",则设置密码为123456
docker run --network my-net -e username="你的gpt账号" -e password="你的gpt账号密码" -e CODE="123456" -p 3000:3000 -d xueandyue/next-web-pandora:latest
等待5分钟左右,在浏览器访问http://服务器域名(ip):3000/
大约要每隔10天重启3000端口的容器即可
反对 996,从我开始。 Anti 996 License