{"id":13642410,"url":"https://github.com/79e/chatgpt-web","last_synced_at":"2025-05-15T23:03:06.226Z","repository":{"id":155155947,"uuid":"632538509","full_name":"79E/ChatGpt-Web","owner":"79E","description":"A commercially-viable ChatGpt web application built with React. 使用React搭建的一款可商业化的ChatGpt Web应用。","archived":false,"fork":false,"pushed_at":"2025-04-03T17:41:54.000Z","size":654,"stargazers_count":1379,"open_issues_count":7,"forks_count":471,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-15T23:02:00.339Z","etag":null,"topics":["chat","chatbot","chatgpt","openai","react"],"latest_commit_sha":null,"homepage":"http://aizj.top","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/79E.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-25T16:02:35.000Z","updated_at":"2025-05-09T04:48:03.000Z","dependencies_parsed_at":"2024-07-30T23:08:47.695Z","dependency_job_id":null,"html_url":"https://github.com/79E/ChatGpt-Web","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/79E%2FChatGpt-Web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/79E%2FChatGpt-Web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/79E%2FChatGpt-Web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/79E%2FChatGpt-Web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/79E","download_url":"https://codeload.github.com/79E/ChatGpt-Web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436944,"owners_count":22070946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat","chatbot","chatgpt","openai","react"],"created_at":"2024-08-02T01:01:31.053Z","updated_at":"2025-05-15T23:03:06.194Z","avatar_url":"https://github.com/79E.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/beggar"],"categories":["Chatbots"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./src/assets/openai.svg\" style=\"width:64px;height:64px;margin:0 32px\" alt=\"icon\"/\u003e\n\n\u003ch1 align=\"center\"\u003eChatGPT Web\u003c/h1\u003e\n\nA commercially-viable ChatGpt web application built with React.\n\n可部署商业化的 ChatGpt 网页应用。\n\n[Issues](https://github.com/79E/ChatGPT-Web/issues) / [Buy Me a Coffee](https://www.buymeacoffee.com/beggar) / [赞助我](https://files.catbox.moe/o0znrg.JPG)\n[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/79E/ChatGpt-Web)\n\n\u003c/div\u003e\n\n## 交流\u0026赞助\n\u003ca href='https://t.me/+zMADkTgyzWMyYTk1' target='_blank'\u003e\n\u003cimg width='46%' style=\"border-radius: 12px;\" src='https://files.catbox.moe/o0znrg.JPG' /\u003e\n\u003c/a\u003e\n\u003ca href='https://t.me/+zMADkTgyzWMyYTk1' target='_blank'\u003e\n\u003cimg width='46%' style=\"border-radius: 12px;\" src='https://www.helloimg.com/images/2023/06/20/otDPwM.png' /\u003e\n\u003c/a\u003e\n\n\n## 🐶 演示\n### 页面链接\n\n[Web 演示: https://www.aizj.top/](https://www.aizj.top/)\n\n```\n演示地址：https://www.aizj.top\n后台地址：https://www.aizj.top/admin\n管理账号：admin@c.om\n管理密码：admin123\n```\n\n如需帮助请提交 [Issues](https://github.com/79E/ChatGPT-Web/issues) 或赞赏时留下联系方式。\n\n### 页面截图\n\n![cover](https://files.catbox.moe/tp963e.png)\n![cover](https://files.catbox.moe/y5avbx.png)\n![cover](https://files.catbox.moe/k16jsz.png)\n![cover](https://files.catbox.moe/8o5oja.png)\n\n## 🤖 主要功能\n\n- 后台管理系统,可对用户,Token,商品,卡密等进行管理\n- 精心设计的 UI，响应式设计\n- 极快的首屏加载速度（~100kb）\n- 支持Midjourney绘画和DALL·E模型绘画,GPT4等应用\n- 海量的内置 prompt 列表，来自[中文](https://github.com/PlexPt/awesome-chatgpt-prompts-zh)和[英文](https://github.com/f/awesome-chatgpt-prompts)\n- 一键导出聊天记录，完整的 Markdown 支持\n- 支持自定义API地址（如：[openAI](https://api.openai.com) / [API2D](https://api2d.com/r/192767)）\n\n## 🎮 开始使用\n**Node 环境**\n\n`node` 需要 `^16 || ^18 || ^19` 版本（node \u003e= 16.19.0），可以使用 nvm 管理本地多个 node 版本。\n\n```\n# 查看 node 版本\nnode -v\n\n# 查看 npm 版本\nnpm -v\n\n# 查看 yarn 版本\nyarn -v\n\n```\n\n**1.先 `Fork` 本项目，然后克隆到本地。**\n```\ngit clone https://github.com/79E/ChatGpt-Web.git\n```\n\n**2.安装依赖**\n```\nyarn install\n```\n\n**3.运行**\n```\n# web项目启动\nyarn dev:web\n```\n\n**4.打包**\n```\nyarn build\n```\n\n## ⛺️ 环境变量\n\n\u003e 如果是前后端分离模式部署项目则需要填以下配置\n\n#### `VITE_APP_REQUEST_HOST` \n\n请求服务端的`Host`地址。\n\n## 🚧 开发\n\n\u003e 强烈不建议在本地进行开发或者部署，由于一些技术原因，很难在本地配置好 OpenAI API 代理，除非你能保证可以直连 OpenAI 服务器。\n\n#### 本地开发\n\n1. 安装 nodejs 和 yarn具体细节请询问 ChatGPT\n2. 执行 `yarn install` 即可\n3. web项目开发 `yarn dev:web`\n4. 服务端项目开发 `yarn dev`\n5. 打包项目 `yarn build`\n\n#### 服务端\n\n1. 前端请求服务端的 [接口文档](https://console-docs.apipost.cn/preview/38826c52f656ef05/044846bd536b67bb) 你们可以按照这个接口文档进行开发\n2. 将Mysql sql文件导入到数据库中\n3. 配置好数据库的连接信息（server/config）\n3. 如需帮助请提交 [Issues](https://github.com/79E/ChatGPT-Web/issues) 或赞赏时留下联系方式。\n\n## 🎯 部署\n\u003e 直接将`WEB`项目打包好的 `dist` 目录上传到服务器即可。注意服务器IP地址位置！\n\n### Vercel\n如果你将其托管在自己的 Vercel 服务器上，可点击 deploy 按钮来开始你的部署！\n\n[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/79E/ChatGpt-Web)\n\n如需帮助请提交 [Issues](https://github.com/79E/ChatGPT-Web/issues) 或赞赏时留下联系方式。\n\n\n## 🧘 贡献者\n\n[见项目贡献者列表](https://github.com/79E/ChatGPT-Web/graphs/contributors)\n\n## 📋 开源协议\n\n[![License MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/79E/ChatGpt-Web/blob/master/license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F79e%2Fchatgpt-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F79e%2Fchatgpt-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F79e%2Fchatgpt-web/lists"}