|
1 năm trước cách đây | |
---|---|---|
.github | 1 năm trước cách đây | |
.vscode | 2 năm trước cách đây | |
app | 1 năm trước cách đây | |
public | 1 năm trước cách đây | |
scripts | 1 năm trước cách đây | |
static | 2 năm trước cách đây | |
.eslintignore | 1 năm trước cách đây | |
.eslintrc.json | 2 năm trước cách đây | |
.gitignore | 1 năm trước cách đây | |
.gitpod.yml | 2 năm trước cách đây | |
Dockerfile | 1 năm trước cách đây | |
LICENSE | 2 năm trước cách đây | |
README.md | 1 năm trước cách đây | |
middleware.ts | 1 năm trước cách đây | |
next.config.js | 1 năm trước cách đây | |
package.json | 1 năm trước cách đây | |
tsconfig.json | 1 năm trước cách đây | |
yarn.lock | 1 năm trước cách đây |
7dd00845
-e9b9-4363-97e5-44c507ac76
.jpeg) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8
-61b7-488c-a203-0330d8006e
.jpg)
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)

如果你按照上述步骤一键部署了自己的项目,可能会发现总是提示“存在更新”的问题,这是由于 Vercel 会默认为你创建一个新项目而不是 fork 本项目,这会导致无法正确地检测更新。 推荐你按照下列步骤重新部署:
OPENAI_API_KEY
的环境变量,并填入你的 api key 作为值。本项目会持续更新,如果你想让代码库总是保持更新,可以查看 Github 的文档 了解如何让 fork 的项目与上游代码同步,建议定期进行同步操作以获得新功能。
你可以 star/watch 本项目或者 follow 作者来及时获得新功能更新通知。
If you have deployed your own project with just one click following the steps above, you may encounter the issue of "Updates Available" constantly showing up. This is because Vercel will create a new project for you by default instead of forking this project, resulting in the inability to detect updates correctly.
We recommend that you follow the steps below to re-deploy:
OPENAI_API_KEY
and enter your API key as the value during the redeploy process.This project will be continuously maintained. If you want to keep the code repository up to date, you can check out the Github documentation to learn how to synchronize a forked project with upstream code. It is recommended to perform synchronization operations regularly.
You can star or watch this project or follow author to get release notifictions in time.
本项目提供有限的权限控制功能,请在环境变量页增加名为 CODE
的环境变量,值为用英文逗号分隔的自定义控制码:
code1,code2,code3
增加或修改该环境变量后,请重新部署项目使改动生效。
This project provides limited access control. Please add an environment variable named CODE
on the environment variables page. The value should be a custom control code separated by comma like this:
code1,code2,code3
After adding or modifying this environment variable, please redeploy the project for the changes to take effect.
点击下方按钮,开始二次开发:
在开始写代码之前,需要在项目根目录新建一个 .env.local
文件,里面填入环境变量:
Before starting development, you must create a new .env.local
file at project root, and place your api key into it:
OPENAI_API_KEY=<your api key here>
如果你是中国大陆用户,不建议在本地进行开发,除非你能够独立解决 OpenAI API 本地代理问题。
yarn install && yarn dev
即可。bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/scripts/setup.sh)
docker pull yidadaa/chatgpt-next-web
docker run -d -p 3000:3000 -e OPENAI_API_KEY="" -e CODE="" yidadaa/chatgpt-next-web
本项目的演示地址所用的 OpenAI 账户的免费额度将于 2023-04-01 过期,届时将无法通过演示地址在线体验。
如果你想贡献出自己的 API Key,可以通过作者主页的邮箱发送给作者,并标注过期时间。
The free trial of the OpenAI account used by the demo will expire on April 1, 2023, and the demo will not be available at that time.
If you would like to contribute your API key, you can email it to the author and indicate the expiration date of the API key.
@mushan0x0 @ClarenceDan @zhangjia @hoochanlon
@AprilNEA @iSource @iFwu @xiaotianxt