[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-GPTGenius--chatgpt-vercel":3,"tool-GPTGenius--chatgpt-vercel":64},[4,17,27,35,43,56],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,3,"2026-04-05T11:01:52",[13,14,15],"开发框架","图像","Agent","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":23,"last_commit_at":24,"category_tags":25,"status":16},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 真正成长为懂上",138956,2,"2026-04-05T11:33:21",[13,15,26],"语言模型",{"id":28,"name":29,"github_repo":30,"description_zh":31,"stars":32,"difficulty_score":23,"last_commit_at":33,"category_tags":34,"status":16},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[13,14,15],{"id":36,"name":37,"github_repo":38,"description_zh":39,"stars":40,"difficulty_score":23,"last_commit_at":41,"category_tags":42,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,26],{"id":44,"name":45,"github_repo":46,"description_zh":47,"stars":48,"difficulty_score":23,"last_commit_at":49,"category_tags":50,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[14,51,52,53,15,54,26,13,55],"数据工具","视频","插件","其他","音频",{"id":57,"name":58,"github_repo":59,"description_zh":60,"stars":61,"difficulty_score":10,"last_commit_at":62,"category_tags":63,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[15,14,13,26,54],{"id":65,"github_repo":66,"name":67,"description_en":68,"description_zh":69,"ai_summary_zh":69,"readme_en":70,"readme_zh":71,"quickstart_zh":72,"use_case_zh":73,"hero_image_url":74,"owner_login":75,"owner_name":76,"owner_avatar_url":77,"owner_bio":78,"owner_company":79,"owner_location":79,"owner_email":79,"owner_twitter":79,"owner_website":80,"owner_url":81,"languages":82,"stars":99,"forks":100,"last_commit_at":101,"license":102,"difficulty_score":23,"env_os":103,"env_gpu":104,"env_ram":103,"env_deps":105,"category_tags":110,"github_topics":111,"view_count":10,"oss_zip_url":79,"oss_zip_packed_at":79,"status":16,"created_at":120,"updated_at":121,"faqs":122,"releases":153},463,"GPTGenius\u002Fchatgpt-vercel","chatgpt-vercel","Create a private chatgpt website via vercel","chatgpt-vercel 是一个基于 Vercel 的开源工具，允许用户通过一键操作快速搭建私有化的 ChatGPT 网站。它整合了 OpenAI 的 GPT-4\u002F3.5 文本模型和 DALL-E\u002FMidjourney 图像生成模型，支持在同一平台进行连续文本对话与图像创作，同时提供多语言切换、本地聊天记录保存等功能。\n\n这个工具解决了传统部署 AI 应用的复杂性问题——无需编写代码或配置服务器，用户即可获得完整的对话界面。对于需要快速验证 AI 应用场景的开发者，或希望拥有专属对话机器人的普通用户，它提供了从部署到使用的完整解决方案。特别适合对 AI 技术感兴趣但缺乏开发经验的用户群体，以及需要将 AI 能力嵌入自有系统的设计师或研究人员。\n\n其技术亮点在于将 Vercel 的无服务器架构与 OpenAI API 深度结合，实现零成本部署。支持通过预设提示词库定制 AI 行为，且图像生成功能兼容 Discord 的 Midjourney 模型。用户可通过在线演示直接体验，或通过设置 OPENAI_API_KEY 快速私有化部署。","![](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FGPTGenius_chatgpt-vercel_readme_61dd8230ba46.png)\n\n\u003Ch2 align=\"center\">ChatGPT-Vercel\u003C\u002Fh2>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Ftags\">\n    \u003Cimg alt=\"GitHub tag (latest by date)\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FGPTGenius\u002Fchatgpt-vercel\">\n  \u003C\u002Fa>\n  \u003Cimg alt=\"node-current (scoped)\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnode\u002Fv\u002Freplicate-fetch\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fblob\u002Fmain\u002FLICENSE\">\n    \u003Cimg alt=\"license\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002FGPTGenius\u002Fchatgpt-vercel\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\nEnglish | [简体中文](.\u002FREADME.zh-CN.md)\n\n## Introduction\nCreate a private ChatGPT website with one-click for free using Vercel, support muti **text** \u002F **images generation** conversations. Powered by OpenAI API GPT-4\u002F3.5 and Vercel.\n\n## Features\n- ⚡ Deploy quickly and for free using Vercel\n- 💬 Text conversation with the ability to switch models and set context length\n- 🎨 Image generation conversation supports the `DALL-E` and `Midjourney` models. It also allows for the adjustment of image size and count.\n- 🌈 Multiple preset prompts added to customize AI behavior\n- 🌏 Switch between various languages, currently supporting Simplified Chinese and English\n- 💭 Local chat history saved with search, import and export functionality\n\n## Live Demo\n- [chatgpt-vercel-sample](https:\u002F\u002Fchatgpt-vercel-sample.vercel.app\u002F)\n- [chatgpt-vercel-zh-sample](https:\u002F\u002Fchatgpt-vercel-zh-sample.vercel.app\u002F)\n\n## User Guide\nYou can access the online demo above or deploy it privately for experience.\n\n### Conversation\nClick the icon at the top left to add a conversation, which has two types:\n- Text conversation:\n  - The model is switchable, [supported models](https:\u002F\u002Fplatform.openai.com\u002Fdocs\u002Fmodels\u002Fmodel-endpoint-compatibility)\n  - By default, it is a continuous conversation, and each sending will carry part of context.\n  - Supports adding preset prompts, type `\u002F` or click the button at the bottom left to add.\n  - Supports model configuration, click the settings icon at the top right to configure.\n- Image generation conversation:\n  - The model is switchable, supports the OpenAI `DALL·E` model and `Midjourney` \n  - Does not support continuous conversation, and each sending will not carry the context.\n  - Directly input the image effect you want, for example: `a cat`.\n  - For model `DALL-E`, expend `OpenAI` tokens. The effective access time for the image link is `2` hours. Please make sure to save it in time if necessary.\n  - For model `Midjourney`, depending on the `Discord` configurations, image generation may take a while, with a default timeout of `5` minutes. Please be patient and wait.\n\n### History record\nWhen `Save all conversations` is enabled in the global settings, it will be saved to local cache. By default, it will not be saved.\n\n### Operation\n- Press `Enter` to send\n- Press `Shift`+`Enter` to line break\n- Enter `\u002F` to add preset prompts, and searching is also supported.\n\n### All settings\nsee [Configurations](#Configurations)\n\n## Getting Started\n\n### 1. Create Project\nCreate Vercel project from a github forked project(recommand) or the following **Deploy** button.\n\n[![Deploy with Vercel](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FGPTGenius_chatgpt-vercel_readme_a4c0f8073a9c.png)](https:\u002F\u002Fvercel.com\u002Fnew\u002Fclone?repository-url=https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel&env=OPENAI_API_KEY)\n\n### 2. Set OPENAI_API_KEY\nThere are three ways to set your OpenAI API Key:\n- Set Vercel Environment Variables **OPENAI_API_KEY**\n- Rename your `.env.expample` file to `.env` and set **OPENAI_API_KEY**\n- Set **OPENAI_API_KEY** within the page\n\n> Attention: For Vercel, all environment variables need to be redeployed to take effect.\n\n### 3. Set Midjourney (optional)\nIf you want to use the AI drawing feature of `Midjourney`, you can configure the relevant `Discord` settings , including the following fields:\n- `DISCORD_SERVER_ID`\n- `DISCORD_CHANNEL_ID`\n- `DISCORD_TOKEN`\n\nHow to get ids and token:\n- [How to find ids](https:\u002F\u002Fdocs.statbot.net\u002Fdocs\u002Ffaq\u002Fgeneral\u002Fhow-find-id\u002F)\n- [Get discord token](https:\u002F\u002Fwww.androidauthority.com\u002Fget-discord-token-3149920\u002F)\n\nYou can visit [midjourney-cookbook](https:\u002F\u002Fgptgenius.github.io\u002Fmidjourney-cookbook\u002F) to get some samples about `Midjourney` prompts.\n\n### 4. Keep code synchronized (optional)\nsee [Sync Fork](docs\u002Fsync.md)\n\n## Other deployment methods\nRun `pnpm build` and `pnpm run server`. Refer: [astro-node](https:\u002F\u002Fdocs.astro.build\u002Fen\u002Fguides\u002Fintegrations-guide\u002Fnode\u002F#standalone)\n\n## Configurations\n### Deployment Configurations\nAll deployment configurations could be configured in the `.env` file or in **Environment Variables** of Vercel\n\n| Configuration       | Default Value  | Description                                                                                                                           | \n| ------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| PASSWORD            | -              | Website access password                                                                                                               |\n| OPENAI_API_KEY      | -              | Key for API request, multiple keys are supported, separated by commas, [how to generate](https:\u002F\u002Fplatform.openai.com\u002Faccount\u002Fapi-keys)|\n| LANGUAGE            | en             | The default language of the website, including prompts. Supported languages: **zh**\u002F**en**                                            |\n| API_KEY_STRATEGY    | random         | The scheduling strategy mode for multiple keys: **polling**\u002F**random**                                                                |\n| OPENAI_API_BASE_URL | api.openai.com | The default address of the requested api                                                                                              |\n| DISCORD_SERVER_ID   | -              | Discord server id                                                                                                                     |\n| DISCORD_CHANNEL_ID  | -              | Discord channel id                                                                                                                    |\n| DISCORD_TOKEN       | -              | Discord token                                                                                                                         |\n| DISCORD_IMAGE_PROXY | -              | Discord image proxy url                                                                                                               |  \n\n\n### Global Configurations\nAll global configurations will be stored locally\n\n| Configuration                         | Default Value | Description                                                                                                           |\n| ------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------- |\n| OpenAI Api Key                        | -             | Only a single key is supported. If it is configured on the page, the key in the environment variable will not be used |\n| Language                              | en            | The language of the website, including prompts. Supported languages: **zh**\u002F**en**                                    |\n| Save all conversations                | true          | The conversation won't be lost after the page is refreshed                                                            |\n| Temperature                           | 1             | The larger the value, the more random the answer, with a range of 0-2                                                 |\n| Text Conversation Model               | gpt-3.5-turbo | Model used in api request, [supported models](https:\u002F\u002Fplatform.openai.com\u002Fdocs\u002Fmodels\u002Fmodel-endpoint-compatibility)   |\n| Continuous conversations              | true          | Carry the context for the conversations                                                                               |\n| Number of historical messages carried | 4             | For continuous conversations, the number of historical messages carried                                               |\n| Image Generation Conversation Model   | DALL-E        | Supported models: **DALL-E** \u002F **Midjourney** \u002F **Replicate**                                                         |\n| Number of generated images            | 1             | The number of images generated in a single image generation conversation                                              |\n| Size of generated images              | 256x256       | The size of a single image in image generation conversation                                                           |\n| Discord Server Id                     | -             | If it is configured on the page, the key in the environment variable will not be used                                 |\n| Discord Channel Id                    | -             | Ditto                                                                                                                 |\n| Discord Token                         | -             | Ditto                                                                                                                 |  \n\n## Planned Features\n- [ ] Export functionality to export as markdown and images\n- [ ] Theme color switching support, currently defaulting to gradient purple\n- [ ] Audio conversation support\n- [x] Image generation using other models\n\nThese are some of the planned features to be developed. Collaborations are welcome, and feel free to suggest other ideas by submitting issues.\n\n## Development\nRequirements:\n- **NodeJS** `v18` or higher\n- **pnpm** `v7` or higher\n\nProxy\n- By default, a custom proxy is used to request openapi locally, and `LOCAL_PROXY` needs to be set in `.env`. There is currently no default proxy, so if you choose to set up a proxy, you assume the associated risks.\n- If there is no need for a proxy, you can disable local proxy by setting `DISABLE_LOCAL_PROXY=true` in the `.env` file. At this point, `api.openai.com` will be directly requested.\n\nDevelopment:\n- Run `pnpm dev`\n- Expose port, for example, when using in cloud ide, run `pnpm start`\n\nBuild:\n- Run `pnpm build`\n\n## Contribution\nAny contributions are highly appreciated. Here are some tips:\n- To improve the translation or add a new language, modify the `lang` directory. If adding a new language, you will also need to modify `src\u002Futils\u002Fi18n.ts`.\n- To improve or add new preset prompts, modify the `prompts` directory.\n- To optimize the API, modify the `src\u002Fpages\u002Fapi` directory.\n- To optimize page interactions, modify the `src\u002Fmodules` directory.\n- For new feature support, please open an issue directly.\n\n## Credits\n- English prompts are modified from [awesome-chatgpt-prompts](https:\u002F\u002Fgithub.com\u002Ff\u002Fawesome-chatgpt-prompts)\n- Chinese prompts are modified from [awesome-chatgpt-prompts-zh](https:\u002F\u002Fgithub.com\u002FPlexPt\u002Fawesome-chatgpt-prompts-zh)\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FGPTGenius_chatgpt-vercel_readme_bb9395cb7002.png)](https:\u002F\u002Fstar-history.com\u002F#GPTGenius\u002Fchatgpt-vercel&Date)\n\n## License\nBased on [MIT License](.\u002FLICENSE)\n","![](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FGPTGenius_chatgpt-vercel_readme_61dd8230ba46.png)\n\n\u003Ch2 align=\"center\">ChatGPT-Vercel\u003C\u002Fh2>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Ftags\">\n    \u003Cimg alt=\"GitHub tag (latest by date)\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FGPTGenius\u002Fchatgpt-vercel\">\n  \u003C\u002Fa>\n  \u003Cimg alt=\"node-current (scoped)\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnode\u002Fv\u002Freplicate-fetch\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fblob\u002Fmain\u002FLICENSE\">\n    \u003Cimg alt=\"license\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002FGPTGenius\u002Fchatgpt-vercel\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\nEnglish | [简体中文](.\u002FREADME.zh-CN.md)\n\n## 简介\n使用 Vercel 一键免费创建私有 ChatGPT 网站，支持多轮 **文本** \u002F **图像生成** 对话。由 OpenAI API GPT-4\u002F3.5 和 Vercel 驱动。\n\n## 功能\n- ⚡ 使用 Vercel 快速且免费部署\n- 💬 文本对话，支持切换模型和设置上下文长度\n- 🎨 图像生成对话支持 `DALL-E` 和 `Midjourney` 模型。还支持调整图像大小和数量。\n- 🌈 添加多个预设提示词以自定义 AI 行为\n- 🌏 切换多种语言，目前支持简体中文和英语\n- 💭 本地保存聊天记录，支持搜索、导入和导出功能\n\n## 在线演示\n- [chatgpt-vercel-sample](https:\u002F\u002Fchatgpt-vercel-sample.vercel.app\u002F)\n- [chatgpt-vercel-zh-sample](https:\u002F\u002Fchatgpt-vercel-zh-sample.vercel.app\u002F)\n\n## 用户指南\n您可以访问上述在线演示或自行私有部署体验。\n\n### 对话\n点击左上角图标添加对话，有两种类型：\n- 文本对话：\n  - 模型可切换，[支持的模型](https:\u002F\u002Fplatform.openai.com\u002Fdocs\u002Fmodels\u002Fmodel-endpoint-compatibility)\n  - 默认情况下为连续对话，每次发送会携带部分上下文。\n  - 支持添加预设提示词，输入 `\u002F` 或点击左下角按钮添加。\n  - 支持模型配置，点击右上角设置图标进行配置。\n- 图像生成对话：\n  - 模型可切换，支持 OpenAI `DALL·E` 模型和 `Midjourney` \n  - 不支持连续对话，每次发送不携带上下文。\n  - 直接输入想要的图像效果，例如：`a cat`。\n  - 对于 `DALL-E` 模型，消耗 `OpenAI` 代币。图片链接的有效访问时间为 `2` 小时。如有必要请确保及时保存。\n  - 对于 `Midjourney` 模型，根据 `Discord` 配置，图像生成可能需要一段时间，默认超时时间为 `5` 分钟。请耐心等待。\n\n### 历史记录\n当全局设置中启用 `保存所有对话` 时，将保存到本地缓存。默认情况下不会保存。\n\n### 操作\n- 按 `Enter` 发送\n- 按 `Shift`+`Enter` 换行\n- 输入 `\u002F` 添加预设提示词，也支持搜索。\n\n### 全部设置\n参见 [配置项](#Configurations)\n\n## 开始使用\n\n### 1. 创建项目\n从 GitHub 分叉的项目（推荐）或以下 **部署** 按钮创建 Vercel 项目。\n\n[![Deploy with Vercel](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FGPTGenius_chatgpt-vercel_readme_a4c0f8073a9c.png)](https:\u002F\u002Fvercel.com\u002Fnew\u002Fclone?repository-url=https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel&env=OPENAI_API_KEY)\n\n### 2. 设置 OPENAI_API_KEY\n有三种方式设置您的 OpenAI API Key：\n- 设置 Vercel 环境变量 **OPENAI_API_KEY**\n- 将 `.env.example` 文件重命名为 `.env` 并设置 **OPENAI_API_KEY**\n- 在页面内设置 **OPENAI_API_KEY**\n\n> 注意：对于 Vercel，所有环境变量都需要重新部署才能生效。\n\n### 3. 设置 Midjourney（可选）\n如果您想使用 `Midjourney` 的 AI 绘画功能，可以配置相关的 `Discord` 设置，包括以下字段：\n- `DISCORD_SERVER_ID`\n- `DISCORD_CHANNEL_ID`\n- `DISCORD_TOKEN`\n\n如何获取 ID 和 Token：\n- [如何查找 ID](https:\u002F\u002Fdocs.statbot.net\u002Fdocs\u002Ffaq\u002Fgeneral\u002Fhow-find-id\u002F)\n- [获取 Discord Token](https:\u002F\u002Fwww.androidauthority.com\u002Fget-discord-token-3149920\u002F)\n\n您可以访问 [midjourney-cookbook](https:\u002F\u002Fgptgenius.github.io\u002Fmidjourney-cookbook\u002F) 获取一些关于 `Midjourney` 提示词的示例。\n\n### 4. 保持代码同步（可选）\n参见 [Sync Fork](docs\u002Fsync.md)\n\n## 其他部署方法\n运行 `pnpm build` 和 `pnpm run server`。参考：[astro-node](https:\u002F\u002Fdocs.astro.build\u002Fen\u002Fguides\u002Fintegrations-guide\u002Fnode\u002F#standalone)\n\n## 配置项\n### 部署配置\n所有部署配置都可以在 `.env` 文件或 Vercel 的 **环境变量** 中进行配置\n\n| 配置项       | 默认值  | 描述                                                                                                                           | \n| ------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| PASSWORD            | -              | 网站访问密码                                                                                                               |\n| OPENAI_API_KEY      | -              | API 请求密钥，支持多个密钥，用逗号分隔，[如何生成](https:\u002F\u002Fplatform.openai.com\u002Faccount\u002Fapi-keys)|\n| LANGUAGE            | en             | 网站的默认语言，包括提示词。支持的语言：**zh**\u002F**en**                                            |\n| API_KEY_STRATEGY    | random         | 多密钥调度策略模式：**polling**\u002F**random**                                                                |\n| OPENAI_API_BASE_URL | api.openai.com | 请求 api 的默认地址                                                                                              |\n| DISCORD_SERVER_ID   | -              | Discord 服务器 ID                                                                                                                     |\n| DISCORD_CHANNEL_ID  | -              | Discord 频道 ID                                                                                                                    |\n| DISCORD_TOKEN       | -              | Discord Token                                                                                                                         |\n| DISCORD_IMAGE_PROXY | -              | Discord 图片代理 URL                                                                                                               |\n\n### 全局配置\n所有全局配置将存储在本地\n\n| 配置项                         | 默认值 | 描述                                                                                                           |\n| ------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------- |\n| OpenAI API 密钥                        | -             | 仅支持单个密钥。如果在页面上配置，环境变量中的密钥将不会被使用 |\n| 语言                              | en            | 网站的语言，包括提示词。支持的语言：**zh**\u002F**en**                                    |\n| 保存所有对话                | true          | 刷新页面后对话不会丢失                                                            |\n| Temperature (温度)                           | 1             | 值越大，回答越随机，范围为 0-2                                                 |\n| 文本对话模型               | gpt-3.5-turbo | API (应用程序接口) 请求中使用的模型，[支持的模型](https:\u002F\u002Fplatform.openai.com\u002Fdocs\u002Fmodels\u002Fmodel-endpoint-compatibility)   |\n| 连续对话              | true          | 携带对话的上下文                                                                               |\n| 携带的历史消息数量 | 4             | 对于连续对话，携带的历史消息数量                                               |\n| 图像生成对话模型   | DALL-E        | 支持的模型：**DALL-E** \u002F **Midjourney** \u002F **Replicate**                                                         |\n| 生成的图片数量            | 1             | 单次图像生成对话中生成的图片数量                                              |\n| 生成的图片尺寸              | 256x256       | 图像生成对话中单张图片的尺寸                                                           |\n| Discord 服务器 ID                     | -             | 如果在页面上配置，环境变量中的密钥将不会被使用                                 |\n| Discord 频道 ID                    | -             | 同上                                                                                                                 |\n| Discord 令牌                         | -             | 同                                                                                                                 |  \n\n## 计划功能\n- [ ] 导出功能，支持导出为 Markdown (标记语言) 和图片\n- [ ] 主题颜色切换支持，当前默认为渐变紫色\n- [ ] 音频对话支持\n- [x] 使用其他模型进行图像生成\n\n这些是计划开发的一些功能。欢迎合作，并可通过提交 issue (问题) 提出其他建议。\n\n## 开发\nRequirements:\n- **NodeJS** `v18` 或更高版本\n- **pnpm** `v7` 或更高版本\n\n代理 (Proxy)\n- 默认情况下，使用自定义代理在本地请求 openapi，且需要在 `.env` 中设置 `LOCAL_PROXY`。目前没有默认代理，因此如果您选择设置代理，需承担相关风险。\n- 如果不需要代理，可以在 `.env` 文件中设置 `DISABLE_LOCAL_PROXY=true` 来禁用本地代理。此时将直接请求 `api.openai.com`。\n\nDevelopment:\n- 运行 `pnpm dev`\n- 暴露端口，例如在使用 Cloud IDE (云端集成开发环境) 时，运行 `pnpm start`\n\nBuild:\n- 运行 `pnpm build`\n\n## 贡献\nAny contributions are highly appreciated. Here are some tips:\n- 要改进翻译或添加新语言，修改 `lang` 目录。如果添加新语言，还需要修改 `src\u002Futils\u002Fi18n.ts` (国际化)。\n- 要改进或添加新的预设提示词，修改 `prompts` 目录。\n- 要优化 API，修改 `src\u002Fpages\u002Fapi` 目录。\n- 要优化页面交互，修改 `src\u002Fmodules` 目录。\n- 对于新功能支持，请直接提交 issue。\n\n## 致谢\n- 英文提示词改编自 [awesome-chatgpt-prompts](https:\u002F\u002Fgithub.com\u002Ff\u002Fawesome-chatgpt-prompts)\n- 中文提示词改编自 [awesome-chatgpt-prompts-zh](https:\u002F\u002Fgithub.com\u002FPlexPt\u002Fawesome-chatgpt-prompts-zh)\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FGPTGenius_chatgpt-vercel_readme_bb9395cb7002.png)](https:\u002F\u002Fstar-history.com\u002F#GPTGenius\u002Fchatgpt-vercel&Date)\n\n## 许可证\nBased on [MIT License](.\u002FLICENSE)","# chatgpt-vercel 快速上手指南\n\n`chatgpt-vercel` 是一个基于 Vercel 一键部署的私有 ChatGPT 网站，支持文本对话（GPT-4\u002F3.5）及图像生成（DALL-E\u002FMidjourney）。\n\n## 环境准备\n\n如需本地开发或运行，请确保满足以下系统要求：\n\n- **NodeJS**：版本 `v18` 或更高\n- **包管理器**：`pnpm` 版本 `v7` 或更高\n\n## 安装步骤\n\n### 方式一：Vercel 一键部署（推荐）\n\n此方式无需本地环境，直接通过 Vercel 云端托管。\n\n1. 点击 [Deploy with Vercel](https:\u002F\u002Fvercel.com\u002Fnew\u002Fclone?repository-url=https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel&env=OPENAI_API_KEY) 按钮。\n2. 登录 GitHub 授权并创建项目。\n3. 在环境变量设置中添加 `OPENAI_API_KEY`（获取方式见下方配置说明）。\n4. 点击 **Deploy** 完成部署。\n\n### 方式二：本地开发运行\n\n1. **克隆代码**\n   ```bash\n   git clone https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel.git\n   cd chatgpt-vercel\n   ```\n\n2. **安装依赖**\n   ```bash\n   pnpm install\n   ```\n\n3. **配置环境变量**\n   复制示例文件并修改：\n   ```bash\n   cp .env.example .env\n   ```\n   在 `.env` 文件中设置 `OPENAI_API_KEY`。若网络受限，可设置 `LOCAL_PROXY` 或添加 `DISABLE_LOCAL_PROXY=true` 以直连。\n\n4. **启动服务**\n   ```bash\n   pnpm dev\n   ```\n   或在云 IDE 中暴露端口：\n   ```bash\n   pnpm start\n   ```\n\n## 基本使用\n\n### 核心功能\n\n- **文本对话**：支持切换模型（如 `gpt-3.5-turbo`）、调整上下文长度、添加预设提示词。\n- **图像生成**：支持 `DALL-E` 和 `Midjourney` 模型，可调整图片尺寸和数量。\n- **历史记录**：支持本地保存、搜索、导入导出聊天记录。\n\n### 操作快捷键\n\n- `Enter`：发送消息\n- `Shift` + `Enter`：换行\n- `\u002F`：唤起预设提示词菜单\n\n### 配置说明\n\n所有全局配置可在页面右上角设置图标中调整，部分配置也可在 `.env` 文件中设定：\n\n| 配置项 | 说明 |\n| :--- | :--- |\n| `OPENAI_API_KEY` | OpenAI API 密钥，必填（多个密钥可用逗号分隔） |\n| `LANGUAGE` | 默认语言，支持 `zh` (中文) 或 `en` (英文) |\n| `PASSWORD` | 网站访问密码（可选） |\n| `DISCORD_*` | 仅在使用 Midjourney 时配置 Discord 相关 ID 和 Token |\n\n> **注意**：Vercel 部署后，修改环境变量需重新部署才能生效。","一位独立产品设计师需要频繁利用 AI 辅助文案撰写和原型图生成，同时希望严格保护项目创意隐私。\n\n### 没有 chatgpt-vercel 时\n- 依赖官方网页版导致敏感项目信息存在泄露风险，无法确保数据安全\n- 文字对话与图片生成需切换不同平台，工作流割裂，操作繁琐\n- 历史聊天记录分散在云端，难以本地搜索和导出复用，知识沉淀困难\n- 无法自定义预设提示词，每次都要重复输入基础指令，浪费沟通成本\n\n### 使用 chatgpt-vercel 后\n- 通过 Vercel 一键部署私有站点，API Key 与聊天数据完全掌控在自己手中，安全无忧\n- 同一界面即可切换 GPT 模型或调用 DALL-E、Midjourney 绘图，无缝衔接提升效率\n- 支持本地保存并搜索历史记录，方便随时回顾之前的设计思路，便于团队协作\n- 内置多种预设 Prompt，快速定制 AI 行为，减少重复配置时间，专注核心任务\n\n核心价值：实现了低成本、高隐私且功能集成的私人 AI 工作台，显著提升了设计与开发效率。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FGPTGenius_chatgpt-vercel_61dd8230.png","GPTGenius","LLMAPPs","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002FGPTGenius_17b6bb04.png","Magic LLM Apps",null,"https:\u002F\u002Fchatgpt-vercel-sample.vercel.app\u002F","https:\u002F\u002Fgithub.com\u002FGPTGenius",[83,87,91,95],{"name":84,"color":85,"percentage":86},"TypeScript","#3178c6",92.5,{"name":88,"color":89,"percentage":90},"Astro","#ff5a03",5.9,{"name":92,"color":93,"percentage":94},"JavaScript","#f1e05a",1.1,{"name":96,"color":97,"percentage":98},"CSS","#663399",0.5,561,388,"2026-03-13T03:15:48","MIT","未说明","无需本地 GPU（基于 OpenAI API 和 Vercel 云端服务）",{"notes":106,"python":103,"dependencies":107},"需配置 OPENAI_API_KEY 环境变量；可选配置 Discord 相关变量以启用 Midjourney 绘图功能；推荐使用 Vercel 进行一键部署；本地开发需注意代理设置（LOCAL_PROXY）",[108,109,88],"NodeJS >= v18","pnpm >= v7",[14,13,26],[112,113,114,115,116,117,118,119],"chatgpt","chatgpt-app","chatgpt4","openai","vercel-deployment","chatgpt3","vercel","midjourney","2026-03-27T02:49:30.150509","2026-04-06T05:36:23.486182",[123,128,133,138,143,148],{"id":124,"question_zh":125,"answer_zh":126,"source_url":127},1804,"国内 Vercel 部署后 Midjourney 图片无法加载怎么办？","这是因为生成的图片链接仍指向 Discord 域名，国内网络环境无法直接访问。解决方法是在部署配置中设置 `DISCORD_IMAGE_PROXY` 环境变量来代理图片地址，请参考 README 中的部署配置章节进行设置。","https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fissues\u002F66",{"id":129,"question_zh":130,"answer_zh":131,"source_url":132},1805,"生成 Midjourney 图片应该选择哪个模型？","需要选择 Midjourney 模型（而非 DALL•E），并在配置中正确设置 Discord 相关字段（如 Token, Server ID 等）。注意目前 Midjourney 模型仅适用于本地开发和自定义部署，且有免费额度限制。若选择 MJ 报错 JSON 解析错误，请检查配置完整性。","https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fissues\u002F47",{"id":134,"question_zh":135,"answer_zh":136,"source_url":137},1806,"发送消息过于频繁导致报错，如何解决？","这是 OpenAI 的频率限制策略。解决方案是配置多 Key 轮询。在环境变量中通过逗号分隔多个 `API_KEY`，并参考 README 中的 `API_KEY_STRATEGY` 配置开启多 Key 调度策略，以分摊请求压力。","https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fissues\u002F22",{"id":139,"question_zh":140,"answer_zh":141,"source_url":142},1807,"`API_KEY_STRATEGY` 的 polling 模式是如何工作的？","Polling 模式是在每次请求时按顺序轮换使用不同的 Key，而不是在请求失败后才切换 Key。该模式没有内置重试机制，只是简单的负载均衡策略。","https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fissues\u002F72",{"id":144,"question_zh":145,"answer_zh":146,"source_url":147},1808,"Midjourney 报错 'Interactions failed with 400' 是什么原因？","通常是由于 Discord 配置错误导致的。请重点检查以下两点：1. `channelId` 和 `serverId` 是否填反；2. Discord Token 是否已过期。确保所有 Discord 相关配置字段填写正确。","https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fissues\u002F62",{"id":149,"question_zh":150,"answer_zh":151,"source_url":152},1809,"Midjourney 账号线程有限制，多人使用如何优化？","项目支持多账号配置来解决线程瓶颈。预计实现方式会与现有的 OpenAI 调度策略一致，可通过配置 `API_KEY_STRATEGY` 来实现多账号池管理，从而避免单账号线程超限报错。","https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fissues\u002F57",[154,159,164,169],{"id":155,"version":156,"summary_zh":157,"released_at":158},101275,"v0.3.1","## What's Changed\r\n* fix(ui): use correct default checked and remove image margin by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F52\r\n* fix(api): add log and fix 400 error in GET \u002Fimage by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F53\r\n* feat(ui): support layout mode by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F55\r\n* chore(ci): auto rsync code for fork by @CaoYunzhou in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F61\r\n* docs: update new preview & star history by @FatDoge in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fcommit\u002Fb5c6b7467aeeb1f32e93f0e29495372493c06c5d\r\n* feat: support upscale and variation in midjourney, support image zoom by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F64\r\n* feat: support copy conversation content by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F76\r\n\r\n## New Contributors\r\n* @CaoYunzhou made their first contribution in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F61\r\n\r\n**Full Changelog**: https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fcompare\u002Fv0.3.0...v0.3.1","2023-06-03T07:39:15",{"id":160,"version":161,"summary_zh":162,"released_at":163},101276,"v0.3.0","## What's Changed\r\n* feat: support copy code by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F24\r\n* feat: support password by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F28\r\n* style(theme): adapt to antd theme color by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F33\r\n* feat: support edit title by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F32\r\n* feat: support import conversation by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F36\r\n* fix: show error message from openai by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F40\r\n* feat: support image generation model Midjourney powered by Replicate by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F44\r\n* fix: title modification not work after sending message by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F48\r\n* feat: move old model to Replicate and support Midjourney model powered by discord by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F50\r\n\r\n\r\n**Full Changelog**: https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fcompare\u002Fv0.2.1...v0.3.0","2023-05-14T16:26:30",{"id":165,"version":166,"summary_zh":167,"released_at":168},101277,"v0.2.1","## What's Changed\r\n* feat: support auto change ui when page resize by @FatDoge in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F12\r\n* fix: use maxjax instead of markdown-it-katex by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F16\r\n* feat: support env OPENAI_API_BASE_URL and stop generating by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F17\r\n* feat: support custom deployment by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F18\r\n* fix: white screen when clear all messages by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F20\r\n* feat: support muti api keys and schedule strategy by @lvqq in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F21\r\n* fix(typo): should be streamMessage by @metrue in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F23\r\n\r\n## New Contributors\r\n* @metrue made their first contribution in https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F23\r\n\r\n**Full Changelog**: https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fcompare\u002Fv0.2.0...v0.2.1","2023-04-15T16:37:14",{"id":170,"version":171,"summary_zh":172,"released_at":173},101278,"v0.2.0","## What's Changed\r\n### Main Changes\r\n- Redesigned with better ux, visit https:\u002F\u002Fchatgpt-vercel-sample.vercel.app\u002F to experience it. Related PR: https:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fpull\u002F11\r\n\r\n### Features\r\n- Support searching history conversations\r\n- Support displaying message time and sorting by latest time\r\n- Support displaying OpenAI profile photo\r\n\r\n## Full Changelog\r\nhttps:\u002F\u002Fgithub.com\u002FGPTGenius\u002Fchatgpt-vercel\u002Fcompare\u002Fv0.1.1...v0.2.0","2023-04-09T09:17:36"]