[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-coaidev--coai":3,"tool-coaidev--coai":62},[4,18,28,38,46,54],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":17},4358,"openclaw","openclaw\u002Fopenclaw","OpenClaw 是一款专为个人打造的本地化 AI 助手，旨在让你在自己的设备上拥有完全可控的智能伙伴。它打破了传统 AI 助手局限于特定网页或应用的束缚，能够直接接入你日常使用的各类通讯渠道，包括微信、WhatsApp、Telegram、Discord、iMessage 等数十种平台。无论你在哪个聊天软件中发送消息，OpenClaw 都能即时响应，甚至支持在 macOS、iOS 和 Android 设备上进行语音交互，并提供实时的画布渲染功能供你操控。\n\n这款工具主要解决了用户对数据隐私、响应速度以及“始终在线”体验的需求。通过将 AI 部署在本地，用户无需依赖云端服务即可享受快速、私密的智能辅助，真正实现了“你的数据，你做主”。其独特的技术亮点在于强大的网关架构，将控制平面与核心助手分离，确保跨平台通信的流畅性与扩展性。\n\nOpenClaw 非常适合希望构建个性化工作流的技术爱好者、开发者，以及注重隐私保护且不愿被单一生态绑定的普通用户。只要具备基础的终端操作能力（支持 macOS、Linux 及 Windows WSL2），即可通过简单的命令行引导完成部署。如果你渴望拥有一个懂你",349277,3,"2026-04-06T06:32:30",[13,14,15,16],"Agent","开发框架","图像","数据工具","ready",{"id":19,"name":20,"github_repo":21,"description_zh":22,"stars":23,"difficulty_score":24,"last_commit_at":25,"category_tags":26,"status":17},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",160015,2,"2026-04-18T11:30:52",[14,13,27],"语言模型",{"id":29,"name":30,"github_repo":31,"description_zh":32,"stars":33,"difficulty_score":34,"last_commit_at":35,"category_tags":36,"status":17},8272,"opencode","anomalyco\u002Fopencode","OpenCode 是一款开源的 AI 编程助手（Coding Agent），旨在像一位智能搭档一样融入您的开发流程。它不仅仅是一个代码补全插件，而是一个能够理解项目上下文、自主规划任务并执行复杂编码操作的智能体。无论是生成全新功能、重构现有代码，还是排查难以定位的 Bug，OpenCode 都能通过自然语言交互高效完成，显著减少开发者在重复性劳动和上下文切换上的时间消耗。\n\n这款工具专为软件开发者、工程师及技术研究人员设计，特别适合希望利用大模型能力来提升编码效率、加速原型开发或处理遗留代码维护的专业人群。其核心亮点在于完全开源的架构，这意味着用户可以审查代码逻辑、自定义行为策略，甚至私有化部署以保障数据安全，彻底打破了传统闭源 AI 助手的“黑盒”限制。\n\n在技术体验上，OpenCode 提供了灵活的终端界面（Terminal UI）和正在测试中的桌面应用程序，支持 macOS、Windows 及 Linux 全平台。它兼容多种包管理工具，安装便捷，并能无缝集成到现有的开发环境中。无论您是追求极致控制权的资深极客，还是渴望提升产出的独立开发者，OpenCode 都提供了一个透明、可信",144296,1,"2026-04-16T14:50:03",[13,37],"插件",{"id":39,"name":40,"github_repo":41,"description_zh":42,"stars":43,"difficulty_score":24,"last_commit_at":44,"category_tags":45,"status":17},6121,"gemini-cli","google-gemini\u002Fgemini-cli","gemini-cli 是一款由谷歌推出的开源 AI 命令行工具，它将强大的 Gemini 大模型能力直接集成到用户的终端环境中。对于习惯在命令行工作的开发者而言，它提供了一条从输入提示词到获取模型响应的最短路径，无需切换窗口即可享受智能辅助。\n\n这款工具主要解决了开发过程中频繁上下文切换的痛点，让用户能在熟悉的终端界面内直接完成代码理解、生成、调试以及自动化运维任务。无论是查询大型代码库、根据草图生成应用，还是执行复杂的 Git 操作，gemini-cli 都能通过自然语言指令高效处理。\n\n它特别适合广大软件工程师、DevOps 人员及技术研究人员使用。其核心亮点包括支持高达 100 万 token 的超长上下文窗口，具备出色的逻辑推理能力；内置 Google 搜索、文件操作及 Shell 命令执行等实用工具；更独特的是，它支持 MCP（模型上下文协议），允许用户灵活扩展自定义集成，连接如图像生成等外部能力。此外，个人谷歌账号即可享受免费的额度支持，且项目基于 Apache 2.0 协议完全开源，是提升终端工作效率的理想助手。",100752,"2026-04-10T01:20:03",[37,13,15,14],{"id":47,"name":48,"github_repo":49,"description_zh":50,"stars":51,"difficulty_score":24,"last_commit_at":52,"category_tags":53,"status":17},4721,"markitdown","microsoft\u002Fmarkitdown","MarkItDown 是一款由微软 AutoGen 团队打造的轻量级 Python 工具，专为将各类文件高效转换为 Markdown 格式而设计。它支持 PDF、Word、Excel、PPT、图片（含 OCR）、音频（含语音转录）、HTML 乃至 YouTube 链接等多种格式的解析，能够精准提取文档中的标题、列表、表格和链接等关键结构信息。\n\n在人工智能应用日益普及的今天，大语言模型（LLM）虽擅长处理文本，却难以直接读取复杂的二进制办公文档。MarkItDown 恰好解决了这一痛点，它将非结构化或半结构化的文件转化为模型“原生理解”且 Token 效率极高的 Markdown 格式，成为连接本地文件与 AI 分析 pipeline 的理想桥梁。此外，它还提供了 MCP（模型上下文协议）服务器，可无缝集成到 Claude Desktop 等 LLM 应用中。\n\n这款工具特别适合开发者、数据科学家及 AI 研究人员使用，尤其是那些需要构建文档检索增强生成（RAG）系统、进行批量文本分析或希望让 AI 助手直接“阅读”本地文件的用户。虽然生成的内容也具备一定可读性，但其核心优势在于为机器",93400,"2026-04-06T19:52:38",[37,14],{"id":55,"name":56,"github_repo":57,"description_zh":58,"stars":59,"difficulty_score":10,"last_commit_at":60,"category_tags":61,"status":17},4487,"LLMs-from-scratch","rasbt\u002FLLMs-from-scratch","LLMs-from-scratch 是一个基于 PyTorch 的开源教育项目，旨在引导用户从零开始一步步构建一个类似 ChatGPT 的大型语言模型（LLM）。它不仅是同名技术著作的官方代码库，更提供了一套完整的实践方案，涵盖模型开发、预训练及微调的全过程。\n\n该项目主要解决了大模型领域“黑盒化”的学习痛点。许多开发者虽能调用现成模型，却难以深入理解其内部架构与训练机制。通过亲手编写每一行核心代码，用户能够透彻掌握 Transformer 架构、注意力机制等关键原理，从而真正理解大模型是如何“思考”的。此外，项目还包含了加载大型预训练权重进行微调的代码，帮助用户将理论知识延伸至实际应用。\n\nLLMs-from-scratch 特别适合希望深入底层原理的 AI 开发者、研究人员以及计算机专业的学生。对于不满足于仅使用 API，而是渴望探究模型构建细节的技术人员而言，这是极佳的学习资源。其独特的技术亮点在于“循序渐进”的教学设计：将复杂的系统工程拆解为清晰的步骤，配合详细的图表与示例，让构建一个虽小但功能完备的大模型变得触手可及。无论你是想夯实理论基础，还是为未来研发更大规模的模型做准备",90106,"2026-04-06T11:19:32",[27,15,13,14],{"id":63,"github_repo":64,"name":65,"description_en":66,"description_zh":67,"ai_summary_zh":67,"readme_en":68,"readme_zh":69,"quickstart_zh":70,"use_case_zh":71,"hero_image_url":72,"owner_login":73,"owner_name":74,"owner_avatar_url":75,"owner_bio":76,"owner_company":77,"owner_location":77,"owner_email":78,"owner_twitter":77,"owner_website":79,"owner_url":80,"languages":81,"stars":114,"forks":115,"last_commit_at":116,"license":117,"difficulty_score":10,"env_os":118,"env_gpu":119,"env_ram":119,"env_deps":120,"category_tags":125,"github_topics":126,"view_count":24,"oss_zip_url":77,"oss_zip_packed_at":77,"status":17,"created_at":138,"updated_at":139,"faqs":140,"releases":141},9124,"coaidev\u002Fcoai","coai","🚀 Next Generation Multi-tenant AI One-Stop Solution. Builtin Admin & Billing System. Enterprise-Grade Unified LLM Gateway Support for 200+ Models And 35+ Providers, Load Balacing w\u002F Priority-base Routing, Cost Management, Chat Share, Cloud Sync, Credit\u002FSubscription Billing, All File Parsing, Web Search, Built-in Model Cache.","CoAI 是一款新一代多租户 AI 一站式解决方案，旨在为企业和个人提供开箱即用的大模型商业化部署服务。它巧妙融合了类似 Next Web 的精美前端交互与 One API 的强大网关能力，解决了传统方案中管理后台缺失、计费系统复杂以及多模型接入困难等痛点。\n\n无论是希望快速搭建 AI 服务的开发者、需要统一管理算力的企业管理员，还是寻求私有化部署的创业者，CoAI 都能满足需求。其核心优势在于企业级的统一 LLM 网关，支持超过 200 种模型和 35+ 服务商，并具备基于优先级的负载均衡与智能缓存机制。\n\n在功能亮点上，CoAI 内置了完整的行政与计费系统，支持订阅制和弹性计费等多种模式，让运营变现变得简单高效。它不仅拥有适配多端的现代化 UI 和深色模式，还集成了强大的文件解析（含 OCR）、联网搜索及文生图能力。此外，通过零成本的云同步技术，用户可轻松实现跨设备对话同步与分享，无需配置复杂的 WebDav 等依赖。配合丰富的后端仪表盘，CoAI 让构建专业级 AIGC 平台变得前所未有的轻松。","\u003Cdiv align=\"center\">\n\n![chatnio](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_readme_70492ec9f9ce.png)\n\n# [🥳 CoAI.Dev](https:\u002F\u002Fcoai.dev)\n\n#### 🚀 Next Generation AIGC One-Stop Business Solution\n\n#### *\"CoAI.Dev > [Next Web](https:\u002F\u002Fgithub.com\u002FChatGPTNextWeb\u002FChatGPT-Next-Web) + [One API](https:\u002F\u002Fgithub.com\u002Fsongquanpeng\u002Fone-api)\"*\n\n\nEnglish · [简体中文](.\u002FREADME_zh-CN.md) · [日本語](.\u002FREADME_ja-JP.md) · [Docs](https:\u002F\u002Fcoai.dev) · [Discord](https:\u002F\u002Fdiscord.gg\u002FrpzNSmqaF2) · [Deployment Guide](https:\u002F\u002Fcoai.dev\u002Fdocs\u002Fdeploy)\n\n[![CoAI.Dev: #1 Repo Of The Day](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_readme_4a68feb902da.png)](https:\u002F\u002Ftrendshift.io\u002Frepositories\u002F6369)\n\n\u003Cimg alt=\"CoAI.Dev Preview\" src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_readme_8c1103df33fe.png\" width=\"100%\" style=\"border-radius: 8px\">\n\n\u003C\u002Fdiv>\n\n## 📝 Features\n1. 🤖️ **Rich Model Support**: Multi-model service provider support (OpenAI \u002F Anthropic \u002F Gemini \u002F Midjourney and more than ten compatible formats & private LLM support)\n2. 🤯 **Beautiful UI Design**: UI compatible with PC \u002F Pad \u002F Mobile, following [Shadcn UI](https:\u002F\u002Fui.shadcn.com) & [Tremor Charts](https:\u002F\u002Fblocks.tremor.so) design standards, rich and beautiful interface design and backend dashboard\n3. 🎃 **Complete Markdown Support**: Support for **LaTeX formulas** \u002F **Mermaid mind maps** \u002F table rendering \u002F code highlighting \u002F chart drawing \u002F progress bars and other advanced Markdown syntax support\n4. 👀 **Multi-theme Support**: Support for multiple theme switching, including **Light Mode** for light themes and **Dark Mode** for dark themes. 👉 [Custom Color Scheme](https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fblob\u002Fmain\u002Fapp\u002Fsrc\u002Fassets\u002Fglobals.less)\n5. 📚 **Internationalization Support**: Support for internationalization, multi-language switching 🇨🇳 🇺🇸 🇯🇵 🇷🇺 👉 Welcome to contribute translations [Pull Request](https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpulls)\n6. 🎨 **Text-to-Image Support**: Support for multiple text-to-image models: **OpenAI DALL-E**✅ & **Midjourney** (support for **U\u002FV\u002FR** operations)✅ & Stable Diffusion✅ etc.\n7. 📡 **Powerful Conversation Sync**: **Zero-cost cross-device conversation sync support for users**, support for **conversation sharing** (link sharing & save as image & share management), **no need for WebDav \u002F WebRTC and other dependencies and complex learning costs**\n8. 🎈 **Model Market & Preset System**: Support for customizable model market in the backend, providing model introductions, tags, and other parameters. Site owners can customize model introductions according to the situation. Also supports a preset system, including **custom presets** and **cloud synchronization** functions.\n9. 📖 **Rich File Parsing**: **Out-of-the-box**, supports file parsing for **all models** (PDF \u002F Docx \u002F Pptx \u002F Excel \u002F image formats parsing), **supports more cloud image storage solutions** (S3 \u002F R2 \u002F MinIO etc.), **supports OCR image recognition** 👉 See project [CoAI.Dev Blob Service](https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fblob-service) for details (supports Vercel \u002F Docker one-click deployment)\n10. 🌏 **Full Model Internet Search**: Based on the [SearXNG](https:\u002F\u002Fgithub.com\u002Fsearxng\u002Fsearxng) open-source engine, supports rich search engines such as Google \u002F Bing \u002F DuckDuckGo \u002F Yahoo \u002F Wikipedia \u002F Arxiv \u002F Qwant, supports safe search mode, content truncation, image proxy, test search availability, and other functions.\n11. 💕 **Progressive Web App (PWA)**: Supports PWA applications & desktop support (desktop based on [Tauri](https:\u002F\u002Fgithub.com\u002Ftauri-apps\u002Ftauri))\n12. 🤩 **Comprehensive Backend Management**: Supports beautiful and rich dashboard, announcement & notification management, user management, subscription management, gift code & redemption code management, price setting, subscription setting, custom model market, custom site name & logo, SMTP email settings, and other functions\n13. 🤑 **Multiple Billing Methods**: Supports 💴 **Subscription** and 💴 **Elastic Billing** two billing methods. Elastic billing supports per-request billing \u002F token billing \u002F no billing \u002F anonymous calls and **minimum request points** detection and other powerful features\n14. 🎉 **Innovative Model Caching**: Supports enabling model caching: i.e., under the same request parameter hash, if it has been requested before, it will directly return the cached result (hitting the cache will not be billed), reducing the number of requests. You can customize whether to cache models, cache time, multiple cache result numbers, and other advanced cache settings\n15. 🥪 **Additional Features** (Support Discontinued): 🍎 **AI Project Generator Function** \u002F 📂 **Batch Article Generation Function** \u002F 🥪 **AI Card Function** (Deprecated)\n16. 😎 **Excellent Channel Management**: Self-written excellent channel algorithm, supports ⚡ **multi-channel management**, supports 🥳**priority** setting for channel call order, supports 🥳**weight** setting for load balancing probability distribution of channels at the same priority, supports 🥳**user grouping**, 🥳**automatic retry on failure**, 🥳**model redirection**, 🥳**built-in upstream hiding**, 🥳**channel status management** and other powerful **enterprise-level functions**\n17. ⭐ **OpenAI API Distribution & Proxy System**: Supports calling various large models in **OpenAI API** standard format, integrates powerful channel management functions, only needs to deploy one site to achieve simultaneous development of B\u002FC-end business💖\n18. 👌 **Quick Upstream Synchronization**: Channel settings, model market, price settings, and other settings can quickly synchronize with upstream sites, modify your site configuration based on this, quickly build your site, save time and effort, one-click synchronization, quick launch\n19. 👋 **SEO Optimization**: Supports SEO optimization, supports custom site name, site logo, and other SEO optimization settings to make search engines crawl faster, making your site stand out👋\n20. 🎫 **Multiple Redemption Code Systems**: Supports multiple redemption code systems, supports gift codes and redemption codes, supports batch generation, gift codes are suitable for promotional distribution, redemption codes are suitable for card sales, for gift codes of one type, a user can only redeem one code, which to some extent reduces the situation of one user redeeming multiple times in promotions😀\n21. 🥰 **Business-Friendly License**: Adopts the **Apache-2.0** open-source license, friendly for commercial secondary development & distribution (please also comply with the provisions of the Apache-2.0 license, do not use for illegal purposes)\n\n> ### ✨ CoAI.Dev Business\n>\n> ![Pro Version Preview](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_readme_13a59081ce1b.png)\n>\n> - ✅ Beautiful commercial-grade UI, elegant frontend interface and backend management\n> - ✅ Supports TTS & STT, plugin marketplace, RAG knowledge base and other rich features and modules\n> - ✅ More payment providers, more billing models and advanced order management\n> - ✅ Supports more authentication methods, including SMS login, OAuth login, etc.\n> - ✅ Supports model monitoring, channel health detection, fault alarm automatic channel switching\n> - ✅ Supports multi-tenant API Key distribution system, enterprise-level token permission management and visitor restrictions\n> - ✅ Supports security auditing, logging, model rate limiting, API Gateway and other advanced features\n> - ✅ Supports promotion rewards, professional data statistics, user profile analysis and other business analysis capabilities\n> - ✅ Supports Discord\u002FTelegram\u002FFeishu and other bot integration capabilities (extension modules)\n> - ...\n>\n> [👉 Learn More](https:\u002F\u002Fwww.coai.dev\u002Fdocs\u002Fcontact)\n\n\n## 🔨 Supported Models\n1. OpenAI & Azure OpenAI *(✅ Vision ✅ Function Calling)*\n2. Anthropic Claude *(✅ Vision ✅ Function Calling)*\n3. Google Gemini & PaLM2 *(✅ Vision)*\n4. Midjourney *(✅ Mode Toggling ✅ U\u002FV\u002FR Actions)*\n5. iFlytek SparkDesk *(✅ Vision ✅ Function Calling)*\n6. Zhipu AI ChatGLM *(✅ Vision)*\n7. Alibaba Tongyi Qwen\n8. Tencent Hunyuan\n9. Baichuan AI\n10. Moonshot AI (👉 OpenAI)\n11. DeepSeek AI (👉 OpenAI)\n12. ByteDance Skylark *(✅ Function Calling)*\n13. Groq Cloud AI\n14. OpenRouter (👉 OpenAI)\n15. 360 GPT\n16. LocalAI \u002F Ollama (👉 OpenAI)\n\n## 👻 OpenAI Compatible API Proxy\n   - [x] Chat Completions _(\u002Fv1\u002Fchat\u002Fcompletions)_\n   - [x] Image Generation _(\u002Fv1\u002Fimages)_\n   - [x] Model List _(\u002Fv1\u002Fmodels)_\n   - [x] Dashboard Billing _(\u002Fv1\u002Fbilling)_\n\n\n## 📦 Deployment\n> [!TIP]\n> **After successful deployment, the admin account is `root`, with the default password `chatnio123456`**\n\n### ✨ Zeabur (One-Click)\n[![Deploy on Zeabur](https:\u002F\u002Fzeabur.com\u002Fbutton.svg)](https:\u002F\u002Fzeabur.com\u002Ftemplates\u002FM86XJI)\n\n> Zeabur provides a certain free quota, you can use non-paid regions for one-click deployment, and also supports plan subscriptions and elastic billing for flexible expansion.\n> 1. Click `Deploy` to deploy, and enter the domain name you wish to bind, wait for the deployment to complete.\n> 2. After deployment is complete, please visit your domain name and log in to the backend management using the username `root` and password `chatnio123456`. Please follow the prompts to change the password in the chatnio backend in a timely manner.\n\n### 🐳 BTPanel (One-Click)\n\n1. Install Baota Panel by visiting [BTPanel](https:\u002F\u002Fwww.bt.cn\u002Fnew\u002Fdownload.html) and install using the stable version script.\n2. Log in to the panel and click **Docker** on the left to enter Docker management.\n3. If prompted that Docker \u002F Docker Compose is not installed, you can install according to the guide above.\n4. After installation is complete, enter **App Store**, search for `CoAI` and click **Install**.\n5. Configure basic application information such as your domain name, port, etc., and click **Confirm** (default configuration can be used).\n6. First-time installation may take 1-2 minutes to complete database initialization. If you encounter issues, please check the panel running logs for troubleshooting.\n7. Visit your configured domain or server `http:\u002F\u002F[ip]:[port]`, log in to the backend management using username `root` and password `chatnio123456`.\n\n### AlibabaCloud ComputeNest (One-Click)\n[![Deploy on AlibabaCloud ComputeNest International Edition](https:\u002F\u002Fservice-info-public.oss-cn-hangzhou.aliyuncs.com\u002Fcomputenest-en.svg)](https:\u002F\u002Fcomputenest.console.aliyun.com\u002Fservice\u002Finstance\u002Fcreate\u002Fap-southeast-1?type=user&ServiceName=CoAI%20%20Community%20Edition)\n1. Access the CoAI service on [ComputeNest International Edition](https:\u002F\u002Fcomputenest.console.aliyun.com\u002Fservice\u002Finstance\u002Fcreate\u002Fap-southeast-1?type=user&ServiceName=CoAI%20%20Community%20Edition). If you are in China, please visit [ComputeNest](https:\u002F\u002Fcomputenest.console.aliyun.com\u002Fservice\u002Finstance\u002Fcreate\u002Fdefault?type=user&ServiceName=CoAI社区版), and fill in the deployment parameters as prompted.\n2. Select the payment type, fill in the instance parameters and network parameters, and click **Next: Confirm Order**.\n3. After confirming the deployment parameters and checking the estimated price, click Create Now and wait for the service instance to be deployed.\n4. Click **Service Instance** on the left. After the service instance is deployed, click the instance ID to enter the details interface.\n5. Click the address in **Use Now** on the details interface to enter the CoAI interface. The default username is `root` and the password is `chatnio123456` to log in to the backend management.\n6. For more operation details and payment information, see：[Service Details](https:\u002F\u002Fcomputenest.console.aliyun.com\u002Fservice\u002Fdetail\u002Fap-southeast-1\u002Fservice-27e11d3a5c9b40628505\u002F1?type=user&isRecommend=true).\n\n\n### ⚡ Docker Compose Installation (Recommended)\n> [!NOTE]\n> After successful execution, the host machine mapping address is `http:\u002F\u002Flocalhost:8000`\n\n```shell\ngit clone --depth=1 --branch=main --single-branch https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai.git\ncd chatnio\ndocker-compose up -d # Run the service\n# To use the stable version, use docker-compose -f docker-compose.stable.yaml up -d instead\n# To use Watchtower for automatic updates, use docker-compose -f docker-compose.watch.yaml up -d instead\n```\n\nVersion update (_If Watchtower automatic updates are enabled, manual updates are not necessary_):\n```shell\ndocker-compose down \ndocker-compose pull\ndocker-compose up -d\n```\n\n> - MySQL database mount directory: ~\u002F**db**\n> - Redis database mount directory: ~\u002F**redis**\n> - Configuration file mount directory: ~\u002F**config**\n\n### ⚡ Docker Installation (Lightweight runtime, commonly used for external _MYSQL\u002FRDS_ services)\n> [!NOTE]\n> After successful execution, the host machine address is `http:\u002F\u002Flocalhost:8094`.\n> \n> To use the stable version, use `programzmh\u002Fchatnio:stable` instead of `programzmh\u002Fchatnio:latest`\n\n```shell\ndocker run -d --name chatnio \\\n   --network host \\\n   -v ~\u002Fconfig:\u002Fconfig \\\n   -v ~\u002Flogs:\u002Flogs \\\n   -v ~\u002Fstorage:\u002Fstorage \\\n   -e MYSQL_HOST=localhost \\\n   -e MYSQL_PORT=3306 \\\n   -e MYSQL_DB=chatnio \\\n   -e MYSQL_USER=root \\\n   -e MYSQL_PASSWORD=chatnio123456 \\\n   -e REDIS_HOST=localhost \\\n   -e REDIS_PORT=6379 \\\n   -e SECRET=secret \\\n   -e SERVE_STATIC=true \\\n   programzmh\u002Fchatnio:latest\n```\n\n> - *--network host* means using the host machine's network, allowing the Docker container to use the host's network. You can modify this as needed.\n> - SECRET: JWT secret key, generate a random string and modify accordingly\n> - SERVE_STATIC: Whether to enable static file serving (normally this doesn't need to be changed, see FAQ below for details)\n> - *-v ~\u002Fconfig:\u002Fconfig* mounts the configuration file, *-v ~\u002Flogs:\u002Flogs* mounts the host machine directory for log files, *-v ~\u002Fstorage:\u002Fstorage* mounts the directory for additional feature generated files\n> - MySQL and Redis services need to be configured. Please refer to the information above to modify the environment variables accordingly\n\nVersion update (_After enabling Watchtower, manual updates are not necessary. After execution, follow the steps above to run again_):\n\n```shell\ndocker stop chatnio\ndocker rm chatnio\ndocker pull programzmh\u002Fchatnio:latest\n```\n\n### ⚒ Compile and Install\n\n> [!NOTE]\n> After successful deployment, the default port is **8094**, and the access address is `http:\u002F\u002Flocalhost:8094`\n> \n> Config settings (~\u002Fconfig\u002F**config.yaml**) can be overridden using environment variables. For example, the `MYSQL_HOST` environment variable can override the `mysql.host` configuration item\n\n```shell\ngit clone https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai.git\ncd chatnio\n\ncd app\nnpm install -g pnpm\npnpm install\npnpm build\n\ncd ..\ngo build -o chatnio\n\n# e.g. using nohup (you can also use systemd or other service manager)\nnohup .\u002Fchatnio > output.log & # using nohup to run in background\n```\n\n## 📦 Tech Stack\n\n- 🥗 Frontend: React + Redux + Radix UI + Tailwind CSS\n- 🍎 Backend: Golang + Gin + Redis + MySQL\n- 🍒 Application Technology: PWA + WebSocket\n\n## 🤯 Why Create This Project & Project Advantages\n\n- We found that most AIGC commercial sites on the market are frontend-oriented lightweight deployment projects with beautiful UI interface designs, such as the commercial version of [Next Chat](https:\u002F\u002Fgithub.com\u002FChatGPTNextWeb\u002FChatGPT-Next-Web). Due to its personal privatization-oriented design, there are some limitations in secondary commercial development, presenting some issues, such as:\n  1. **Difficult conversation synchronization**, for example, requiring services like WebDav, high user learning costs, and difficulties in real-time cross-device synchronization.\n  2. **Insufficient billing**, for example, only supporting elastic billing or only subscription-based, unable to meet the needs of different users.\n  3. **Inconvenient file parsing**, for example, only supporting uploading images to an image hosting service first, then returning to the site to input the URL direct link in the input box, without built-in file parsing functionality.\n  4. **No support for conversation URL sharing**, for example, only supporting conversation screenshot sharing, unable to support conversation URL sharing (or only supporting tools like ShareGPT, which cannot promote the site).\n  5. **Insufficient channel management**, for example, the backend only supports OpenAI format channels, making it difficult to be compatible with other format channels. And only one channel can be filled in, unable to support multi-channel management.\n  6. **No API call support**, for example, only supporting user interface calls, unable to support API proxying and management.\n\n- Another type is API distribution-oriented sites with powerful distribution systems, such as projects based on [One API](https:\u002F\u002Fgithub.com\u002Fsongquanpeng\u002Fone-api).\nAlthough these projects support powerful API proxying and management, they lack interface design and some C-end features, such as:\n  1. **Insufficient user interface**, for example, only supporting API calls, without built-in user interface chat. User interface chat requires manually copying the key and going to other sites to use, which has a high learning cost for ordinary users.\n  2. **No subscription system**, for example, only supporting elastic billing, lacking billing design for C-end users, unable to meet different user needs, and not user-friendly in terms of cost perception for users without a foundation.\n  3. **Insufficient C-end features**, for example, only supporting API calls, not supporting conversation synchronization, conversation sharing, file parsing, and other functions.\n  4. **Insufficient load balancing**, the open-source version does not support the **weight** parameter, unable to achieve balanced load distribution probability for channels at the same priority ([New API](https:\u002F\u002Fgithub.com\u002FCalcium-Ion\u002Fnew-api) also solves this pain point, with a more beautiful UI).\n\nTherefore, we hope to combine the advantages of these two types of projects to create a project that has both a powerful API distribution system and a rich user interface design,\nthus meeting the needs of C-end users while developing B-end business, improving user experience, reducing user learning costs, and increasing user stickiness.\n\nThus, **CoAI.Dev** was born. We hope to create a project that has both a powerful API distribution system and a rich user interface design, becoming the next-generation open-source AIGC project's one-stop commercial solution.\n\n\n## ❤ Donations\n\nIf you find this project helpful, you can give it a Star to show your support!\n","\u003Cdiv align=\"center\">\n\n![chatnio](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_readme_70492ec9f9ce.png)\n\n# [🥳 CoAI.Dev](https:\u002F\u002Fcoai.dev)\n\n#### 🚀 新一代 AIGC 一站式商业解决方案\n\n#### *\"CoAI.Dev > [Next Web](https:\u002F\u002Fgithub.com\u002FChatGPTNextWeb\u002FChatGPT-Next-Web) + [One API](https:\u002F\u002Fgithub.com\u002Fsongquanpeng\u002Fone-api)\"*\n\n\n英语 · [简体中文](.\u002FREADME_zh-CN.md) · [日语](.\u002FREADME_ja-JP.md) · [文档](https:\u002F\u002Fcoai.dev) · [Discord](https:\u002F\u002Fdiscord.gg\u002FrpzNSmqaF2) · [部署指南](https:\u002F\u002Fcoai.dev\u002Fdocs\u002Fdeploy)\n\n[![CoAI.Dev: 今日最佳仓库](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_readme_4a68feb902da.png)](https:\u002F\u002Ftrendshift.io\u002Frepositories\u002F6369)\n\n\u003Cimg alt=\"CoAI.Dev 预览图\" src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_readme_8c1103df33fe.png\" width=\"100%\" style=\"border-radius: 8px\">\n\n\u003C\u002Fdiv>\n\n## 📝 功能特性\n1. 🤖️ **丰富的模型支持**：支持多模型服务商（OpenAI \u002F Anthropic \u002F Gemini \u002F Midjourney 等十余种兼容格式及私有大模型）\n2. 🤯 **精美的UI设计**：PC \u002F Pad \u002F 手机全平台适配，遵循 [Shadcn UI](https:\u002F\u002Fui.shadcn.com) 和 [Tremor Charts](https:\u002F\u002Fblocks.tremor.so) 设计规范，界面与后台仪表盘设计丰富美观\n3. 🎃 **全面的Markdown支持**：支持 **LaTeX公式** \u002F **Mermaid思维导图** \u002F 表格渲染 \u002F 代码高亮 \u002F 图表绘制 \u002F 进度条等高级Markdown语法\n4. 👀 **多主题支持**：支持多种主题切换，包括浅色主题的 **Light Mode** 和深色主题的 **Dark Mode**。👉 [自定义配色方案](https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fblob\u002Fmain\u002Fapp\u002Fsrc\u002Fassets\u002Fglobals.less)\n5. 📚 **国际化支持**：支持国际化多语言切换 🇨🇳 🇺🇸 🇯🇵 🇷🇺 👉 欢迎贡献翻译 [Pull Request](https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpulls)\n6. 🎨 **文生图支持**：支持多种文生图模型：**OpenAI DALL-E**✅、**Midjourney**（支持 **U\u002FV\u002FR** 操作）✅、Stable Diffusion✅ 等。\n7. 📡 **强大的对话同步**：为用户提供 **零成本跨设备对话同步支持**，支持 **对话分享**（链接分享、保存为图片、分享管理），无需依赖 WebDav \u002F WebRTC 等复杂技术与学习成本。\n8. 🎈 **模型市场与预设系统**：支持后台自定义模型市场，提供模型介绍、标签等参数。站点所有者可根据实际情况自定义模型介绍。同时支持预设系统，包含 **自定义预设** 和 **云端同步** 功能。\n9. 📖 **丰富的文件解析**：**开箱即用**，支持针对 **所有模型** 的文件解析（PDF \u002F Docx \u002F Pptx \u002F Excel \u002F 图片格式解析），**支持更多云存储方案**（S3 \u002F R2 \u002F MinIO 等），**支持OCR图像识别** 👉 详情请参阅项目 [CoAI.Dev Blob Service](https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fblob-service)（支持 Vercel \u002F Docker 一键部署）。\n10. 🌏 **全模型互联网搜索**：基于 [SearXNG](https:\u002F\u002Fgithub.com\u002Fsearxng\u002Fsearxng) 开源引擎，支持 Google \u002F Bing \u002F DuckDuckGo \u002F Yahoo \u002F Wikipedia \u002F Arxiv \u002F Qwant 等丰富搜索引擎，支持安全搜索模式、内容截断、图片代理、搜索可用性测试等功能。\n11. 💕 **渐进式Web应用（PWA）**：支持 PWA 应用及桌面端支持（基于 [Tauri](https:\u002F\u002Fgithub.com\u002Ftauri-apps\u002Ftauri) 的桌面应用）。\n12. 🤩 **完善的后台管理**：支持美观丰富的仪表盘、公告与通知管理、用户管理、订阅管理、礼品码与兑换码管理、定价设置、订阅配置、自定义模型市场、自定义站点名称与Logo、SMTP邮件设置等功能。\n13. 🤑 **多种计费方式**：支持 💴 **订阅制** 和 💴 **弹性计费** 两种计费模式。弹性计费支持按请求计费 \u002F 按Token计费 \u002F 不计费 \u002F 匿名调用，以及 **最低请求点数** 检测等强大功能。\n14. 🎉 **创新的模型缓存机制**：支持启用模型缓存：即在相同请求参数哈希下，若此前已请求过，则直接返回缓存结果（命中缓存不计费），从而减少请求次数。可自定义是否缓存模型、缓存时间、缓存结果数量等高级缓存设置。\n15. 🥪 **附加功能**（已停止支持）：🍎 **AI项目生成器功能** \u002F 📂 **批量文章生成功能** \u002F 🥪 **AI卡片功能**（已弃用）。\n16. 😎 **卓越的通道管理**：自研优秀通道算法，支持 ⚡ **多通道管理**，支持 🥳**优先级**设置以确定通道调用顺序，支持 🥳**权重**设置以实现同优先级通道间的负载均衡概率分布，支持 🥳**用户分组**、🥳**失败自动重试**、🥳**模型重定向**、🥳**内置上游隐藏**、🥳**通道状态管理**等强大的 **企业级功能**。\n17. ⭐ **OpenAI API 分发与代理系统**：支持以 **OpenAI API** 标准格式调用各类大模型，集成强大的通道管理功能，只需部署一个站点即可同时开展B\u002FC端业务💖。\n18. 👌 **快速上游同步**：通道设置、模型市场、价格设置等均可快速同步至上游站点，据此调整您的站点配置，快速搭建站点，省时省力，一键同步，快速上线。\n19. 👋 **SEO优化**：支持SEO优化，支持自定义站点名称、站点Logo等SEO优化设置，使搜索引擎更快抓取，让您的站点脱颖而出👋。\n20. 🎫 **多重兑换码系统**：支持多种兑换码系统，包括礼品码与兑换码，支持批量生成；礼品码适合推广发放，兑换码则适用于卡券销售。对于同一类型的礼品码，每位用户仅可兑换一次，一定程度上减少了促销活动中单个用户多次兑换的情况😀。\n21. 🥰 **商业友好型许可证**：采用 **Apache-2.0** 开源许可证，便于商业二次开发与分发（请同时遵守 Apache-2.0 许可证的相关规定，不得用于非法用途）。\n\n> ### ✨ CoAI.Dev 商业版\n>\n> ![Pro版本预览](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_readme_13a59081ce1b.png)\n>\n> - ✅ 美丽的商用级UI，优雅的前端界面与后台管理\n> - ✅ 支持TTS & STT、插件市场、RAG知识库等丰富功能与模块\n> - ✅ 更多支付提供商、更多计费模式及高级订单管理\n> - ✅ 支持更多认证方式，包括短信登录、OAuth登录等\n> - ✅ 支持模型监控、通道健康检测、故障报警与自动通道切换\n> - ✅ 支持多租户API Key分发系统、企业级Token权限管理与访客限制\n> - ✅ 支持安全审计、日志记录、模型限流、API网关等高级功能\n> - ✅ 支持促销奖励、专业数据统计、用户画像分析等商业分析能力\n> - ✅ 支持Discord\u002FTelegram\u002FFeishu等机器人集成能力（扩展模块）\n> - ...\n>\n> [👉 了解更多信息](https:\u002F\u002Fwww.coai.dev\u002Fdocs\u002Fcontact)\n\n## 🔨 支持的模型\n1. OpenAI & Azure OpenAI *(✅ 视觉 ✅ 函数调用)*\n2. Anthropic Claude *(✅ 视觉 ✅ 函数调用)*\n3. Google Gemini & PaLM2 *(✅ 视觉)*\n4. Midjourney *(✅ 模式切换 ✅ U\u002FV\u002FR 操作)*\n5. 科大讯飞 SparkDesk *(✅ 视觉 ✅ 函数调用)*\n6. 智谱 AI ChatGLM *(✅ 视觉)*\n7. 阿里云通义千问\n8. 腾讯混元\n9. 百川智能\n10. Moonshot AI (👉 OpenAI)\n11. DeepSeek AI (👉 OpenAI)\n12. 字节跳动 Skylark *(✅ 函数调用)*\n13. Groq Cloud AI\n14. OpenRouter (👉 OpenAI)\n15. 360 GPT\n16. LocalAI \u002F Ollama (👉 OpenAI)\n\n## 👻 OpenAI 兼容 API 代理\n   - [x] 对话完成 _(\u002Fv1\u002Fchat\u002Fcompletions)_\n   - [x] 图像生成 _(\u002Fv1\u002Fimages)_\n   - [x] 模型列表 _(\u002Fv1\u002Fmodels)_\n   - [x] 控制台计费 _(\u002Fv1\u002Fbilling)_\n\n\n## 📦 部署\n> [!TIP]\n> **部署成功后，管理员账号为 `root`，默认密码为 `chatnio123456`**\n\n### ✨ Zeabur (一键)\n[![在 Zeabur 上部署](https:\u002F\u002Fzeabur.com\u002Fbutton.svg)](https:\u002F\u002Fzeabur.com\u002Ftemplates\u002FM86XJI)\n\n> Zeabur 提供一定的免费配额，您可以使用非付费区域进行一键部署，同时也支持套餐订阅和弹性计费，方便灵活扩展。\n> 1. 点击 `Deploy` 进行部署，输入您希望绑定的域名，等待部署完成。\n> 2. 部署完成后，请访问您的域名，并使用用户名 `root` 和密码 `chatnio123456` 登录后台管理。请按照提示及时在 chatnio 后台更改密码。\n\n### 🐳 BTPanel (一键)\n\n1. 访问 [BTPanel](https:\u002F\u002Fwww.bt.cn\u002Fnew\u002Fdownload.html) 安装宝塔面板，使用稳定版脚本进行安装。\n2. 登录面板后，点击左侧的 **Docker** 进入 Docker 管理界面。\n3. 如果提示未安装 Docker \u002F Docker Compose，可按照上方指南进行安装。\n4. 安装完成后，进入 **应用商店**，搜索 `CoAI` 并点击 **安装**。\n5. 配置域名、端口等基础应用信息，然后点击 **确认**（也可使用默认配置）。\n6. 初次安装可能需要 1–2 分钟完成数据库初始化。如遇问题，请查看面板运行日志进行排查。\n7. 访问您配置的域名或服务器 `http:\u002F\u002F[ip]:[port]`，使用用户名 `root` 和密码 `chatnio123456` 登录后台管理。\n\n### AlibabaCloud ComputeNest (一键)\n[![在 AlibabaCloud ComputeNest 国际版上部署](https:\u002F\u002Fservice-info-public.oss-cn-hangzhou.aliyuncs.com\u002Fcomputenest-en.svg)](https:\u002F\u002Fcomputenest.console.aliyun.com\u002Fservice\u002Finstance\u002Fcreate\u002Fap-southeast-1?type=user&ServiceName=CoAI%20%20Community%20Edition)\n1. 在 [ComputeNest 国际版](https:\u002F\u002Fcomputenest.console.aliyun.com\u002Fservice\u002Finstance\u002Fcreate\u002Fap-southeast-1?type=user&ServiceName=CoAI%20%20Community%20Edition) 上访问 CoAI 服务。如果您在中国，请访问 [ComputeNest](https:\u002F\u002Fcomputenest.console.aliyun.com\u002Fservice\u002Finstance\u002Fcreate\u002Fdefault?type=user&ServiceName=CoAI社区版)，并按照提示填写部署参数。\n2. 选择支付方式，填写实例参数和网络参数，然后点击 **下一步：确认订单**。\n3. 确认部署参数并核对预估价格后，点击立即创建，等待服务实例部署完成。\n4. 在左侧点击 **服务实例**。服务实例部署完成后，点击实例 ID 进入详情界面。\n5. 在详情界面的 **立即使用** 中点击地址，即可进入 CoAI 界面。默认用户名为 `root`，密码为 `chatnio123456`，用于登录后台管理。\n6. 更多操作细节和支付信息，请参阅：[服务详情](https:\u002F\u002Fcomputenest.console.aliyun.com\u002Fservice\u002Fdetail\u002Fap-southeast-1\u002Fservice-27e11d3a5c9b40628505\u002F1?type=user&isRecommend=true)。\n\n\n### ⚡ Docker Compose 安装（推荐）\n> [!NOTE]\n> 成功运行后，宿主机映射地址为 `http:\u002F\u002Flocalhost:8000`\n\n```shell\ngit clone --depth=1 --branch=main --single-branch https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai.git\ncd chatnio\ndocker-compose up -d # 启动服务\n# 如需使用稳定版，可使用 docker-compose -f docker-compose.stable.yaml up -d\n# 如需使用 Watchtower 自动更新，可使用 docker-compose -f docker-compose.watch.yaml up -d\n```\n\n版本更新（_若已启用 Watchtower 自动更新，则无需手动更新_）：\n```shell\ndocker-compose down \ndocker-compose pull\ndocker-compose up -d\n```\n\n> - MySQL 数据库挂载目录：~\u002F**db**\n> - Redis 数据库挂载目录：~\u002F**redis**\n> - 配置文件挂载目录：~\u002F**config**\n\n### ⚡ Docker 安装（轻量级运行时，常用于外部 _MYSQL\u002FRDS_ 服务）\n> [!NOTE]\n> 成功运行后，宿主机地址为 `http:\u002F\u002Flocalhost:8094`。\n> \n> 如需使用稳定版，可将 `programzmh\u002Fchatnio:latest` 替换为 `programzmh\u002Fchatnio:stable`\n\n```shell\ndocker run -d --name chatnio \\\n   --network host \\\n   -v ~\u002Fconfig:\u002Fconfig \\\n   -v ~\u002Flogs:\u002Flogs \\\n   -v ~\u002Fstorage:\u002Fstorage \\\n   -e MYSQL_HOST=localhost \\\n   -e MYSQL_PORT=3306 \\\n   -e MYSQL_DB=chatnio \\\n   -e MYSQL_USER=root \\\n   -e MYSQL_PASSWORD=chatnio123456 \\\n   -e REDIS_HOST=localhost \\\n   -e REDIS_PORT=6379 \\\n   -e SECRET=secret \\\n   -e SERVE_STATIC=true \\\n   programzmh\u002Fchatnio:latest\n```\n\n> - *--network host* 表示使用宿主机网络，使 Docker 容器能够共享宿主机网络。可根据需要调整。\n> - SECRET：JWT 密钥，需生成随机字符串并相应修改。\n> - SERVE_STATIC：是否启用静态文件服务（通常无需更改，详情请参阅下方 FAQ）。\n> - *-v ~\u002Fconfig:\u002Fconfig* 挂载配置文件，*-v ~\u002Flogs:\u002Flogs* 挂载宿主机日志目录，*-v ~\u002Fstorage:\u002Fstorage* 挂载用于存储额外功能生成文件的目录。\n> - MySQL 和 Redis 服务需提前配置。请参考上述信息，相应修改环境变量。\n\n版本更新（_启用 Watchtower 后无需手动更新。执行完毕后，按上述步骤重新运行_）：\n\n```shell\ndocker stop chatnio\ndocker rm chatnio\ndocker pull programzmh\u002Fchatnio:latest\n```\n\n### ⚒ 编译与安装\n\n> [!NOTE]\n> 部署成功后，默认端口为 **8094**，访问地址为 `http:\u002F\u002Flocalhost:8094`\n> \n> 配置设置（~\u002Fconfig\u002F**config.yaml**）可通过环境变量覆盖。例如，`MYSQL_HOST` 环境变量可以覆盖 `mysql.host` 配置项。\n\n```shell\ngit clone https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai.git\ncd chatnio\n\ncd app\nnpm install -g pnpm\npnpm install\npnpm build\n\ncd ..\ngo build -o chatnio\n\n# 例如使用 nohup（你也可以使用 systemd 或其他服务管理器）\nnohup .\u002Fchatnio > output.log & # 使用 nohup 在后台运行\n```\n\n## 📦 技术栈\n\n- 🥗 前端：React + Redux + Radix UI + Tailwind CSS\n- 🍎 后端：Golang + Gin + Redis + MySQL\n- 🍒 应用技术：PWA + WebSocket\n\n## 🤯 为什么创建这个项目及项目优势\n\n- 我们发现市面上大多数 AIGC 商业站点都是以前端为主的轻量级部署项目，拥有精美的 UI 界面设计，比如 [Next Chat](https:\u002F\u002Fgithub.com\u002FChatGPTNextWeb\u002FChatGPT-Next-Web) 的商业版本。由于其面向个人私有化的定位，在二次商业化开发上存在一些局限性，主要体现在以下几个方面：\n  1. **对话同步困难**，例如需要依赖 WebDav 等服务，用户学习成本高，难以实现跨设备的实时同步。\n  2. **计费方式不足**，比如仅支持弹性计费或单一的订阅模式，无法满足不同用户的需求。\n  3. **文件解析不便**，例如只能先将文件上传至图床，再回到网站中将 URL 直链填入输入框，缺乏内置的文件解析功能。\n  4. **不支持对话 URL 分享**，例如仅能分享对话截图，无法直接生成对话链接进行分享（或者仅依赖 ShareGPT 等工具，难以有效推广站点）。\n  5. **渠道管理不足**，例如后端仅支持 OpenAI 格式的模型通道，难以兼容其他格式的模型；且只能配置单个通道，无法实现多渠道管理。\n  6. **不支持 API 调用**，例如仅提供用户界面调用，无法实现 API 代理与管理功能。\n\n- 另一类则是以 API 分发为核心的站点，具备强大的分发系统，比如基于 [One API](https:\u002F\u002Fgithub.com\u002Fsongquanpeng\u002Fone-api) 的项目。尽管这些项目能够支持强大的 API 代理与管理功能，但在界面设计和部分 C 端特性上却有所欠缺，具体表现为：\n  1. **用户界面不足**，例如仅提供 API 调用接口，没有内置的用户聊天界面。用户若需进行对话，必须手动复制密钥并跳转到其他平台使用，对于普通用户而言学习成本较高。\n  2. **缺乏订阅体系**，例如仅支持弹性计费，缺少针对 C 端用户的计费设计，无法满足多样化需求，且在无基础付费习惯的用户群体中，成本感知不够友好。\n  3. **C 端功能不足**，例如仅支持 API 调用，而不具备对话同步、对话分享、文件解析等功能。\n  4. **负载均衡能力有限**，开源版本不支持 **weight** 参数，无法实现同优先级通道之间的概率性负载均衡（[New API](https:\u002F\u002Fgithub.com\u002FCalcium-Ion\u002Fnew-api) 则解决了这一痛点，并提供了更为美观的 UI）。\n\n因此，我们希望结合这两类项目的优点，打造一个既拥有强大 API 分发系统，又具备丰富用户界面设计的项目，从而在满足 C 端用户需求的同时拓展 B 端业务，提升用户体验、降低用户学习成本，并增强用户粘性。\n\n于是，**CoAI.Dev** 应运而生。我们致力于构建一个兼具强大 API 分发能力和丰富用户界面设计的项目，使其成为下一代开源 AIGC 项目的全栈商业解决方案。\n\n\n## ❤ 捐赠\n\n如果你觉得这个项目对你有帮助，请为它点亮一颗 Star，以表达你的支持吧！","# CoAI 快速上手指南\n\nCoAI (CoAI.Dev) 是一款下一代 AIGC 一站式商业解决方案，集成了多模型支持、精美的 UI 设计、完整的后台管理及 OpenAI 兼容的 API 分发系统。它结合了 Next Web 的前端体验与 One API 的后端管理能力，适合个人开发者及企业快速搭建 AI 服务平台。\n\n## 环境准备\n\n在部署前，请确保您的服务器或本地环境满足以下要求：\n\n*   **操作系统**：Linux (推荐 Ubuntu\u002FCentOS), macOS, 或 Windows (需安装 Docker Desktop)。\n*   **核心依赖**：\n    *   [Docker](https:\u002F\u002Fdocs.docker.com\u002Fget-docker\u002F) (版本 20.10+)\n    *   [Docker Compose](https:\u002F\u002Fdocs.docker.com\u002Fcompose\u002Finstall\u002F) (通常随 Docker 桌面版自带，Linux 需单独安装)\n*   **网络要求**：服务器需能访问外网以拉取镜像及连接上游模型服务商（如 OpenAI, Anthropic 等）。国内用户建议配置好代理或使用支持国内模型的渠道。\n*   **硬件建议**：至少 1GB 可用内存，20GB 磁盘空间（若开启本地缓存或文件解析功能，建议更多）。\n\n## 安装步骤\n\n推荐使用 **Docker Compose** 方式进行部署，简单且易于维护。\n\n### 1. 克隆项目代码\n\n使用以下命令从 GitHub 拉取最新代码：\n\n```shell\ngit clone --depth=1 --branch=main --single-branch https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai.git\ncd coai\n# 注意：原 README 中目录名为 chatnio，实际克隆后请根据文件夹名称调整，通常为 coai\n# 如果克隆后文件夹名为 chatnio，请执行: cd chatnio\n```\n\n### 2. 启动服务\n\n在项目根目录下运行以下命令启动服务（默认使用最新版）：\n\n```shell\ndocker-compose up -d\n```\n\n> **提示**：\n> *   若需使用**稳定版**，请运行：`docker-compose -f docker-compose.stable.yaml up -d`\n> *   若需开启**自动更新** (Watchtower)，请运行：`docker-compose -f docker-compose.watch.yaml up -d`\n\n### 3. 验证部署\n\n服务启动后，默认映射地址为 `http:\u002F\u002Flocalhost:8000`。\n*   **本地访问**：在浏览器打开 `http:\u002F\u002Flocalhost:8000`\n*   **服务器访问**：将 `localhost` 替换为您的服务器 IP 或绑定的域名，即 `http:\u002F\u002F[IP]:8000`\n\n### 4. 登录后台\n\n首次部署完成后，使用默认管理员账号登录后台管理系统进行配置：\n\n*   **用户名**：`root`\n*   **密码**：`chatnio123456`\n\n> ⚠️ **安全警告**：登录成功后，请务必第一时间在后台修改默认密码，以确保系统安全。\n\n## 基本使用\n\n登录后台后，您可以按照以下流程快速开始使用：\n\n1.  **配置模型渠道 (Channel)**\n    *   进入后台管理面板，找到“渠道管理”或\"Channel Management\"。\n    *   添加您的模型提供商密钥（如 OpenAI API Key, Azure Key, 或国内的大模型密钥）。\n    *   CoAI 支持自动负载均衡和故障重试，可配置多个渠道以提高稳定性。\n\n2.  **设置模型市场 (Model Market)**\n    *   在“模型管理”中启用您希望用户使用的模型（如 GPT-4, Claude 3, Midjourney 等）。\n    *   可自定义模型的介绍、标签及定价策略（支持订阅制或按量计费）。\n\n3.  **前端体验**\n    *   返回网站首页，即可像使用普通聊天机器人一样进行对话。\n    *   支持上传文件（PDF\u002FWord 等）、生成图片（DALL-E\u002FMidjourney）、联网搜索及渲染数学公式和思维导图。\n\n4.  **API 对接 (可选)**\n    *   如果您需要将 CoAI 作为 API 网关供其他应用调用，可直接使用标准的 OpenAI 接口格式。\n    *   **接口地址**：`http:\u002F\u002F[您的域名]\u002Fv1\u002Fchat\u002Fcompletions`\n    *   **API Key**：在后台为用户创建或在系统设置中获取。\n\n至此，您已成功搭建并初步配置了 CoAI 平台。更多高级功能（如支付配置、SEO 优化、多租户管理）可在后台详细探索。","某中型 SaaS 创业团队计划面向全球用户推出集成多种大模型的 AI 写作助手，需解决多模型接入、计费系统及跨设备同步等复杂需求。\n\n### 没有 coai 时\n- **开发周期漫长**：团队需分别对接 OpenAI、Anthropic 等十几个供应商接口，并自行开发后台管理系统，耗时数月仍难以稳定上线。\n- **计费逻辑缺失**：缺乏内置的订阅与按量计费系统，无法灵活设置代币扣除规则或处理匿名调用，导致商业化变现受阻。\n- **体验割裂严重**：用户在不同设备间切换时对话记录无法同步，且不支持文件解析（如 PDF\u002FWord）和联网搜索，功能单一且操作繁琐。\n- **运维成本高昂**：需额外部署 WebDav 或配置复杂的负载均衡策略来维持服务稳定性，技术门槛高且维护困难。\n\n### 使用 coai 后\n- **一站式快速部署**：利用 coai 内置的 200+ 模型网关和管理后台，团队仅需一次部署即可统一管理所有模型供应商，上线时间缩短至数天。\n- **灵活商业变现**：直接启用 coai 的订阅制与弹性计费功能，轻松配置按请求或 Token 扣费规则，并支持礼品码管理，立即开启盈利模式。\n- **全能用户体验**：用户享受零成本的跨设备云同步，直接在对话框上传文档进行解析或利用 SearXNG 引擎进行全网搜索，交互流畅自然。\n- **企业级稳定架构**：依托 coai 自带的优先级路由负载均衡与模型缓存机制，系统自动优化流量分配，无需额外运维即可保障高并发下的稳定性。\n\ncoai 将原本需要数月构建的复杂 AI 中台能力浓缩为开箱即用的解决方案，让团队能专注于核心业务创新而非重复造轮子。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fcoaidev_coai_13a59081.png","coaidev","CoAI.Dev","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fcoaidev_a52bc9d2.png","Empowering Your Team to Accelerate Growth through CoAI.",null,"coai@coai.dev","https:\u002F\u002Fcoai.dev","https:\u002F\u002Fgithub.com\u002Fcoaidev",[82,86,90,94,98,102,106,110],{"name":83,"color":84,"percentage":85},"TypeScript","#3178c6",57.5,{"name":87,"color":88,"percentage":89},"Go","#00ADD8",30.1,{"name":91,"color":92,"percentage":93},"Less","#1d365d",10.9,{"name":95,"color":96,"percentage":97},"JavaScript","#f1e05a",0.6,{"name":99,"color":100,"percentage":101},"PHP","#4F5D95",0.5,{"name":103,"color":104,"percentage":105},"HTML","#e34c26",0.3,{"name":107,"color":108,"percentage":109},"Dockerfile","#384d54",0.1,{"name":111,"color":112,"percentage":113},"Rust","#dea584",0,9081,1202,"2026-04-17T14:14:54","Apache-2.0","Linux, macOS, Windows","未说明",{"notes":121,"python":119,"dependencies":122},"该项目主要通过 Docker 或 Docker Compose 进行部署，支持 Zeabur、宝塔面板 (BTPanel) 和阿里云 ComputeNest 一键部署。默认管理员账号为 root，密码为 chatnio123456。项目本身作为 API 代理和管理平台，不直接运行大型本地模型（依赖外部 API 或 LocalAI\u002FOllama 等服务），因此对本地 GPU 和 Python 环境无特殊硬性要求，只需宿主机支持 Docker 即可。",[123,124],"Docker","Docker Compose",[37,27,16],[127,128,129,130,131,132,133,134,135,136,137],"chatgpt","golang","react","api","chat","cross-platform","gemini","openai","proxy","ai-gateway","llm-gateway","2026-03-27T02:49:30.150509","2026-04-18T22:35:17.583890",[],[142,147,152,157,162,167,172,177,182,187,192,197,202,207,212],{"id":143,"version":144,"summary_zh":145,"released_at":146},324497,"v4.0.0","# CoAI v4.0.0 发行说明\n\n我们很高兴地宣布 **CoAI v4.0.0** 的正式发布！这是一次重要的里程碑式更新，重点在于后端管理系统的重构以及核心数据分析能力的增强，同时还包含了社区贡献的众多新功能和问题修复。\n\n## 🚀 亮点\n\n### 📊 全面的数据分析能力\n\n本次更新引入了一个全新的后端数据分析模块，将统计粒度从每日提升至 **分钟级**，为运营和管理提供更精细、更实时的洞察。\n\n- **分钟级实时统计**：新增了模型请求量（RPM - 每分钟请求数）和 Token 使用量（TPM - 每分钟 Token 数）的分钟级统计，支持对单个用户及全局系统的实时监控。\n- **扩展的计费与请求统计**：新增了用于获取昨日和上月计费数据的 API，以及错误请求和总请求的统计接口，确保数据覆盖更加全面。\n\n### 🏗 管理模块重构\n\n为了支持未来的功能扩展并提升代码质量，我们对核心 Go 后端的 `admin\u002Fanalysis` 模块进行了彻底的模块化重构。\n\n- **优化代码结构**：将原有的 `admin\u002Fanalysis.go` 文件拆分为多个文件，包括 `analysis.go`、`format.go`、`statistic.go` 和 `reflect.go`。这种关注点分离显著提升了代码的 **可维护性** 和 **可读性**。\n\n### ✨ 新功能与改进\n\n- **Skylark 集成**：合并了 Skylark 相关的功能（PR #328），进一步扩展了平台的能力。\n- **数学公式渲染**：为 Markdown 组件增加了数学预处理功能，能够更好地显示和渲染复杂的数学表达式。\n- **主题切换优化**：优化了主题切换的显示逻辑，提升了用户体验。\n- **开发环境配置**：更新了 `docker-compose.watch.yaml`，以优化开发和调试环境的配置。\n\n### 🐞 重要修复\n\n- **聊天内容显示修复**：修复了当消息包含 `reasoning_content` 时，用户无法查看回答内容的问题。\n- **思考框显示修复**：修复了由于 `overflow-hidden` 属性导致“思考框”中文字溢出且无法正确显示的问题。\n\n## 详细变更\n\n| 类型 | 模块 | 描述 | PR |\n| :--- | :--- | :--- | :--- |\n| **功能** | Admin\u002FAnalysis | 新增了如 `GetTpmToday` 和 `GetRpmToday` 等实时统计 API。 | - |\n| **功能** | Admin\u002FAnalysis | 新增了 `GetBillingYesterday` 和 `GetBillingLastMonth` API。 | - |\n| **功能** | Core | 合并了 Skylark 相关的功能。 | #330 |\n| **功能** | Frontend | 为 Markdown 组件添加了数学预处理功能。 | #335 |\n| **重构** | Admin\u002FAnalysis | 将 `admin\u002Fanalysis.go` 拆分为 `analysis.go`、`format.go`、`statist","2025-10-23T12:31:06",{"id":148,"version":149,"summary_zh":150,"released_at":151},324498,"v3.11.1","## 变更内容\n* 修复 macOS 下回车发送消息的问题，由 @yongman 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F151 中完成\n* 适配 Claude 系统消息，由 @Lavanille777 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F152 中完成\n* 修复：跳过第一条 Claude 系统消息，由 @Lavanille777 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F154 中完成\n* 支持 MySQL TLS 连接，由 @navee 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F168 中完成\n* 新特性：支持模型 `gpt-4o` 和 `gpt-4o-2024-05-13`，由 @XiaomaiTX 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F196 中完成\n* 新特性：新增 `gpt-4-turbo`、`gemini-1.5-pro-latest`、`gemini-1.5-flash-latest` 模型，由 @XiaomaiTX 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F198 中完成\n* 修复：移除重复的配额刷新间隔，由 @eddsi 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F180 中完成\n* 错误报告：撤销 PR #180“修复：移除重复的配额刷新间隔”，由 @zmh-program 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F203 中完成\n* 杂项：根据不同的设备类型定义发送默认值（#204），由 @Sh1n3zZ 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F211 中完成\n* 杂项：同步来自 `main` 分支的更新，由 @Sh1n3zZ 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F212 中完成\n* 新特性：SMTP 兼容性增强及 SSL 协议支持（#174），由 @Sh1n3zZ 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F213 中完成\n* 杂项：兼容预先修改的 SMTP 发送方式（#174），由 @Sh1n3zZ 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F214 中完成\n* 修复：修复强制关机时网络错误的使用问题，由 @XiaomaiTX 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F223 中完成\n* 新特性：支持最新的 OpenAI 模型 `chatgpt-4o-latest`，由 @PeterDaveHello 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F245 中完成\n* 简化 Dockerfile 中的 APK 升级流程，由 @PeterDaveHello 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F246 中完成\n* 添加基础的繁体中文 i18n 本地化，由 @PeterDaveHello 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F244 中完成\n* 新特性：支持 Spark Desk 新模型，由 @mercury7720 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F253 中完成\n* 功能：新增阿里云计算巢一键部署按钮，由 @workhardliuzheng 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F283 中完成\n* 修复：SMTP STARTTLS 兼容性问题，由 @Ogannesson 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F292 中完成\n* 修复 SMTP 兼容性问题以支持 Office365 服务提供商，由 @zmh-program 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F301 中完成\n* 修复：Watchtower 重试导致服务崩溃的问题，由 @zmh-program 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F309 中完成\n\n## 新贡献者\n* @yongman 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F151 中完成了首次贡献\n* @Lavanille777 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F152 中完成了首次贡献\n* @navee 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F168 中完成了首次贡献\n* @XiaomaiTX 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F196 中完成了首次贡献\n* @eddsi 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F180 中完成了首次贡献\n* @PeterDaveHello 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai\u002Fpull\u002F245 中完成了首次贡献\n* @mercury7720 在 https:\u002F\u002Fgithub.com\u002Fcoaidev\u002Fcoai 中完成了首次贡献","2025-01-20T05:41:39",{"id":153,"version":154,"summary_zh":155,"released_at":156},324499,"v3.10","## v3.10\n- 功能：支持非强制 SMTP 发件注册 ([#42](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F42))\n- 功能：支持编辑和删除消息 ([#51](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F51))\n- 功能：更新文件上传器，并在聊天输入框中新增 Ctrl+V 粘贴图片并自动复制的功能 (#61)\n- 功能：支持上传文件查看 (#61)\n- 功能：支持自定义温度、TopP、TopK 等参数 (#61)\n- 功能：在用户表中新增 `is_banned` 字段，支持封禁和解封用户 (#61)\n- 功能：在管理员用户管理界面中，支持更新用户密码、邮箱，设置点数、订阅等级以及释放订阅用量 (#61)\n- 功能：支持 Midjourney 的 U（放大）、V（变化）、R（重绘）操作 ([#40](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F40))\n- 功能：隐藏报错的模型密钥 ([#67](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F67))\n- 功能：支持无限订阅配额（将配额设置为 -1） \n- 功能：支持自定义文章\u002F项目生成器的使用分组 \n- 功能：支持模型缓存功能 \n- 功能：支持关闭注册 ([#72](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F72)) \n- 功能：支持在分享页面中生成并保存图片 \n- 功能：中转支持 Function Calling \n- 功能：后台仪表盘图表优化：使用 Tremor 替代 React ChartJs \n- 功能：优化分享功能，新增移动端适配，并支持全屏与最小化显示功能 \n- 功能：支持自定义预设编辑 ([#76](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F76))\n- 重构：重构前端对话运行时及状态管理，并进行性能优化 (#82)\n- 功能：支持重命名对话，为 Claude-3 系列模型添加视觉能力，并修复高上下文内容仍被自动截断的问题 ([#83](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F83))\n- 修复：避免 Base64 格式的图片因过长而被自动截断的问题 \n- 功能：优化对话滚动区域及消息操作 \n- 修复：修复订阅时间指针为空的异常问题 ([#90](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F90)) \n- 修复：解决发送键无法正常工作的问题 ([#87](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F87))\n- 功能：使订阅等级表述更易读 ([#86](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F86))\n- 功能：针对自定义网站名称和 Logo 进行 SEO 优化 ([#91](https:\u002F\u002Fgithub.com\u002FDeeptrain-Community\u002Fchatnio\u002Fissues\u002F91))\n- 功能：站点通知支持 Markdown\u002FHTML 格式 \n- 修复：修复预设在发送后消失的问题","2024-03-10T06:09:33",{"id":158,"version":159,"summary_zh":160,"released_at":161},324500,"v3.9","## v3.9\n- 支持用户初始积分设置 (#41)\n- 支持站点公告 (#49) 滚动查看 (#57) 及手动翻阅 (#58)\n- 支持渠道管理对接上游 (#52)\n- 支持模型市场同步上游 (#50)\n- 支持计费规则同步上游（可选择是否覆盖已有规则）(#39)\n- 支持注册域名邮箱白名单 (#53)\n- 支持购买链接（发卡链接）自定义 (#54)\n- 支持用户类型占比图表和模型使用图表 (#59)\n- 优化 Docker 容器大小（多阶段构建）和 ARM64 架构兼容（BuildX）(#37)\n","2024-01-25T09:06:05",{"id":163,"version":164,"summary_zh":165,"released_at":166},324501,"v3.8","## 3.8\n- ⭐ 新增模型市场（支持自定义设置模型名、模型请求 ID、简介、标签、模型图像及参数；支持拖拽调整顺序，实现增删改查操作；自动绑定计费设置，并自动同步更新）\n- ⭐ 新增订阅管理（可配置是否开启订阅、订阅价格、订阅物品 ID、显示名称、次数配额；支持勾选模型——自动绑定渠道已设置的模型和常见模型列表；提供图标列表，支持上下移动，并可导入已设置的物品类型）\n- ⭐ 新增服务日志（控制台查看、历史日志文件下载与查看功能；支持日志切片及定时清理，默认保留30天）\n- 支持重置 API Key 功能\n- 支持上传图片预览功能\n- 优化移动端管理页面 UI\n- 支持自定义文档地址\n- 支持自定义文件解析服务","2024-01-18T15:50:23",{"id":168,"version":169,"summary_zh":170,"released_at":171},324502,"v3.7","## 3.7\n- ⭐ 支持一体化模式（当前可选 Deeptrain 模式——微信支付宝官方支付方式，以及一体化模式——发卡支付模式）\n- ⭐ 支持渠道管理功能（优先级、权重、用户分组、模型映射、最大重试次数、接入点设置等）\n- ⭐ 支持 DuckDuckGo API 快速联网搜索功能（未设置时使用较慢的 Bing \u002F WebPilot 搜索逆向）\n- ⭐ 支持自定义计费设置（支持按 Token 计费、按次计费、不计费，以及是否支持匿名调用等）\n- ⭐ 支持模型市场中模型的拖拽放置，并可自定义偏好模型顺序\n- ⭐ 新增后台系统设置（SMTP 发件、联网设置、自定义网站名称、网站 Logo 等）\n- 更新偏好设置页面（新增自定义发送键、最大历史会话数、语言设置）\n- 新增日语语言适配\n- 新增 Azure、Gemini 格式\n- 增加鲁棒性响应截获","2024-01-04T06:30:31",{"id":173,"version":174,"summary_zh":175,"released_at":176},324503,"v3.6","## 3.6\n- 新增后台管理（仪表盘、用户设置、兑换码、公告设置等）\n- 新增偏好设置\n- 新增模型市场\n- 新增预设功能\n- 新增公告功能\n- 新增订阅分层\n- 新增批量文章生成功能\n- 新增 GPT-4 Vision（*gpt-4-vision-preview*）适配及图像 Token 计费\n- 新增 Function Calling 适配\n- 新增 DALL·E-3 模型\n- 新增通义千问模型\n- 新增 ChatGLM3 Turbo 模型\n- 新增腾讯混元模型\n- 新增 360 智脑模型\n- 新增 百川AI 模型\n- 新增 抖音豆包模型\n- 新增 Stable Diffusion XL、LLaMA2、Code LLaMA 等 LocalLLM 模型\n- 新增 Midjourney 模型（适配 Relax、Fast、Turbo 模式）\n- 更新文件上传功能（支持文本、PDF、PPTX、DOCX、XLSX、图片等多种格式）\n- 更新命令行操作\n- 优化兼容层重试\u002F均衡负载机制\n- 优化停止操作\n- 优化文本输入和功能操作区\n- 优化 Markdown 大文本渲染性能\n- 修复订阅配额在请求报错时仍然计算的问题\n- 修复滚动反弹问题\n- 修复 Safari 伸缩幅度过大问题\n- 修复 Key 中转 Stream 流格式问题\n- 删除 Service Worker 缓存机制（*因其在多数内核较老的浏览器中存在诸多问题，包括 PWA 自动更新等的兼容性问题较大*）\n- 支持桌面端 APP（基于 Tauri）","2023-11-28T04:39:29",{"id":178,"version":179,"summary_zh":180,"released_at":181},324504,"v3.5","## 3.5\n\n- 浏览器兼容性适配\n- 更新模型选择器（标签，移动端适配）\n- 分享对话管理功能\n- 增加一键删除全部对话功能\n- 修整冗余代码，更新前端广播触发策略\n- 修复 Redux Dispatch 渲染上屏问题\n- 修复 ChatGPT、Claude 卡字漏字问题\n- 增加保留历史对话的使用模型功能\n- 增加邀请码功能\n- 增加侧边栏用户区域\n- 更新缓存策略\n- 更新 SSE 接收策略，提升并发速度\n- 修复移动端提示通知无法自动消失问题\n- 修复移动端重叠选择器重复触发问题\n- 增加 Markdown XLink 功能\n- 增加代码复制功能，以及右键区域复制功能\n- 修复 Service Worker Manifest 被缓存而无法及时 PWA 更新的问题\n- 增加订阅使用量情况信息显示\n- 增加版本号显示和 PWA 自动安装到桌面功能（浏览器实验功能）\n- 增加 Safari 浏览器支持\n- 增加更便捷的移动端新建对话动作\n- 更新 Claude 100k 用户配额策略\n- 增加未发送输入框消息复原功能（防止误触刷新，pwa更新在某些浏览器上会强制刷新问题）\n- 增加脚手架操作功能\n- 增加 GPT-3.5 账号池自动筛选 Key 功能","2023-10-29T13:15:33",{"id":183,"version":184,"summary_zh":185,"released_at":186},324505,"v3.4","## 3.4\n\n1. 对话分享功能  \n2. 模型选择器更新  \n3. 实现 **停止**、**重新询问** 等操作  \n4. 增加对 *Chromium 66 ~ 84* 的浏览器适配","2023-10-22T01:24:48",{"id":188,"version":189,"summary_zh":190,"released_at":191},324506,"v3.3","## 3.3\n1. Key 中转服务\n2. Service Worker 自动更新功能\n3. Markdown 编辑器\n4. 新增模型适配：\n  - New Bing（不稳定）\n    - 创意模式\n    - 平衡模式\n    - 精准模式\n","2023-10-05T13:36:19",{"id":193,"version":194,"summary_zh":195,"released_at":196},324507,"v3.2","## 3.2\r\n新增模型适配：\r\n- PaLM2\r\n- Anthropic Claude\r\n  -  Claude 2\r\n  - Claude 2 100k\r\n","2023-10-01T23:50:05",{"id":198,"version":199,"summary_zh":200,"released_at":201},324508,"v3.1","## 3.1\r\n新增模型适配：\r\n- Claude Slack\r\n- SparkDesk 讯飞星火大模型\r\n  - v1.5\r\n  - v2.0","2023-09-30T03:22:44",{"id":203,"version":204,"summary_zh":205,"released_at":206},324509,"v3.0","## v3\r\nGolang 后端重构\r\n- Adapter 适配层\r\n- Websocket 协程 提升并发\r\n- API 规范\r\n- 接口并发数限制\r\n- 缓存机制\r\n- Tiktoken 权重计费\r\n","2023-09-29T15:03:30",{"id":208,"version":209,"summary_zh":210,"released_at":211},324510,"v2.1","## v2.1\r\n\r\n- GPT-4 Token 计费系统\r\n- PWA 应用\r\n- 移动端适配更新\r\n","2023-09-08T05:41:54",{"id":213,"version":214,"summary_zh":215,"released_at":216},324511,"v2.0","## v2.0\r\n使用 react + tailwind css + redux 重构\r\n- 更好的渲染性能和首屏加载时间\r\n- IE9 支持\r\n- 动画更新\r\n- 国际化\r\n- Markdown 渲染性能提升\r\n- 明暗主题切换\r\n- 使用 Redux 维持状态生命周期\r\n- 后端 http2 stream 多路复用","2023-09-06T05:31:45"]