🚀 Next Generation AI One-Stop Internationalization Solution. 🚀 下一代 AI 一站式 B/C 端解决方案,支持 OpenAI,Midjourney,Claude,讯飞星火,Stable Diffusion,DALL·E,ChatGLM,通义千问,腾讯混元,360 智脑,百川 AI,火山方舟,新必应,Gemini,Moonshot 等模型,支持对话分享,自定义预设,云端同步,模型市场,支持弹性计费和订阅计划模式,支持图片解析,支持联网搜索,支持模型缓存,丰富美观的后台管理与仪表盘数据统计。
Go to file
2023-09-07 19:11:54 +08:00
.github/workflows add build workflow 2023-08-15 10:02:57 +08:00
api update quota dialog 2023-09-07 19:11:54 +08:00
app update quota dialog 2023-09-07 19:11:54 +08:00
auth update quota dialog 2023-09-07 19:11:54 +08:00
connection update quota dialog 2023-09-07 19:11:54 +08:00
conversation update quota 2023-09-07 10:10:13 +08:00
middleware update quota dialog 2023-09-07 19:11:54 +08:00
screenshot update v2 docs 2023-09-06 14:14:42 +08:00
types update quota 2023-09-07 10:10:13 +08:00
utils update quota 2023-09-07 10:10:13 +08:00
web update code stats feature 2023-08-12 17:13:41 +08:00
.gitignore update anonymous request api 2023-07-21 22:09:52 +08:00
config.example.yaml add image generation feature 2023-08-14 23:13:32 +08:00
go.mod update quota 2023-09-07 10:10:13 +08:00
go.sum update quota 2023-09-07 10:10:13 +08:00
LICENSE Initial commit 2023-07-18 02:09:58 +08:00
main.go update quota dialog 2023-09-07 19:11:54 +08:00
README.md update v2 docs 2023-09-06 14:14:42 +08:00

chatnio

Chat Nio

👋 轻量级 ChatGPT 聊天平台

👋 Lightweight ChatGPT Chat Platform

📝 功能 | Features

  1. ChatGPT 联网功能
    • ChatGPT online searching service
  2. 多账户均衡负载
    • Multi-account load balancing
  3. 🎉 HTTP2 Stream 实时响应功能
    • 🎉 HTTP2 Stream real-time response function
  4. 🚀 节流和鉴权体系
    • 🚀 Throttling and authentication system
  5. 🌈 丰富的聊天功能
    • 🌈 Rich chat features
  6. 🎨 多端适配
    • 🎨 Multi-device adaptation
  7. 📦 缓存系统
    • 📦 Cache system
  8. 🎈 对话记忆功能
    • 🎈 Conversation memorization
  9. 🎁 图片生成功能
    • 🎁 Image generation

📚 预览 | Screenshots

landspace feature

📦 部署 | Deploy

git clone https://github.com/zmh-program/chatnio.git
cd chatnio

go build -o chatnio
cd app
npm install
npm run build

🔨 配置 | Config

debug: true
server:
  port: 8094

redis:
  host: localhost
  port: 6379

openai:
  anonymous: sk-xxxxxx|sk-xxxxxx|sk-xxxxxx
  anonymous_endpoint: https://api.openai.com/v1
  user: sk-xxxxxx|sk-xxxxxx|sk-xxxxxx
  user_endpoint: https://api.openai.com/v1
  image: sk-xxxxxx|sk-xxxxxx|sk-xxxxxx
  image_endpoint: https://api.openai.com/v1

mysql:
  host: localhost
  port: 3306
  user: root
  password: ...

  db: chatnio

secret: ...
auth:
  access: ...
  salt: ...

📄 开源协议 | License

Apache License 2.0