okisdev/ChatChat
Fork: 205 Star: 1125 (更新于 2024-04-08 05:32:55)
license: AGPL-3.0
Language: TypeScript .
Chat Chat, unlock your next level AI conversation experience. Deploy your own AI Interface, all AI in one place.
最后发布版本: 0.0.68 ( 2024-03-15 12:40:04)
Chat Chat
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.
Important Notes
- 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.
Preview
Interface
Functions
Features
- 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
Roadmap
Please refer to https://github.com/users/okisdev/projects/7
Usage
Prerequisites
- Any API key from OpenAI, Microsoft Azure, Claude, Cohere, Hugging Face
Environment variables
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 |
Deployment
Please modify the environment variables before deployment, more details can be found in the documentation.
Local Deployment
git clone https://github.com/okisdev/ChatChat.git
cd ChatChat
cp .env.example .env
pnpm i
pnpm dev
Vercel
Zeabur
Visit Zeabur to deploy
Railway
Docker
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
LICENSE
Support me
Technology Stack
nextjs / tailwindcss / shadcn UI
最近版本更新:(数据更新于 2024-04-08 06:56:02)
2024-03-15 12:40:04 0.0.68
2024-03-15 09:48:02 0.0.67
2024-03-15 09:46:44 0.0.66
2024-03-06 15:33:20 0.0.65
2024-02-16 21:24:57 0.0.64
2024-01-29 21:33:20 0.0.63
2023-12-26 23:28:03 0.0.62
2023-12-13 00:01:36 0.0.61
2023-12-12 23:44:59 0.0.60
2023-11-28 19:11:08 0.0.59
主题(topics):
ai, api, azure, chat, claude, gpt, gpt-3, gpt-4, okisdev, openai
okisdev/ChatChat同语言 TypeScript最近更新仓库
2024-04-23 22:53:34 Chainlit/chainlit
2024-04-23 14:48:55 clash-verge-rev/clash-verge-rev
2024-04-23 13:15:10 x-extends/vxe-table
2024-04-23 11:06:56 pure-admin/pure-admin-thin
2024-04-23 09:11:39 vbenjs/vue-vben-admin
2024-04-22 23:31:03 vuejs/core