https://github.com/swuecho/chat
chat web app for teams, sass with user management and ratelimit, support chatgpt(openai & azure), claude, gemini and ollama model
https://github.com/swuecho/chat
chatgpt claude-ai ollama sass teams
Last synced: 7 days ago
JSON representation
chat web app for teams, sass with user management and ratelimit, support chatgpt(openai & azure), claude, gemini and ollama model
- Host: GitHub
- URL: https://github.com/swuecho/chat
- Owner: swuecho
- Created: 2023-03-18T11:32:14.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-31T05:28:22.000Z (15 days ago)
- Last Synced: 2025-03-31T16:11:18.295Z (15 days ago)
- Topics: chatgpt, claude-ai, ollama, sass, teams
- Language: Go
- Homepage:
- Size: 4.31 MB
- Stars: 538
- Watchers: 9
- Forks: 90
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ChatGPT-repositories - chat - chat web app for teams, sass with user management and ratelimit, support chatgpt(openai & azure), claude or custom model (Openai)
- StarryDivineSky - swuecho/chat
- awesome-gpt - Chat - chat web app for teams, sass with user management and rate limit, support openai, claude model or custom model (Applications and Demos / LLM (Large Language Model))
- Awesome-Ollama - chat: chat web app for teams
README
## Demo


## 规则
- 第一个消息是系统消息(prompt)
- 上下文默认附带最新创建的4条消息
- 第一个注册的用户是管理员
- 默认限流 100 chatGPT call /10分钟 (OPENAI_RATELIMIT=100)
- 根据对话生成可以分享的静态页面(like ShareGPT), 也可以继续会话.
- 对话快照目录(对话集), 支持全文查找(English), 方便整理, 搜索会话记录.
- 支持OPEN AI, Claude 模型
- 支持Ollama host模型, 配置参考: https://github.com/swuecho/chat/discussions/396
- 支持上传文本文件
- 支持多媒体文件, 需要模型支持
- 提示词管理, 提示词快捷键 '/'> (可选)对话标题用 `gemini-2.0-flash` 生成, 所以需要配置该模型, 不配置默认用提示词前100个字符
## 文档
- [添加新模型指南](https://github.com/swuecho/chat/blob/master/docs/add_model_zh.md)
- [快照 vs 聊天机器人](https://github.com/swuecho/chat/blob/master/docs/snapshots_vs_chatbots_zh.md)
- [使用本地Ollama](https://github.com/swuecho/chat/blob/master/docs/ollama_zh.md)
- [论坛](https://github.com/swuecho/chat/discussions)## 开发指南
- [本地开发指南](https://github.com/swuecho/chat/blob/master/docs/dev_locally_zh.md)
## 部署指南
- [部署指南](https://github.com/swuecho/chat/blob/master/docs/deployment_zh.md)
## 致谢
- web: [ChatGPT-Web](https://github.com/Chanzhaoyu/chatgpt-web) 复制过来的 。
- api : 参考 [Kerwin1202](https://github.com/Kerwin1202)'s [Chanzhaoyu/chatgpt-web#589](https://github.com/Chanzhaoyu/chatgpt-web/pull/589) 的node版本在chatgpt帮助下写的## LICENCE: MIT
## Rules
- The first message is a system message (prompt)
- By default, the latest 4 messages are included in context
- The first registered user becomes administrator
- Default rate limit: 100 ChatGPT calls per 10 minutes (OPENAI_RATELIMIT=100)
- Generate shareable static pages from conversations (like ShareGPT), or continue conversations
- Conversation snapshots directory supports full-text search (English), making it easy to organize and search conversation history
- Supports OpenAI and Claude models
- Supports Ollama host models, configuration reference: https://github.com/swuecho/chat/discussions/396
- Supports text file uploads
- Supports multimedia files (requires model support)
- Prompt management with '/' shortcut> (Optional) Conversation titles are generated by `gemini-2.0-flash`, so this model needs to be configured. If not configured, the first 100 characters of the prompt will be used as the title.
## Documentation
- [Adding New Models Guide](https://github.com/swuecho/chat/blob/master/docs/add_model_en.md)
- [Snapshots vs ChatBots](https://github.com/swuecho/chat/blob/master/docs/snapshots_vs_chatbots_en.md)
- [Using Local Ollama](https://github.com/swuecho/chat/blob/master/docs/ollama_en.md)
- [Community Discussions](https://github.com/swuecho/chat/discussions)## Development Guide
- [Local Development Guide](https://github.com/swuecho/chat/blob/master/docs/dev_locally_en.md)
## Deployment Guide
- [Deployment Guide](https://github.com/swuecho/chat/blob/master/docs/deployment_en.md)
## Acknowledgments
- web: copied from chatgpt-web
- api: based on the node version of [Kerwin1202](https://github.com/Kerwin1202)'s [Chanzhaoyu/chatgpt-web#589](https://github.com/Chanzhaoyu/chatgpt-web/pull/589)
and written with the help of chatgpt.