|
1 year ago | |
---|---|---|
.github | 1 year ago | |
.husky | 1 year ago | |
app | 1 year ago | |
docs | 1 year ago | |
public | 1 year ago | |
scripts | 1 year ago | |
.eslintignore | 1 year ago | |
.eslintrc.json | 1 year ago | |
.gitignore | 1 year ago | |
.gitpod.yml | 2 years ago | |
.lintstagedrc.json | 1 year ago | |
.prettierrc.js | 1 year ago | |
CODE_OF_CONDUCT.md | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 2 years ago | |
README.md | 1 year ago | |
README_CN.md | 1 year ago | |
middleware.ts | 1 year ago | |
next.config.js | 1 year ago | |
package.json | 1 year ago | |
tsconfig.json | 1 year ago | |
yarn.lock | 1 year ago |
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&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)

CODE
is your page password;We are sorry that there is currently no English version of the FAQ. English users can use translation tools to access the document. We look forward to receiving your PR for an English version of the documentation.
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 updated, and after forking the project, the upstream code will be automatically synchronized every day without additional operations.
If you want to update instantly, you can check out the Github documentation to learn how to synchronize a forked project with upstream code.
You can star or watch this project or follow author to get release notifictions in time.
This project provides limited access control. Please add an environment variable named CODE
on the vercel environment variables page. The value should be passwords 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.
OPENAI_API_KEY
(required)Your openai api key.
CODE
(optional)Access passsword, separated by comma.
BASE_URL
(optional)Default:
api.openai.com
Override openai api request base url.
PROTOCOL
(optional)Default:
https
Values:
http
|https
Override openai api request protocol.
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>
# 1. install nodejs and yarn first
# 2. config local env vars in `.env.local`
# 3. run
yarn install
yarn dev
Docker (Recommended)
docker pull yidadaa/chatgpt-next-web
docker run -d -p 3000:3000 -e OPENAI_API_KEY="" -e CODE="" yidadaa/chatgpt-next-web
bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/scripts/setup.sh)
@mushan0x0 @ClarenceDan @zhangjia @hoochanlon