- Notifications
You must be signed in to change notification settings - Fork38
A fullstack chat webapp based on ChatGPT/BingAI/AndMore...
License
NotificationsYou must be signed in to change notification settings
frontend-engineering/chatgpt-webapp-fullstack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
这是一个 ChatGPT 聊天应用,包含网页端App和一个Node服务,可快速部署一套自用的完整智能聊天服务(点击体验)
- 全栈应用:包括网页端App 和服务端Node服务,适合全链路功能的二次开发
- 快速部署:项目迁移到了Nextjs架构,前后端一键部署,无须一行代码,小白也可以发布自己的ChatGPT服务了
- 无须运维:利用vercel的免费额度,摆脱繁琐的运维工作
- 无须翻墙:针对国内无法直接访问OpenAI的限制,本服务部署完成后,可直接访问,无须科学上网
- 多端适配:适配手机端和PC端,更多客户端功能迭代中
- 上下文记忆:问了保障问答质量,缓存了提问记录
- stream响应:支持stream的响应方式,更好的问答体验
- 流量控制:支持单用户的调用流量限制,防止恶意盗刷Token
- 用户充值:支持开启用户收费功能,用户可充值购买调用额度
功能开发快速迭代中,使用或部署时如果遇到任何问题,请加页面最下方微信交流群反馈
preview.mov
自动部署服务到Vercel
需要额外配置vercel Edge Config 和 Vercel KV 两个store
- Edge Config 用来管理项目配置
- KV 用于存储用户聊天上下文的数据缓存
其中,Edge Config的初始配置可以参考
{ "chatGptClient": { "openaiApiKey": "sk-你的openai api key", "reverseProxyUrl": "", "modelOptions": { "model": "gpt-3.5-turbo", "max_tokens": 1000 }, "proxy": "", "debug": false }, "apiOptions": { "port": 3000, "host": "0.0.0.0", "debug": false, "clientToUse": "chatgpt", "perMessageClientOptionsWhitelist": { "validClientsToUse": ["bing", "chatgpt", "chatgpt-browser"], "chatgpt": [ "promptPrefix", "userLabel", "chatGptLabel", "modelOptions.temperature" ] } }, "cacheOptions": {}}
项目迁移到了NextJS,开发参考Next.js文档
打开DEMO或扫码
更多功能正在开发中,如有需要可以私聊,或者贡献PR
- 前端WebApp功能补全
- BingAI等多模型支持
- 其他
或加交流群
About
A fullstack chat webapp based on ChatGPT/BingAI/AndMore...
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.