Chat Chat to unlock your next level AI conversational experience. You can use multiple APIs from OpenAI, Microsoft Azure, Claude, Cohere, Hugging Face, and more to make your AI conversation experience even richer.
- Some APIs are paid APIs, please make sure you have read and agreed to the relevant terms of service before use.
- Some features are still under development, please submit PR or Issue.
- The demo is for demonstration purposes only, it may retain some user data.
- AI may generate offensive content, please use it with caution.
fetch.mp4
search.mp4
- TTS
- Dark Mode
- Chat with files
- Markdown formatting
- Multi-language support
- Support for System Prompt
- Shortcut menu (command + k)
- Wrapped API (no more proxies)
- Support for sharing conversations
- Chat history (local and cloud sync)
- Support for streaming messages (SSE)
- Plugin support (
/search
,/fetch
) - Support for message code syntax highlighting
- Support for OpenAI, Microsoft Azure, Claude, Cohere, Hugging Face
Please refer to https://github.com/users/okisdev/projects/7
- Any API key from OpenAI, Microsoft Azure, Claude, Cohere, Hugging Face
variable name | description | default | mandatory | tips |
---|---|---|---|---|
DATABASE_URL |
Postgresql database address | Yes | Start with postgresql:// (if not required, please fill in postgresql://user:password@example.com:port/dbname ) |
|
NEXTAUTH_URL |
Your website URL | Yes | (with prefix) | |
NEXTAUTH_SECRET |
NextAuth Secret | Yes | Random hash (16 bits is best) | |
EMAIL_HOST |
SMTP Host | No | ||
EMAIL_PORT |
SMTP Port | 587 | No | |
EMAIL_USERNAME |
SMTP username | No | ||
EMAIL_PASSWORD |
SMTP password | No | ||
EMAIL_FROM |
SMTP sending address | No |
Please modify the environment variables before deployment, more details can be found in the documentation.
git clone https://github.com/okisdev/ChatChat.git
cd ChatChat
cp .env.example .env
pnpm i
pnpm dev
Visit Zeabur to deploy
docker build -t chatchat .
docker run -p 3000:3000 chatchat -e DATABASE_URL="" -e NEXTAUTH_URL="" -e NEXTAUTH_SECRET="" -e EMAIL_HOST="" -e EMAIL_PORT="" -e EMAIL_USERNAME="" -e EMAIL_PASSWORD="" -e EMAIL_FROM=""
OR
docker run -p 3000:3000 -e DATABASE_URL="" -e NEXTAUTH_URL="" -e NEXTAUTH_SECRET="" -e EMAIL_HOST="" -e EMAIL_PORT="" -e EMAIL_USERNAME="" -e EMAIL_PASSWORD="" -e EMAIL_FROM="" ghcr.io/okisdev/chatchat:latest
nextjs / tailwindcss / shadcn UI