{"id":13645706,"url":"https://github.com/swuecho/chat","last_synced_at":"2026-05-30T04:03:29.224Z","repository":{"id":145896049,"uuid":"615684995","full_name":"swuecho/chat","owner":"swuecho","description":"chat web app for teams, sass with user management and ratelimit, support chatgpt(openai \u0026 azure), claude, gemini and ollama model","archived":false,"fork":false,"pushed_at":"2025-05-11T04:19:42.000Z","size":4559,"stargazers_count":549,"open_issues_count":14,"forks_count":90,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-11T04:21:51.854Z","etag":null,"topics":["chatgpt","claude-ai","ollama","sass","teams"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swuecho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-18T11:32:14.000Z","updated_at":"2025-05-11T04:19:45.000Z","dependencies_parsed_at":"2023-12-17T09:22:03.387Z","dependency_job_id":"d6b9b547-5d31-4ef8-842d-4d85c62f90f3","html_url":"https://github.com/swuecho/chat","commit_stats":{"total_commits":517,"total_committers":6,"mean_commits":86.16666666666667,"dds":"0.030947775628626717","last_synced_commit":"07ad51a1b53c1558c207b89d575345e0a04399b1"},"previous_names":[],"tags_count":117,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swuecho%2Fchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swuecho%2Fchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swuecho%2Fchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swuecho%2Fchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swuecho","download_url":"https://codeload.github.com/swuecho/chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254355334,"owners_count":22057354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","claude-ai","ollama","sass","teams"],"created_at":"2024-08-02T01:02:40.227Z","updated_at":"2026-05-30T04:03:29.213Z","avatar_url":"https://github.com/swuecho.png","language":"Go","funding_links":[],"categories":["Openai","A01_文本生成_文本对话","Web \u0026 Desktop UIs","Chat \u0026 RAG","Applications and Demos"],"sub_categories":["大语言对话模型及数据","LLM (Large Language Model)"],"readme":"## Demo\n\n\n\u003cimg width=\"850\" alt=\"image\" src=\"https://github.com/user-attachments/assets/98940012-a1d9-41c0-b5c7-fc060e74546a\" /\u003e\n\n\n\u003cimg width=\"850\" alt=\"image\" src=\"https://github.com/user-attachments/assets/65b7286e-9df6-429c-98a4-64bd8ad1518b\"\u003e\n\n\u003cimg width=\"850\" alt=\"thinking\" src=\"https://github.com/user-attachments/assets/e5145dc9-ca4e-4fc3-a40c-ef28693d811a\" /\u003e\n\n\n![image](https://github.com/user-attachments/assets/ad38194e-dd13-4eb0-b946-81c29a37955d)\n\n\n\u003cimg width=\"850\" alt=\"image\" src=\"https://github.com/swuecho/chat/assets/666683/0c4f546a-e884-4dc1-91c0-d4b07e63a1a9.png\"\u003e\n\n\u003cimg width=\"850\" alt=\"Screenshot 2025-09-11 at 8 05 03 PM\" src=\"https://github.com/user-attachments/assets/d3ae5c15-7498-4352-95b4-bb96b7a4c2bb\" /\u003e\n\n\n![image](https://github.com/user-attachments/assets/5b3751e4-eaa1-4a79-b47a-9b073c63eb04)\n\n\u003cimg width=\"850\" alt=\"image\" src=\"https://github.com/user-attachments/assets/13b0aff8-93c4-4406-acce-b48389ae0c88\" /\u003e\n\n\u003cimg width=\"850\" alt=\"chat records\" src=\"https://github.com/swuecho/chat/assets/666683/45dd865e-7f9f-4209-8587-4781e37dd928\"\u003e\n\n\u003cimg width=\"1601\" alt=\"chat record comments\" src=\"https://github.com/user-attachments/assets/9ce940b9-2023-47ba-bcbe-32f4846354b1\" /\u003e\n\n\n\n\n\n## 规则\n\n- 第一个消息是系统消息（prompt）\n- 上下文默认附带最新创建的4条消息\n- 第一个注册的用户是管理员\n- 默认限流 100 chatGPT call /10分钟 (OPENAI_RATELIMIT=100)\n- 根据对话生成可以分享的静态页面(like ShareGPT), 也可以继续会话. \n- 对话快照目录(对话集), 支持全文查找(English), 方便整理, 搜索会话记录.\n- 支持OPEN AI, Claude 模型 \n- 支持Ollama host模型, 配置参考: https://github.com/swuecho/chat/discussions/396\n- 支持上传文本文件\n- 支持多媒体文件, 需要模型支持\n- 提示词管理, 提示词快捷键 '/'\n\n\u003e （可选）对话标题用 `gemini-2.0-flash` 生成， 所以需要配置该模型， 不配置默认用提示词前100个字符\n\n## 文档\n\n- [添加新模型指南](https://github.com/swuecho/chat/blob/master/docs/add_model_zh.md)\n- [快照 vs 聊天机器人](https://github.com/swuecho/chat/blob/master/docs/snapshots_vs_chatbots_zh.md)\n- [使用本地Ollama](https://github.com/swuecho/chat/blob/master/docs/ollama_zh.md)\n- [论坛](https://github.com/swuecho/chat/discussions)\n\n## 开发指南\n\n- [本地开发指南](https://github.com/swuecho/chat/blob/master/docs/dev_locally_zh.md)\n- 移动端聊天应用使用 Flutter， 见 [mobile/README.md](/Users/hwu/dev/chat/mobile/README.md)\n\n## 部署指南\n\n- [部署指南](https://github.com/swuecho/chat/blob/master/docs/deployment_zh.md)\n\n## 致谢\n\n- web: [ChatGPT-Web](https://github.com/Chanzhaoyu/chatgpt-web) 复制过来的 。\n- api : 参考 [Kerwin1202](https://github.com/Kerwin1202)'s [Chanzhaoyu/chatgpt-web#589](https://github.com/Chanzhaoyu/chatgpt-web/pull/589) 的node版本在chatgpt帮助下写的\n\n## LICENCE: MIT\n\n## Rules\n\n- The first message is a system message (prompt)\n- By default, the latest 4 messages are included in context\n- The first registered user becomes administrator\n- Default rate limit: 100 ChatGPT calls per 10 minutes (OPENAI_RATELIMIT=100)\n- Generate shareable static pages from conversations (like ShareGPT), or continue conversations\n- Conversation snapshots directory supports full-text search (English), making it easy to organize and search conversation history\n- Supports OpenAI and Claude models\n- Supports Ollama host models, configuration reference: https://github.com/swuecho/chat/discussions/396\n- Supports text file uploads\n- Supports multimedia files (requires model support)\n- Prompt management with '/' shortcut\n\n\u003e (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.\n\n## Documentation\n\n- [Adding New Models Guide](https://github.com/swuecho/chat/blob/master/docs/add_model_en.md)\n- [Snapshots vs ChatBots](https://github.com/swuecho/chat/blob/master/docs/snapshots_vs_chatbots_en.md)\n- [Using Local Ollama](https://github.com/swuecho/chat/blob/master/docs/ollama_en.md)\n- [Community Discussions](https://github.com/swuecho/chat/discussions)\n\n## Development Guide\n\n- [Local Development Guide](https://github.com/swuecho/chat/blob/master/docs/dev_locally_en.md)\n- The mobile chat app is built with Flutter. See [mobile/README.md](/Users/hwu/dev/chat/mobile/README.md).\n\n## Deployment Guide\n\n- [Deployment Guide](https://github.com/swuecho/chat/blob/master/docs/deployment_en.md)\n\n## Acknowledgments\n\n- web: copied from chatgpt-web \u003chttps://github.com/Chanzhaoyu/chatgpt-web\u003e\n- 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)\nand written with the help of chatgpt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswuecho%2Fchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswuecho%2Fchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswuecho%2Fchat/lists"}