No Description https://ai.davidawindham.com
windhamdavid a1fe998104 init | 1 year ago | |
---|---|---|
app | 1 year ago | |
public | 1 year ago | |
scripts | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
next.config.mjs | 1 year ago | |
package.json | 1 year ago | |
tsconfig.json | 1 year ago | |
vercel.json | 1 year ago | |
yarn.lock | 1 year ago |
👉🏼 Fork of https://github.com/Yidadaa/ChatGPT-Next-Web
Using this fork to help keep my information local while allowing me to store custom prompts.
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:
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 value to 1.
DISABLE_GPT4
(optional)Default: Empty
If you do not want users to use GPT-4, set this value 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