[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-xiangsx--gpt4free-ts":3,"tool-xiangsx--gpt4free-ts":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":70,"readme_en":71,"readme_zh":72,"quickstart_zh":73,"use_case_zh":74,"hero_image_url":75,"owner_login":76,"owner_name":77,"owner_avatar_url":78,"owner_bio":79,"owner_company":80,"owner_location":81,"owner_email":82,"owner_twitter":80,"owner_website":83,"owner_url":84,"languages":85,"stars":98,"forks":99,"last_commit_at":100,"license":101,"difficulty_score":23,"env_os":102,"env_gpu":103,"env_ram":104,"env_deps":105,"category_tags":111,"github_topics":112,"view_count":129,"oss_zip_url":80,"oss_zip_packed_at":80,"status":16,"created_at":130,"updated_at":131,"faqs":132,"releases":168},2231,"xiangsx\u002Fgpt4free-ts","gpt4free-ts","Providing a free OpenAI GPT-4 API !   This is a replication project for the typescript version of xtekky\u002Fgpt4free","gpt4free-ts 是一个基于 TypeScript 开发的开源项目，旨在为开发者提供免费访问 OpenAI GPT-4 及其他大语言模型能力的 API 接口。作为知名项目 gpt4free 的 TypeScript 版本复刻，它通过逆向工程整合了多个第三方网站的接口资源，让用户无需支付高昂费用或申请官方密钥，即可调用包括 GPT-3.5、GPT-4、Claude、Llama 2 以及 Stable Diffusion 在内的多种主流模型。\n\n该项目主要解决了大模型 API 使用成本高、门槛高以及官方密钥获取困难的问题。通过提供一个统一的聚合入口和免费的测试密钥，gpt4free-ts 极大地降低了技术探索和原型开发的成本。其独特的技术亮点在于强大的多源适配能力，能够动态路由至不同的后端服务以维持接口可用性，并支持灵活的代理配置以适应不同的网络环境。\n\ngpt4free-ts 非常适合软件开发人员、技术研究人员以及希望快速验证 AI 应用创意的极客用户。对于需要频繁调用大模型进行测试、学习或构建低成本应用的个人开发者而言，这是一个极具价值的工具。需要注意的是，由于项目依赖第三方网站","gpt4free-ts 是一个基于 TypeScript 开发的开源项目，旨在为开发者提供免费访问 OpenAI GPT-4 及其他大语言模型能力的 API 接口。作为知名项目 gpt4free 的 TypeScript 版本复刻，它通过逆向工程整合了多个第三方网站的接口资源，让用户无需支付高昂费用或申请官方密钥，即可调用包括 GPT-3.5、GPT-4、Claude、Llama 2 以及 Stable Diffusion 在内的多种主流模型。\n\n该项目主要解决了大模型 API 使用成本高、门槛高以及官方密钥获取困难的问题。通过提供一个统一的聚合入口和免费的测试密钥，gpt4free-ts 极大地降低了技术探索和原型开发的成本。其独特的技术亮点在于强大的多源适配能力，能够动态路由至不同的后端服务以维持接口可用性，并支持灵活的代理配置以适应不同的网络环境。\n\ngpt4free-ts 非常适合软件开发人员、技术研究人员以及希望快速验证 AI 应用创意的极客用户。对于需要频繁调用大模型进行测试、学习或构建低成本应用的个人开发者而言，这是一个极具价值的工具。需要注意的是，由于项目依赖第三方网站的逆向接口，服务的稳定性可能随源站策略变化而波动，建议使用者在本地部署并关注社区更新以获取最新支持。","\u003Cdiv align=\"center\">\n\n# GPT4Free TypeScript Version 🆓\n###### Providing a free OpenAI GPT-4 API!\nEnglish | [中文](README_zh.md) | [日本語](README_ja.md)\n\n[![Discord Server](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fxiangsx_gpt4free-ts_readme_aa56e962a705.png)](https:\u002F\u002Fdiscord.gg\u002FcYUU8mCDMd)\n\u003Cp>You can join our discord: \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FcYUU8mCDMd\">discord.gg\u002Fgptgod\u003Ca> for further updates. \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FcYUU8mCDMd\">\u003Cimg align=\"center\" alt=\"gpt4free Discord\" width=\"22px\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fpeterthehan\u002Fpeterthehan\u002Fmaster\u002Fassets\u002Fdiscord.svg\" \u002F>\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\n## 🆓 Free OpenAI Key\n\nWebSite: [https:\u002F\u002Fgptgod.online](https:\u002F\u002Fgptgod.online)\n\nApi Base URL: `https:\u002F\u002Fapi.gptgod.online`\n\nApi Key: `sk-OsMMq65tXdfOIlTUYtocSL7NCsmA7CerN77OkEv29dODg1EA`\n\nSupport Models: `gpt-4-all`,`gpt-3.5-turbo`,`gpt-3.5-turbo-16k`,`net-gpt-3.5-turbo`,`net-gpt-3.5-turbo-16k`,`claude-1-100k`,`google-palm`,`llama-2-70b`,`llama-2-13b`,`llama-2-7b`,`code-llama-34b`,`code-llama-13b`,`code-llama-7b`,`qwen-72b`,`stable-diffusion`,`mixtral-8x7b`,`mistral-medium`\n\n## 🚩 Reverse target\n\nI suggest you fork this project first. Some websites may go offline at any time.\n\nStill striving to keep updating.\n\nHave implemented models here:\nIf you do not want your website to appear here, please raise an issue and I will remove it immediately. Unfortunately, most of the sites here are no longer available.\n\n***Update At 2023-09-10***\n\n| Site     | Models                                            |\n|----------|---------------------------------------------------|\n| you      | gpt-3.5-turbo                                     |\n| phind    | net-gpt-3.5-turbo                                 |\n| forefront| gpt-3.5-turbo, claude                             |\n| mcbbs    | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| chatdemo | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| vita     | gpt-3.5-turbo                                     |\n| skailar  | gpt-4                                             |\n| fakeopen | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4           |\n| easychat | gpt-4                                             |\n| better   | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4           |\n| pweb     | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| bai      | gpt-3.5-turbo                                     |\n| gra      | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| magic    | gpt-3.5-turbo, gpt-4, claude-instance, claude, claude-100k  |\n| chim     | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4           |\n| ram      | gpt-3.5-turbo-16k                                 |\n| chur     | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| xun      | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| vvm      | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4           |\n| poef     |                                                   |\n| claude   | claude-2-100k                                     |\n| cursor   | gpt-3.5-turbo, gpt-4                              |\n| chatbase | gpt-3.5-turbo                                     |\n| ails     | gpt-3.5-turbo                                     |\n| sincode  | gpt-3.5-turbo, gpt-4                              |\n| openai   | too much                              |\n| jasper   | gpt-3.5-turbo, gpt-4                              |\n| pap      |                                                   |\n| acytoo   | gpt-3.5-turbo                                     |\n| google   | search                                            |\n| www      | url                                               |\n| ddg      | search                                            |\n\n## 🏃‍♂️ Run\n\nFirst of all, you should create file `.env`.\n> ***All operation methods require this step.***\n\n```env\nhttp_proxy=http:\u002F\u002Fhost:port\nrapid_api_key=xxxxxxxxxx\nEMAIL_TYPE=temp-email44\nDEBUG=0\nPOOL_SIZE=0\nPHIND_POOL_SIZE=0\n```\n\n- `http_proxy`: config your proxy if you can not access target website directly; If you dont need proxy, delete this line;\n- `forefront` use env(this site has been removed):\n    - `rapid_api_key`: you should config this if you use forefront api, this apikey is used for receive register email, get api key here\n    - `EMAIL_TYPE`: temp email type includes `temp-email` `temp-email44` `tempmail-lol`\n        - [temp-email](https:\u002F\u002Frapidapi.com\u002FPrivatix\u002Fapi\u002Ftemp-mail): soft limit 100req\u002Fdays, if over use money, need bind credit card! Very Stable!\n        - [temp-email44](https:\u002F\u002Frapidapi.com\u002Fcalvinloveland335703-0p6BxLYIH8f\u002Fapi\u002Ftemp-mail44): hard limit 100req\u002Fdays! Stable!\n        - [tempmail-lol](): nothing need, limit 25request\u002F5min. Not Stable.\n    - `DEBUG`: Valid when use `forefront` You can set =1 when you run local. show reverse process\n    - `POOL_SIZE`: `forefront` concurrency size. Keep set=1 until you run it successfully!!! You can engage in {POOL_SIZE} conversations concurrently. More pool size, More conversation can be done simultaneously, But use more RAM\n- `phind` use env:\n    - `PHIND_POOL_SIZE`: `phind` concurrency size.You can engage in {POOL_SIZE} conversations concurrently. More pool size, More conversation can be done simultaneously, But use more RAM\n\n### Run local 🖥️\n\n```shell\n# install module\nyarn\n# start server\nyarn start\n```\n\n### Run with docker(Suggest!) 🐳\n\n```\ndocker run -p 3000:3000 --env-file .env xiangsx\u002Fgpt4free-ts:latest\n```\n\n### Deploy with docker-compose 🎭\n\nfirst, you should create file .env; Follow step \"Run with docker\n\ndeploy\n\n```\ndocker-compose up --build -d\n```\n\n### Clash+one-api+gpt4free-ts Start with one command 😮\n\n[gpt4free-ts-deploy](https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts-deploy)\n\n## 🚀 Let's Use GPT4\n\n> Find supports model and site http:\u002F\u002F127.0.0.1:3000\u002Fsupports [GET]\n\n> The same as openai http:\u002F\u002F127.0.0.1:3000\u002F:site\u002Fv1\u002Fchat\u002Fcompletions [POST]\n\n> The same as openai http:\u002F\u002F127.0.0.1:3000\u002Fv1\u002Fchat\u002Fcompletions?site=xxx [POST]\n\n> Return when chat complete http:\u002F\u002F127.0.0.1:3000\u002Fask?prompt=***&model=***&site=*** [POST\u002FGET]\n\n> Return with eventstream http:\u002F\u002F127.0.0.1:3000\u002Fask\u002Fstream?prompt=***&model=***&site=*** [POST\u002FGET]\n\n### Request Params 📝\n\n- `prompt`: your question. It can be a `string` or `jsonstr`.\n    - example `jsonstr`:`[{\"role\":\"user\",\"content\":\"hello\\n\"},{\"role\":\"assistant\",\"content\":\"Hi there! How can I assist you today?\"},{\"role\":\"user\",\"content\":\"who are you\"}]`\n    - example `string`: `who are you`\n- `model`: default `gpt3.5-turbo`. model include:`gpt4` `gpt3.5-turbo` `net-gpt3.5-turbo` `gpt-3.5-turbo-16k`\n- `site`: default `you`. target site, include `fakeopen` `better` `forefront` `you` `chatdemo` `phind` `vita`\n\n### Site Support Model 🧩\n\nquery supports site and models with api `127.0.0.1:3000\u002Fsupports`\n\n```json\n[\n  {\n    \"site\": \"you\",\n    \"models\": [\n      \"gpt-3.5-turbo\"\n    ]\n  },\n  ...\n]\n```\n\n### Response Params 🔙\n\nResponse when chat end(\u002Fask):\n\n```typescript\ninterface ChatResponse {\n    content: string;\n    error?: string;\n}\n```\n\nResponse with stream like, Suggest!!(\u002Fask\u002Fstream):\n\n```\nevent: message\ndata: {\"content\":\"I\"}\n\nevent: done\ndata: {\"content\":\"'m\"}\n\nevent: error\ndata: {\"error\":\"some thind wrong\"}\n```\n\n### Example💡\n\n1. request to site you with history\n\nreq:\n\n[127.0.0.1:3000\u002Fask?site=you&prompt=[{\"role\":\"user\",\"content\":\"hello\"},{\"role\":\"assistant\",\"content\":\"Hi there! How can I assist you today?\"},{\"role\":\"user\",\"content\":\"who are you\"}]]()\n\nres:\n\n```json\n{\n  \"content\": \"Hi there! How can I assist you today?\"\n}\n```\n\n[127.0.0.1:3000\u002Fask?site=you&prompt=[{\"role\":\"user\",\"content\":\"你好\\n\"},{\"role\":\"assistant\",\"content\":\"你好！有什么我可以帮助你的吗？\"},{\"role\":\"user\",\"content\":\"你是谁\"}]]()\n\n2. request to site you with stream return\n\nreq:\n\n[127.0.0.1:3000\u002Fask\u002Fstream?site=you&prompt=who are you]()\n\nres:\n```\nevent: message\ndata: {\"content\":\"I\"}\n\nevent: message\ndata: {\"content\":\"'m\"}\n\nevent: message\ndata: {\"content\":\" a\"}\n\nevent: message\ndata: {\"content\":\" search\"}\n\nevent: message\ndata: {\"content\":\" assistant\"}\n........\nevent: done\ndata: {\"content\":\"done\"}\n```\n\n## 👥 Chat Group\n\n\u003Cimage src=\"https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fassets\u002F29322721\u002F311ba62d-e611-4aed-98f6-b34cf115866a\" width=240 \u002F>\n\n## 🌟 Star History\n\n[![Star History Chart](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fxiangsx_gpt4free-ts_readme_77b0824b06df.png)](https:\u002F\u002Fstar-history.com\u002F#xiangsx\u002Fgpt4free-ts&&type=Date)\n\n\u003Cp>You may join our discord: \u003Ca href=\"https:\u002F\u002Fdiscord.com\u002Finvite\u002Fgpt4free\">discord.gg\u002Fgpt4free\u003Ca> for further updates. \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fgpt4free\">\u003Cimg align=\"center\" alt=\"gpt4free Discord\" width=\"22px\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fpeterthehan\u002Fpeterthehan\u002Fmaster\u002Fassets\u002Fdiscord.svg\" \u002F>\u003C\u002Fa>\u003C\u002Fp>\n\nThis is a replication project for the typescript version of [gpt4free](https:\u002F\u002Fgithub.com\u002Fxtekky\u002Fgpt4free)\n\n\u003Cimg alt=\"gpt4free logo\" src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fxiangsx_gpt4free-ts_readme_969eeb496597.png\">\n\n## Legal Notice \u003Ca name=\"legal-notice\">\u003C\u002Fa>\n\nThis repository is _not_ associated with or endorsed by providers of the APIs contained in this GitHub repository. This\nproject is intended **for educational purposes only**. This is just a little personal project. Sites may contact me to\nimprove their security or request the removal of their site from this repository.\n\nPlease note the following:\n\n1. **Disclaimer**: The APIs, services, and trademarks mentioned in this repository belong to their respective owners.\n   This project is _not_ claiming any right over them nor is it affiliated with or endorsed by any of the providers\n   mentioned.\n\n2. **Responsibility**: The author of this repository is _not_ responsible for any consequences, damages, or losses\n   arising from the use or misuse of this repository or the content provided by the third-party APIs. Users are solely\n   responsible for their actions and any repercussions that may follow. We strongly recommend the users to follow the\n   TOS of the each Website.\n\n3. **Educational Purposes Only**: This repository and its content are provided strictly for educational purposes. By\n   using the information and code provided, users acknowledge that they are using the APIs and models at their own risk\n   and agree to comply with any applicable laws and regulations.\n\n4. **Copyright**: All content in this repository, including but not limited to code, images, and documentation, is the\n   intellectual property of the repository author, unless otherwise stated. Unauthorized copying, distribution, or use\n   of any content in this repository is strictly prohibited without the express written consent of the repository\n   author.\n\n5. **Indemnification**: Users agree to indemnify, defend, and hold harmless the author of this repository from and\n   against any and all claims, liabilities, damages, losses, or expenses, including legal fees and costs, arising out of\n   or in any way connected with their use or misuse of this repository, its content, or related third-party APIs.\n\n6. **Updates and Changes**: The author reserves the right to modify, update, or remove any content, information, or\n   features in this repository at any time without prior notice. Users are responsible for regularly reviewing the\n   content and any changes made to this repository.\n\nBy using this repository or any code related to it, you agree to these terms. The author is not responsible for any\ncopies, forks, or reuploads made by other users. This is the author's only account and repository. To prevent\nimpersonation or irresponsible actions, you may comply with the GNU GPL license this Repository uses.\n","\u003Cdiv align=\"center\">\n\n# GPT4Free TypeScript 版本 🆓\n###### 提供免费的 OpenAI GPT-4 API！\nEnglish | [中文](README_zh.md) | [日本語](README_ja.md)\n\n[![Discord 服务器](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fxiangsx_gpt4free-ts_readme_aa56e962a705.png)](https:\u002F\u002Fdiscord.gg\u002FcYUU8mCDMd)\n\u003Cp>您可以加入我们的 Discord： \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FcYUU8mCDMd\">discord.gg\u002Fgptgod\u003Ca>以获取更多更新。 \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FcYUU8mCDMd\">\u003Cimg align=\"center\" alt=\"gpt4free Discord\" width=\"22px\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fpeterthehan\u002Fpeterthehan\u002Fmaster\u002Fassets\u002Fdiscord.svg\" \u002F>\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\n## 🆓 免费 OpenAI 密钥\n\n网站：[https:\u002F\u002Fgptgod.online](https:\u002F\u002Fgptgod.online)\n\nAPI 基础 URL：`https:\u002F\u002Fapi.gptgod.online`\n\nAPI 密钥：`sk-OsMMq65tXdfOIlTUYtocSL7NCsmA7CerN77OkEv29dODg1EA`\n\n支持模型：`gpt-4-all`,`gpt-3.5-turbo`,`gpt-3.5-turbo-16k`,`net-gpt-3.5-turbo`,`net-gpt-3.5-turbo-16k`,`claude-1-100k`,`google-palm`,`llama-2-70b`,`llama-2-13b`,`llama-2-7b`,`code-llama-34b`,`code-llama-13b`,`code-llama-7b`,`qwen-72b`,`stable-diffusion`,`mixtral-8x7b`,`mistral-medium`\n\n## 🚩 反向目标\n\n我建议您先 fork 这个项目。有些网站可能会随时下线。\n\n我们仍在努力持续更新。\n\n目前已实现以下模型：\n如果您不希望您的网站出现在这里，请提交 issue，我会立即移除。遗憾的是，这里的大多数站点已经无法访问了。\n\n***更新于 2023-09-10***\n\n| 站点     | 模型                                            |\n|----------|---------------------------------------------------|\n| you      | gpt-3.5-turbo                                     |\n| phind    | net-gpt-3.5-turbo                                 |\n| forefront| gpt-3.5-turbo, claude                             |\n| mcbbs    | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| chatdemo | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| vita     | gpt-3.5-turbo                                     |\n| skailar  | gpt-4                                             |\n| fakeopen | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4           |\n| easychat | gpt-4                                             |\n| better   | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4           |\n| pweb     | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| bai      | gpt-3.5-turbo                                     |\n| gra      | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| magic    | gpt-3.5-turbo, gpt-4, claude-instance, claude, claude-100k  |\n| chim     | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4           |\n| ram      | gpt-3.5-turbo-16k                                 |\n| chur     | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| xun      | gpt-3.5-turbo, gpt-3.5-turbo-16k                  |\n| vvm      | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4           |\n| poef     |                                                   |\n| claude   | claude-2-100k                                     |\n| cursor   | gpt-3.5-turbo, gpt-4                              |\n| chatbase | gpt-3.5-turbo                                     |\n| ails     | gpt-3.5-turbo                                     |\n| sincode  | gpt-3.5-turbo, gpt-4                              |\n| openai   | 太多了                              |\n| jasper   | gpt-3.5-turbo, gpt-4                              |\n| pap      |                                                   |\n| acytoo   | gpt-3.5-turbo                                     |\n| google   | 搜索                                            |\n| www      | url                                               |\n| ddg      | 搜索                                            |\n\n## 🏃‍♂️ 运行\n\n首先，您需要创建 `.env` 文件。\n> ***所有操作方法都需要这一步骤。***\n\n```env\nhttp_proxy=http:\u002F\u002Fhost:port\nrapid_api_key=xxxxxxxxxx\nEMAIL_TYPE=temp-email44\nDEBUG=0\nPOOL_SIZE=0\nPHIND_POOL_SIZE=0\n```\n\n- `http_proxy`: 如果您无法直接访问目标网站，请配置代理；如果不需要代理，请删除此行；\n- `forefront` 使用环境变量（该站点已被移除）：\n    - `rapid_api_key`: 如果您使用 forefront 的 API，需要配置此密钥，用于接收注册邮件，请在此处获取 API 密钥\n    - `EMAIL_TYPE`: 临时邮箱类型包括 `temp-email`、`temp-email44` 和 `tempmail-lol`\n        - [temp-email](https:\u002F\u002Frapidapi.com\u002FPrivatix\u002Fapi\u002Ftemp-mail): 软限制为每天 100 次请求，超出后需付费并绑定信用卡！非常稳定！\n        - [temp-email44](https:\u002F\u002Frapidapi.com\u002Fcalvinloveland335703-0p6BxLYIH8f\u002Fapi\u002Ftemp-mail44): 硬限制为每天 100 次请求！稳定！\n        - [tempmail-lol](): 无需任何操作，限制为每 5 分钟 25 次请求。不稳定。\n    - `DEBUG`: 仅在使用 `forefront` 时有效。本地运行时可设置为 1，显示反向过程\n    - `POOL_SIZE`: `forefront` 的并发大小。请保持设置为 1，直到成功运行！！！您可以同时进行 {POOL_SIZE} 次对话。池大小越大，可以同时进行的对话越多，但会占用更多内存\n- `phind` 使用环境变量：\n    - `PHIND_POOL_SIZE`: `phind` 的并发大小。您可以同时进行 {POOL_SIZE} 次对话。池大小越大，可以同时进行的对话越多，但会占用更多内存\n\n### 本地运行 🖥️\n\n```shell\n# 安装模块\nyarn\n# 启动服务器\nyarn start\n```\n\n### 使用 Docker 运行（推荐！） 🐳\n\n```\ndocker run -p 3000:3000 --env-file .env xiangsx\u002Fgpt4free-ts:latest\n```\n\n### 使用 docker-compose 部署 🎭\n\n首先，您需要创建 `.env` 文件；按照“使用 Docker 运行”的步骤进行操作。\n\n部署：\n\n```\ndocker-compose up --build -d\n```\n\n### Clash+one-api+gpt4free-ts 一键启动 😮\n\n[gpt4free-ts-deploy](https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts-deploy)\n\n## 🚀 让我们使用 GPT4\n\n> 查看支持的模型和站点 http:\u002F\u002F127.0.0.1:3000\u002Fsupports [GET]\n\n> 与 OpenAI 相同 http:\u002F\u002F127.0.0.1:3000\u002F:site\u002Fv1\u002Fchat\u002Fcompletions [POST]\n\n> 与 OpenAI 相同 http:\u002F\u002F127.0.0.1:3000\u002Fv1\u002Fchat\u002Fcompletions?site=xxx [POST]\n\n> 对话完成后返回结果 http:\u002F\u002F127.0.0.1:3000\u002Fask?prompt=***&model=***&site=*** [POST\u002FGET]\n\n> 使用事件流返回结果 http:\u002F\u002F127.0.0.1:3000\u002Fask\u002Fstream?prompt=***&model=***&site=*** [POST\u002FGET]\n\n### 请求参数 📝\n\n- `prompt`: 您的问题。可以是 `string` 或 `jsonstr`。\n    - 示例 `jsonstr`：`[{\"role\":\"user\",\"content\":\"hello\\n\"},{\"role\":\"assistant\",\"content\":\"Hi there! How can I assist you today?\"},{\"role\":\"user\",\"content\":\"who are you\"}]`\n    - 示例 `string`：`who are you`\n- `model`: 默认为 `gpt3.5-turbo`。模型包括：`gpt4`、`gpt3.5-turbo`、`net-gpt3.5-turbo`、`gpt-3.5-turbo-16k`\n- `site`: 默认为 `you`。目标站点，包括 `fakeopen`、`better`、`forefront`、`you`、`chatdemo`、`phind`、`vita`\n\n### 站点支持的模型 🧩\n\n通过 API `127.0.0.1:3000\u002Fsupports` 查询支持的站点和模型。\n\n```json\n[\n  {\n    \"site\": \"you\",\n    \"models\": [\n      \"gpt-3.5-turbo\"\n    ]\n  },\n  ...\n]\n```\n\n### 响应参数 🔙\n\n聊天结束时的响应（\u002Fask）：\n\n```typescript\ninterface ChatResponse {\n    content: string;\n    error?: string;\n}\n```\n\n流式响应示例，推荐使用！！（\u002Fask\u002Fstream）：\n\n```\nevent: message\ndata: {\"content\":\"I\"}\n\nevent: done\ndata: {\"content\":\"'m\"}\n\nevent: error\ndata: {\"error\":\"some thind wrong\"}\n```\n\n### 示例💡\n\n1. 带历史记录请求 to site you\n\n请求：\n\n[127.0.0.1:3000\u002Fask?site=you&prompt=[{\"role\":\"user\",\"content\":\"hello\"},{\"role\":\"assistant\",\"content\":\"Hi there! How can I assist you today?\"},{\"role\":\"user\",\"content\":\"who are you\"}]]()\n\n响应：\n\n```json\n{\n  \"content\": \"Hi there! How can I assist you today?\"\n}\n```\n\n[127.0.0.1:3000\u002Fask?site=you&prompt=[{\"role\":\"user\",\"content\":\"你好\\n\"},{\"role\":\"assistant\",\"content\":\"你好！有什么我可以帮助你的吗？\"},{\"role\":\"user\",\"content\":\"你是谁\"}]]()\n\n2. 带流式返回的请求 to site you\n\n请求：\n\n[127.0.0.1:3000\u002Fask\u002Fstream?site=you&prompt=who are you]()\n\n响应：\n```\nevent: message\ndata: {\"content\":\"I\"}\n\nevent: message\ndata: {\"content\":\"'m\"}\n\nevent: message\ndata: {\"content\":\" a\"}\n\nevent: message\ndata: {\"content\":\" search\"}\n\nevent: message\ndata: {\"content\":\" assistant\"}\n........\nevent: done\ndata: {\"content\":\"done\"}\n```\n\n## 👥 聊天群组\n\n\u003Cimage src=\"https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fassets\u002F29322721\u002F311ba62d-e611-4aed-98f6-b34cf115866a\" width=240 \u002F>\n\n## 🌟 星级历史\n\n[![星级历史图表](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fxiangsx_gpt4free-ts_readme_77b0824b06df.png)](https:\u002F\u002Fstar-history.com\u002F#xiangsx\u002Fgpt4free-ts&&type=Date)\n\n\u003Cp>您可以通过以下链接加入我们的 Discord： \u003Ca href=\"https:\u002F\u002Fdiscord.com\u002Finvite\u002Fgpt4free\">discord.gg\u002Fgpt4free\u003Ca> 获取更多更新。 \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fgpt4free\">\u003Cimg align=\"center\" alt=\"gpt4free Discord\" width=\"22px\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fpeterthehan\u002Fpeterthehan\u002Fmaster\u002Fassets\u002Fdiscord.svg\" \u002F>\u003C\u002Fa>\u003C\u002Fp>\n\n这是一个针对 [gpt4free](https:\u002F\u002Fgithub.com\u002Fxtekky\u002Fgpt4free) 的 TypeScript 版本的复刻项目。\n\n\u003Cimg alt=\"gpt4free logo\" src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fxiangsx_gpt4free-ts_readme_969eeb496597.png\">\n\n## 法律声明 \u003Ca name=\"legal-notice\">\u003C\u002Fa>\n\n本仓库与本 GitHub 仓库中所包含 API 的提供方无任何关联，亦未获得其认可。本项目仅用于**教育目的**。这只是一个个人的小项目。相关网站如有意提升安全性或要求将其从本仓库中移除，可与我联系。\n\n请注意以下事项：\n\n1. **免责声明**：本仓库中提及的 API、服务及商标均归其各自所有者所有。本项目并不声称对它们拥有任何权利，也未与任何提及的提供商建立关联或获得其认可。\n\n2. **责任**：本仓库的作者对因使用或误用本仓库及其第三方 API 提供的内容而产生的任何后果、损害或损失不承担任何责任。用户需对其自身行为及其可能引发的任何影响自行负责。我们强烈建议用户遵守各网站的服务条款。\n\n3. **仅限教育用途**：本仓库及其内容仅供教育目的使用。通过使用其中的信息和代码，用户即表示已知悉并同意自行承担使用这些 API 和模型的风险，并承诺遵守所有适用的法律法规。\n\n4. **版权**：本仓库中的所有内容，包括但不限于代码、图片和文档，均为仓库作者的知识产权，除非另有说明。未经仓库作者明确书面许可，严禁擅自复制、分发或使用本仓库中的任何内容。\n\n5. **赔偿责任**：用户同意就因使用或误用本仓库、其内容或相关第三方 API 而产生或与其相关的任何索赔、责任、损害、损失或费用（包括法律费用）向本仓库的作者进行赔偿、辩护并使其免受损害。\n\n6. **更新与变更**：作者保留随时修改、更新或删除本仓库中任何内容、信息或功能的权利，恕不另行通知。用户有责任定期查看本仓库的内容及其变更情况。\n\n使用本仓库或与其相关的任何代码，即表示您同意上述条款。作者对其他用户所做的任何复制、分叉或重新上传行为不承担任何责任。这是作者唯一的账号和仓库。为防止冒充或不负责任的行为，您可以遵守本仓库所采用的 GNU GPL 许可协议。","# gpt4free-ts 快速上手指南\n\ngpt4free-ts 是一个 TypeScript 版本的开源项目，旨在通过逆向工程提供免费访问 OpenAI GPT-4 及其他大模型的 API 服务。本指南将帮助你快速在本地部署并使用该服务。\n\n## 环境准备\n\n在开始之前，请确保你的开发环境满足以下要求：\n\n*   **操作系统**：Linux, macOS 或 Windows (推荐 WSL2)\n*   **运行时环境**：\n    *   [Node.js](https:\u002F\u002Fnodejs.org\u002F) (建议 v16 及以上版本)\n    *   [Yarn](https:\u002F\u002Fyarnpkg.com\u002F) 包管理器\n*   **可选容器环境**：[Docker](https:\u002F\u002Fwww.docker.com\u002F) 及 Docker Compose (推荐用于生产环境或简化部署)\n*   **网络环境**：由于目标网站大多位于海外，若无法直接访问，需配置 HTTP 代理。\n\n## 安装步骤\n\n你可以选择本地源码运行或 Docker 容器运行。\n\n### 方法一：本地源码运行\n\n1.  **克隆项目**\n    ```bash\n    git clone https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts.git\n    cd gpt4free-ts\n    ```\n\n2.  **安装依赖**\n    ```bash\n    yarn\n    ```\n\n3.  **配置环境变量**\n    在项目根目录创建 `.env` 文件。如果你需要代理才能访问目标网站，请务必配置 `http_proxy`。\n    \n    ```env\n    # 如果需要代理，取消注释并填写地址；不需要则删除此行\n    http_proxy=http:\u002F\u002Fhost:port\n    \n    # 其他高级配置（如并发数、临时邮箱 API 等），初次使用可保持默认或留空\n    DEBUG=0\n    POOL_SIZE=1\n    ```\n\n4.  **启动服务**\n    ```bash\n    yarn start\n    ```\n    服务默认将在 `http:\u002F\u002F127.0.0.1:3000` 启动。\n\n### 方法二：Docker 运行（推荐）\n\n1.  **配置环境变量**\n    同样需要在当前目录创建 `.env` 文件（内容同上）。\n\n2.  **启动容器**\n    ```bash\n    docker run -p 3000:3000 --env-file .env xiangsx\u002Fgpt4free-ts:latest\n    ```\n\n    或者使用 `docker-compose`：\n    ```bash\n    docker-compose up --build -d\n    ```\n\n## 基本使用\n\n服务启动后，它提供了兼容 OpenAI 格式的 API 接口，同时也支持简单的问答接口。\n\n### 1. 查询支持的模型和站点\n\n首先可以通过以下接口查看当前可用的站点（Site）和模型（Model）：\n\n```bash\ncurl http:\u002F\u002F127.0.0.1:3000\u002Fsupports\n```\n\n### 2. 简单问答模式\n\n最直接的调用方式，适用于快速测试。\n\n*   **接口地址**: `http:\u002F\u002F127.0.0.1:3000\u002Fask`\n*   **请求方式**: `GET` 或 `POST`\n*   **参数**:\n    *   `prompt`: 用户问题（支持字符串或 JSON 格式的历史对话）\n    *   `model`: 模型名称 (默认 `gpt-3.5-turbo`)\n    *   `site`: 目标源站点 (默认 `you`)\n\n**示例命令：**\n\n```bash\n# 简单文本提问\ncurl \"http:\u002F\u002F127.0.0.1:3000\u002Fask?site=you&prompt=Hello\"\n\n# 带历史对话的提问 (prompt 需 URL 编码)\ncurl \"http:\u002F\u002F127.0.0.1:3000\u002Fask?site=you&prompt=[{\\\"role\\\":\\\"user\\\",\\\"content\\\":\\\"hello\\\"},{\\\"role\\\":\\\"assistant\\\",\\\"content\\\":\\\"Hi there!\\\"},{\\\"role\\\":\\\"user\\\",\\\"content\\\":\\\"who are you\\\"}]\"\n```\n\n**响应示例：**\n```json\n{\n  \"content\": \"I am an AI assistant...\"\n}\n```\n\n### 3. 流式输出模式 (Stream)\n\n推荐在生产环境中使用流式接口，以获得类似官方 ChatGPT 的打字机效果。\n\n*   **接口地址**: `http:\u002F\u002F127.0.0.1:3000\u002Fask\u002Fstream`\n*   **参数**: 同上 (`prompt`, `model`, `site`)\n\n**示例命令：**\n\n```bash\ncurl \"http:\u002F\u002F127.0.0.1:3000\u002Fask\u002Fstream?site=you&prompt=Write a short poem\"\n```\n\n**响应示例 (Server-Sent Events):**\n```text\nevent: message\ndata: {\"content\":\"The\"}\n\nevent: message\ndata: {\"content\":\" sun\"}\n\nevent: done\ndata: {\"content\":\"done\"}\n```\n\n### 4. 兼容 OpenAI 格式\n\n你可以直接将此服务作为 OpenAI API 的替代端点，适用于各种支持 OpenAI SDK 的客户端。\n\n*   **Base URL**: `http:\u002F\u002F127.0.0.1:3000\u002Fv1`\n*   **Chat 接口**: `\u002Fchat\u002Fcompletions`\n*   **指定站点**: 可以在 URL 中指定，如 `http:\u002F\u002F127.0.0.1:3000\u002Ffakeopen\u002Fv1\u002Fchat\u002Fcompletions` 或在参数中传递。\n\n> **注意**：由于该项目依赖于第三方网站的逆向接口，部分站点可能会随时失效。建议在使用前通过 `\u002Fsupports` 接口确认当前可用的站点，并优先选择稳定性较高的源（如 `fakeopen`, `better` 等，具体以实时查询为准）。","一位独立开发者正在构建一个基于多模型对比的智能写作助手，需要频繁调用 GPT-4 和 Claude 等高级模型来测试生成效果。\n\n### 没有 gpt4free-ts 时\n- **高昂的测试成本**：每次迭代都需要消耗昂贵的官方 API 额度，导致开发者不敢大规模运行自动化测试，严重拖慢研发进度。\n- **复杂的密钥管理**：为了降低成本不得不四处寻找免费的试用 Key 或切换多个账号，密钥经常失效且维护极其繁琐。\n- **模型接入受限**：想要同时对比 GPT-4、Claude 和 Llama 2 等不同厂商的模型表现，需要分别注册多家平台并对接不同的接口文档，开发工作量巨大。\n- **环境配置门槛高**：部分免费资源需要特定的网络环境或复杂的逆向工程才能获取，个人开发者难以稳定复现。\n\n### 使用 gpt4free-ts 后\n- **零成本无限测试**：直接通过 gpt4free-ts 提供的统一免费接口调用 GPT-4 和 Claude 等模型，彻底消除了 API 费用顾虑，支持全天候高频测试。\n- **统一的接入标准**：只需配置一个 API Base URL 和 Key，即可在代码中无缝切换十几种主流大模型，无需再为不同平台编写适配层。\n- **丰富的模型选择**：瞬间解锁包括 `gpt-4-all`、`claude-100k` 及各类开源模型在内的丰富资源，轻松实现多模型效果横向对比。\n- **开箱即用的体验**：简单的 `.env` 配置即可启动服务，内置的地址池自动处理可用源，让开发者专注于业务逻辑而非底层连接维护。\n\ngpt4free-ts 将原本昂贵且碎片化的大模型调用转化为低成本、标准化的开发流程，极大降低了个人开发者创新试错的门槛。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fxiangsx_gpt4free-ts_969eeb49.png","xiangsx","Xiang","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fxiangsx_61f07a7a.jpg","😁😁😁",null,"shanghai","1984871009@qq.com","https:\u002F\u002Fwww.gptgod.site","https:\u002F\u002Fgithub.com\u002Fxiangsx",[86,90,94],{"name":87,"color":88,"percentage":89},"TypeScript","#3178c6",67.9,{"name":91,"color":92,"percentage":93},"JavaScript","#f1e05a",32,{"name":95,"color":96,"percentage":97},"Dockerfile","#384d54",0,7742,1354,"2026-04-04T19:54:04","GPL-3.0","Linux, macOS, Windows","未说明","未说明（并发池大小增加会增加内存占用）",{"notes":106,"python":103,"dependencies":107},"该项目为 TypeScript 版本，非 Python 项目。运行前必须创建 .env 配置文件。支持通过代理访问目标网站。部分功能需要配置 RapidAPI 密钥以接收临时注册邮件。建议使用 Docker 部署。主要依赖 Node.js 环境和 yarn 包管理器，无需 GPU。",[108,109,110],"Node.js","yarn","docker (可选)",[15,26,53],[113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"gpt4free","nodejs","typescript","chatgpt","chatbot","chatbots","chatgpt-free","chatgpt4","free-gpt","gpt","gpt-3","gpt-35-turbo","gpt-4","gpt4","gpt4-api","openai",5,"2026-03-27T02:49:30.150509","2026-04-06T05:44:07.623532",[133,138,143,148,153,158,163],{"id":134,"question_zh":135,"answer_zh":136,"source_url":137},10257,"本地启动项目时如何配置 rapid_api_key 和环境变量？","在本地使用 `yarn start` 启动时，需创建 `.env` 文件进行配置。注意：配置项后面的注释必须全部删除，否则会导致解析失败。正确的格式示例如下：\nhttp_proxy=http:\u002F\u002Fhost:port\nrapid_api_key=xxxxxxxxxx\nEMAIL_TYPE=temp-email44\nDEBUG=0\nPOOL_SIZE=3","https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fissues\u002F50",{"id":139,"question_zh":140,"answer_zh":141,"source_url":142},10258,"为什么 forefront 模型报错 'you not support model forefront' 或无法使用？","Forefront 模型可能因官方策略调整、封禁或需要付费而暂时不可用。维护者表示为了规避封号风险，有时会移除该模型支持。建议暂时切换使用其他可用的 GPT-3.5 模型，或者等待代码更新后再试。","https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fissues\u002F68",{"id":144,"question_zh":145,"answer_zh":146,"source_url":147},10259,"使用 Docker 部署时出现 'Timeout exceeded' 或请求超时错误怎么办？","该问题通常是由于服务器内存不足导致的。尝试关闭服务器上其他消耗内存的服务，释放资源后通常可以恢复正常。如果是在低配置服务器上运行，建议增加内存或优化其他进程。","https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fissues\u002F100",{"id":149,"question_zh":150,"answer_zh":151,"source_url":152},10260,"Forefront 模型报错 'TimeoutError: Waiting for selector' 或临时邮箱服务受限如何解决？","默认的 tempmail44 服务有每日调用次数限制（约 100 次）且响应较慢，容易导致超时。解决方案包括：\n1. 如果有信用卡，可以更改配置使用不带 '44' 的 TempEmail 服务。\n2. 参考社区提供的替代方案（如 https:\u002F\u002Fgithub.com\u002FHuanLinOTO\u002Ftemp-email）自行搭建临时邮箱服务。\n3. 等待项目更新以支持新的邮箱服务逻辑。","https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fissues\u002F36",{"id":154,"question_zh":155,"answer_zh":156,"source_url":157},10261,"curl 请求返回中文文本导致 'SyntaxError: Unexpected token in JSON' 错误是怎么回事？","这通常是因为请求未能正确获取 JSON 响应，而是直接返回了欢迎语或错误提示文本。关于上下文保留：GPT-4 免费账号通常只有 5 次对话限制，之后需更换账号；如果使用 GPT-3.5 模型，可以通过在请求 URL 中传递 `chatid` 参数来保留上下文对话历史。","https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fissues\u002F11",{"id":159,"question_zh":160,"answer_zh":161,"source_url":162},10262,"启动服务后访问网页显示 'Not Found' 是什么原因？","该项目主要设计为 API 后端服务，默认可能不提供前端网页界面，或者需要特定的路由配置。出现 'Not Found' 通常是因为直接访问了根路径而非 API 接口地址。请仔细阅读 README 文档中关于 API 调用的说明，直接使用 curl 或代码调用 `\u002Fask` 等接口，而不是访问首页。","https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fissues\u002F47",{"id":164,"question_zh":165,"answer_zh":166,"source_url":167},10263,"Forefront 模型返回流式响应（Stream Response）导致解析错误或 Bad Response 怎么办？","这是由于临时邮箱服务（TempEmail44）达到每日限制或响应异常导致的。如果拥有信用卡验证过的账号，可以尝试修改配置将邮箱类型从 'temp-email44' 改为 'temp-email' 以绕过限制。此外，确保代码已更新到最新版本以支持最新的响应格式处理。","https:\u002F\u002Fgithub.com\u002Fxiangsx\u002Fgpt4free-ts\u002Fissues\u002F4",[169,173],{"id":170,"version":171,"summary_zh":80,"released_at":172},107516,"v0.0.6","2023-05-14T03:14:48",{"id":174,"version":175,"summary_zh":80,"released_at":176},107517,"v0.0.5","2023-05-13T04:10:53"]