🚀 强大精美的 AI聚合 聊天平台
🚀 Powerful and beautiful AI Aggregation chat platform
- ✨ AI 联网功能
- ✨ AI online searching service
- ⚡ 多账户均衡负载
- ⚡ Multi-account load balancing
- 🎉 HTTP2 Stream 实时响应功能
- 🎉 HTTP2 Stream real-time response function
- 🚀 节流和鉴权体系
- 🚀 Throttling and authentication system
- 🌈 丰富的聊天功能 (代码高亮,latex支持,卡片生成,右键菜单)
- 🌈 Rich chat features (code highlight, latex support, card generation, right-click menu)
- 🎨 多端适配
- 🎨 Multi-device adaptation
- 📦 缓存系统
- 📦 Cache system
- 🎈 对话记忆功能
- 🎈 Conversation memorization
- 👋 对话分享
- 👋 Conversation sharing
- 🎁 图片生成功能
- 🎁 Image generation
- 🔔 PWA 应用
- 🔔 PWA application
- 📚 逆向工程模型支持
- 📚 Reverse engineering model support
- 🌏 国际化支持
- 🌏 Internationalization support
- 🇨🇳 简体中文
- 🇺🇸 English
- 🇷🇺 Русский
- 🌏 Internationalization support
- 🍎 主题切换
- 🍎 Theme switching
- 🥪 Key 中转服务
- 🥪 Key relay service
- 🔨 多模型支持
- 🔨 Multi-model support
- ⚙ 后台管理系统 (仪表盘,用户管理,公告管理等)
- ⚙ Admin system (dashboard, user management, announcement management, etc.)
- ⚒ 渠道管理 (多账号均衡负载,优先级调配,权重负载,模型映射,渠道状态管理)
- ⚒ Channel management (multi-account load balancing, priority allocation, weight load, model mapping, channel status management)
- ⚡ 计费系统 (支持匿名计费,按次数计费,Token 弹性计费等方式)
- ⚡ Billing system (support anonymous billing, billing by number of times, Token billing, etc.)
- 📂 文件上传功能 (支持 pdf, docx, pptx, xlsx, 音频, 图片等)
- 📂 File upload function (support pdf, docx, pptx, xlsx, audio, images, etc.)
- OpenAI ChatGPT (GPT-3.5, GPT-4, Instruct, DALL-E 2, DALL-E 3, Text-Davincci, ...)
- Azure OpenAI
- Anthropic Claude (claude-2, claude-instant)
- Slack Claude (deprecated)
- Sparkdesk (v1.5, v2, v3)
- Google PaLM2
- New Bing (creative, balanced, precise)
- ChatGLM (turbo, pro, std, lite)
- DashScope Tongyi (plus, turbo)
- Midjourney (relax, fast, turbo)
- Stable Diffusion XL
- Tencent Hunyuan
- Baichuan AI
- Douyin Skylark (lite, plus, pro, chat)
- 360 GPT
- LLaMa 2 (70b, 13b, 7b)
- Code LLaMa (34b, 13b, 7b)
- RWKV
当前安装需要额外安装 Deeptrain 统一账户管理,all in one功能正在开发中
git clone https://github.com/Deeptrain-Community/chatnio.git
cd chatnio
go build -o chatnio
cd app
npm install
npm run build
debug: true
server:
port: 8094
redis:
host: localhost
port: 6379
mysql:
host: "localhost"
port: 3306
user: root
password: ...
db: "chatnio"
secret: ... # jwt secret
auth:
access: ...
salt: ...
sign: ...
openai:
gpt3:
endpoint: https://api.openai.com
apikey: sk-...|sk-...
gpt4:
endpoint: https://api.openai.com
apikey: sk-...|sk-...
slack:
bot_id: ...
token: ...
channel: ...
claude:
apikey: ...
endpoint: ...
sparkdesk:
app_id: ...
api_secret: ...
api_key: ...
model: generalv2
endpoint: wss://spark-api.xf-yun.com/v2.1/chat
palm2:
endpoint: ...
apikey: ...
bing:
# learn more at https://github.com/Deeptrain-Community/chatnio-bing-service
endpoint: ...
secret: ...
zhipuai:
endpoint: https://open.bigmodel.cn
apikey: ...
- 支持多模型兼容层,这意味着你可以使用一次代码,同时兼容多家 AI 模型
- Support multi-model compatible layer, which means you can use one code to be compatible with multiple AI models at the same time
- 支持多账户均衡负载,高并发
- Support multi-account load balancing, high concurrency
将 https://api.openai.com
替换为 https://api.chatnio.net
,填入控制台中的 API 设置
中的 API Key 即可使用
Replace https://api.openai.com
with https://api.chatnio.net
and fill in the API Key in the API Settings
in the console to use
- 前端: React + Radix UI + Tailwind CSS + Redux
- 后端: Golang + Gin + Redis + MySQL + Tiktoken (OpenAI)
- 应用技术: PWA + HTTP2 + WebSocket + Stream Buffer
- @ProgramZmh (全栈开发)
- @Sh1n3zz (全栈开发)
- @一個小果冻 (美工、UI 设计)
Apache License 2.0
@4EvEr ¥1000