You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-12Lines changed: 7 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
English | [简体中文](./README.zh-CN.md)
4
4
5
+
ChatGPT Minimal implements core ChatGPT features with a minimal codebase. Built with Next.js. Clean code, easy to extend.
6
+
5
7
## Demo
6
8
7
9
Try the [ChatGPT Minimal Demo Site](https://chatgpt-minimal.vercel.app).
@@ -13,28 +15,26 @@ Try the [ChatGPT Minimal Demo Site](https://chatgpt-minimal.vercel.app).
13
15
14
16
## Features
15
17
16
-
ChatGPT Minimal is a clean, minimal codebase that implements core ChatGPT features with Next.js. Supports OpenAI, Azure OpenAI, and any OpenAI-compatible provider (DeepSeek, Ollama, etc.).
17
-
18
18
**What this project includes:**
19
19
20
20
-**Real-time streaming chat** with Server-Sent Events
21
21
-**Text + image chat** (image upload and paste)
22
22
-**Web search integration** (with source citations when supported by provider/model)
23
23
-**Markdown rendering** with syntax highlighting
24
-
-**OpenAI, Azure OpenAI, and OpenAI-compatible providers**
24
+
-**Supports OpenAI, Azure OpenAI, and OpenAI-compatible providers**
25
25
-**Light/Dark mode toggle**
26
26
27
-
Looking for a full-featured ChatGPT clone? [ChatGPT Lite](https://github.com/blrchen/chatgpt-lite)extends this project with:
27
+
Looking for a more complete version? [ChatGPT Lite](https://github.com/blrchen/chatgpt-lite)builds on this project's codebase and adds:
28
28
29
29
- Persona system with custom system prompts
30
30
- Multi-conversation management
31
31
- File attachments (PDF, XLSX/CSV, text files)
32
32
- Voice input
33
-
- 40+ built-in themes
33
+
- 40+ UI themes
34
34
35
35
## Deployment
36
36
37
-
Refer to [Environment Variables](#environment-variables) before deployment.
37
+
For required environment variables, see [Environment Variables](#environment-variables).
| OPENAI_API_KEY | Yes | API key from [OpenAI Platform](https://platform.openai.com/account/api-keys). | - |
83
-
| OPENAI_API_BASE_URL | No | Base URL for OpenAI-compatible endpoints. If it does not end with `/v1`, the app will append it. |`https://api.openai.com/v1`|
83
+
| OPENAI_API_BASE_URL | No | Base URL for OpenAI-compatible endpoints. If it does not end with `/v1`, the app will append it. |`https://api.openai.com`|
84
84
| OPENAI_MODEL | No | Model name for OpenAI mode. |`gpt-4o-mini`|
85
85
86
86
### Azure OpenAI
@@ -91,11 +91,6 @@ docker run -d -p 3000:3000 \
91
91
| AZURE_OPENAI_API_KEY | Yes | Azure OpenAI API key. |
92
92
| AZURE_OPENAI_DEPLOYMENT | Yes | Azure OpenAI deployment name (not the model name). |
93
93
94
-
### Provider Selection Notes
95
-
96
-
- If Azure and OpenAI variables are both configured, **Azure is used first**.
97
-
- Web search requires model/provider tool support. When unavailable, the app automatically falls back to regular chat.
0 commit comments