MyGit
🚩收到GitHub仓库的更新通知

yuezk/chatgpt-mirror

Fork: 328 Star: 1225 (更新于 2024-04-10 20:16:48)

license: 暂无

Language: JavaScript .

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

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

:warning: This repository is archived. Please use ChatbotUI instead.

ChatGPT Mirror

Based on model gpt-3.5-turbo.

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

Running the app with Docker

Build the image

$ docker build -t chatgpt-mirror .

Run the container

$ docker run -d -p 3000:3000 --env-file .env chatgpt-mirror

Run with the config file

$ docker run -d -p 3000:3000 --env-file .env -v $(pwd)/config/app.config.json:/app/config/app.config.json chatgpt-mirror

Configuration

You can configure the app by copying the config/example.json to config/app.config.json and editing its values. Note: comments are not allowed in JSON files.

Error messages

Error messages for the OpenAI API can be customized by editing the config/app.config.json file. See the examples in the config/example.json file.

Credits

Thanks: transitive-bullshit/chatgpt-api

License

MIT licensed.

最近版本更新:(数据更新于 2024-04-08 03:42:48)

主题(topics):

chatgpt, chatgpt-api, openai, openai-api

yuezk/chatgpt-mirror同语言 JavaScript最近更新仓库

2024-04-20 00:55:34 jgraph/drawio

2024-04-20 00:41:28 songquanpeng/one-api

2024-04-19 19:54:21 mythsman/hexo-douban

2024-04-18 23:14:56 langflow-ai/langflow

2024-04-18 14:22:37 sidorares/node-mysql2

2024-04-17 16:43:37 gethomepage/homepage