/chatgpt-mirror

A mirror of ChatGPT based on the gpt-3.5-turbo model.

Primary LanguageHTML

ChatGPT Mirror

Based on model gpt-3.5-turbo. Demo: https://fastgpt.app

Installation

Tested on Node.js 18.x.

$ pnpm install

Running the app

Create a .env file in the root directory and add your OpenAI API key:

OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# optional, support http or socks proxy
HTTP_PROXY=http://proxy-server:port
# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Visit http://localhost:3000

Credits

Thanks: transitive-bullshit/chatgpt-api

License

MIT licensed.