- ✨ 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
- 🎁 图片生成功能
- 🎁 Image generation
- 🔔 PWA 应用
- 🔔 PWA application
- ⚡ Token 计费系统
- ⚡ Token billing system
- 📚 逆向工程模型支持
- 📚 Reverse engineering model support
- 🌏 国际化支持
- 🌏 Internationalization support
- 🇨🇳 简体中文
- 🇺🇸 English
- 🇷🇺 Русский
- 🌏 Internationalization support
- 🍎 主题切换
- 🍎 Theme switching
- 🥪 Key 中转服务
- 🥪 Key relay service
- 🔨 多模型支持
- 🔨 Multi-model support
-
ChatGPT
- GPT-3.5-Turbo (0613, 0301)
- GPT-3.5-Turbo-16k (0613, 0301)
- GPT-3.5-Reverse (text-davincci-002-render-sha, text-davincci-002-render-paid)
- GPT-4 (0314, 0613)
- GPT-4-32k (0314, 0613)
- GPT-4-Reverse (gpt-4)
- DALL-E
-
Claude
- Slack-Claude (unstable)
- Claude-2
- Claude-2-100k
-
SparkDesk 讯飞星火
- v1.5
- v2.0
-
Google PaLM2
- Chat
- Text
- Fine-tune
- Embedding
-
New Bing (unstable)
- Creative
- Balanced
- Precise
-
More models are under development...
![card](https://i.chatnio.net/?message=hi)
![card](https://i.chatnio.net/?message=itab起始页介绍&theme=dark)
message
: 内容theme
: 主题dark
: 暗色light
: 亮色 (默认)
web
是否开启联网版功能 (默认开启)
git clone https://github.com/zmh-program/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
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
gpt4: sk-xxxxxx|sk-xxxxxx|sk-xxxxxx
gpt4_endpoint: https://api.openai.com/v1
reverse: gpt-4 # cf reverse
pro: ey...|ey...|ey...
pro_endpoint: .../imitate/v1
mysql:
host: localhost
port: 3306
user: root
password: ...
db: chatnio
secret: ...
auth:
access: ...
salt: ...
sign: ...
- 前端: React + Radix UI + Tailwind CSS + Redux
- 后端: Golang + Gin + Redis + MySQL + Tiktoken (OpenAI)
- 应用技术: PWA + HTTP2 + WebSocket + Stream Buffer
感谢这些开源项目提供的思路:
- ChatGPT 逆向工程: go-chatgpt-api
- New Bing 逆向工程: EdgeGPT
- @ProgramZmh (全栈开发)
- @Sh1n3zz (全栈开发)
- @一個小果冻 (美工、UI 设计)
Apache License 2.0