|
há 1 ano atrás | |
---|---|---|
.github | há 1 ano atrás | |
.husky | há 1 ano atrás | |
app | há 1 ano atrás | |
docs | há 1 ano atrás | |
public | há 1 ano atrás | |
scripts | há 1 ano atrás | |
.eslintignore | há 1 ano atrás | |
.eslintrc.json | há 1 ano atrás | |
.gitignore | há 1 ano atrás | |
.gitpod.yml | há 2 anos atrás | |
.lintstagedrc.json | há 1 ano atrás | |
.prettierrc.js | há 1 ano atrás | |
CODE_OF_CONDUCT.md | há 1 ano atrás | |
Dockerfile | há 1 ano atrás | |
LICENSE | há 2 anos atrás | |
README.md | há 1 ano atrás | |
README_CN.md | há 1 ano atrás | |
next.config.mjs | há 1 ano atrás | |
package.json | há 1 ano atrás | |
tsconfig.json | há 1 ano atrás | |
vercel.json | há 1 ano atrás | |
yarn.lock | há 1 ano atrás |
e8eff256
-f5ca-46ef-8f5f-d7db6d2873
.jpg) / [打赏开发者](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;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:
If you encounter a failure of Upstream Sync execution, please manually sync fork once.
After forking the project, due to the limitations imposed by GitHub, you need to manually enable Workflows and Upstream Sync Action on the Actions page of the forked project. Once enabled, automatic updates will be scheduled every hour:
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:
https://api.openai.com
Examples:
http://your-openai-proxy.com
Override openai api request base url.
OPENAI_ORG_ID
(optional)Specify OpenAI organization ID.
HIDE_USER_API_KEY
(optional)Default: Empty
If you do not want users to input their own API key, set this environment variable to 1.
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 pull yidadaa/chatgpt-next-web
docker run -d -p 3000:3000 \
-e OPENAI_API_KEY="sk-xxxx" \
-e CODE="your-password" \
yidadaa/chatgpt-next-web
You can start service behind a proxy:
docker run -d -p 3000:3000 \
-e OPENAI_API_KEY="sk-xxxx" \
-e CODE="your-password" \
-e PROXY_URL="http://localhost:7890" \
yidadaa/chatgpt-next-web
bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/scripts/setup.sh)
仅列出捐赠金额 >= 100RMB 的用户。
@mushan0x0 @ClarenceDan @zhangjia @hoochanlon @relativequantum @desenmeng @webees @chazzhou @hauy @Corwin006 @yankunsong @ypwhs @fxxxchao @hotic @WingCH @jtung4