Coder Social home page Coder Social logo

mxrk314 / chatgpt-3.5-accesstoken-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xueandyue/chatgpt-accesstoken-web

0.0 0.0 0.0 883 KB

本项目基于使用accesstoken的方式实现了网页版 ChatGPT 3.5的前端,是用ChatGPT-Next-Web项目进行修改而得,另外本项目需要的后端服务,需要部署pandora项目。项目是站在ChatGPT-Next-Web和pandora项目的作者肩膀上,感谢他们!

Home Page: http://43.136.103.186:3000/

License: Other

Shell 0.80% JavaScript 1.07% TypeScript 77.19% Dockerfile 0.43% SCSS 19.47% Python 1.03%

chatgpt-3.5-accesstoken-web's Introduction

ChatGPT-3.5-AccessToken-Web

本项目基于使用Access Token的方式实现了网页版 ChatGPT 3.5的前端,不需要openai的api额度,是用 ChatGPT-Next-Web项目进行修改而得,另外本项目需要的后端服务,集成了pandora项目

示例网站

点击这里查看示例网站

主要功能

Image text

  • 不需要openai的api额度,解决了api体验额度(1分钟只能调用3次api)用完后,频繁买号更改apikey,重启服务的痛点,成本更低
  • 自动更新Access Token,解决了pandora需要14天重新获取Access Token、重启服务的痛点
  • 完整的 Markdown 支持:LaTex 公式、Mermaid 流程图、代码高亮等等
  • 精心设计的 UI,响应式设计,支持深色模式,支持 PWA
  • 极快的首屏加载速度(~100kb),支持流式响应
  • 隐私安全,所有数据保存在用户浏览器本地
  • 预制角色功能(面具),方便地创建、分享和调试你的个性化对话
  • 海量的内置 prompt 列表
  • 多国语言支持

账号,密码

  • 只支持chatgpt官方账号,不支持Google,Microsoft,apple第三方登录
  • 也可以访问 这里验证账号密码。期间访问不需要梯子。这意味着你在手机上也可随意使用。

部署机器说明

  • 在本地或者国内服务器都可以部署,不需要海外服务器

部署

  • 确保有chatgpt官方账号
  • 确保安装了docker,启动了docker
  • ${CODE}是设置的访问密码,如果CODE=""则表示不设置密码
  • docker pull xueandyue/next-web-pandora:latest
  • docker run -e username="你的gpt账号" -e password="你的gpt账号密码" -e CODE="${CODE}" -p 3000:3000 -d xueandyue/next-web-pandora:latest
  • 等待5分钟左右,在浏览器访问http://服务器域名(ip):3000/

不支持的部署方式

  • 不支持k8s部署和Vercel部署

本地如何二次开发调试

  • 本地安装python3,推荐python3.9 ,至少要python3.7以上版本
  • 获取 Access Token

部署pandora项目

  • 下载pandora项目:git clone https://github.com/pengzhile/pandora.git
  • cd pandora
  • 新建token.txt文件,把获取到的 Access Token放进去,保存文件
  • pip install .
  • pandora -s -t token.txt

部署本项目

PS:如果不是同一机器上部署pandora项目和本项目,又或者部署pandora项目使用非8008端口,那需要修改本项目用到8008端口的url

开源协议

反对 996,从我开始。 Anti 996 License

其他说明

  • 项目是站在其他巨人的肩膀上,感谢!
  • 喜欢的请给颗星,感谢!
  • 不影响PHP是世界上最好的编程语言!

chatgpt-3.5-accesstoken-web's People

Contributors

xueandyue avatar mxrk314 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.