{"id":14007282,"url":"https://github.com/xiaochen0517/chat-gpt-box","last_synced_at":"2025-07-24T01:31:25.957Z","repository":{"id":154520052,"uuid":"629380419","full_name":"xiaochen0517/chat-gpt-box","owner":"xiaochen0517","description":"Cross-platform ChatGPTBox, supporting GPT/ DALL-E/Gemini API.","archived":false,"fork":false,"pushed_at":"2024-08-01T11:53:08.000Z","size":5040,"stargazers_count":16,"open_issues_count":4,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-05T02:55:29.227Z","etag":null,"topics":["chatgpt","dall-e","gemini","openai","tauri","vue"],"latest_commit_sha":null,"homepage":"https://chat.mochen.fun/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaochen0517.png","metadata":{"files":{"readme":"README-CN.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-18T07:42:14.000Z","updated_at":"2024-08-05T02:55:33.105Z","dependencies_parsed_at":"2023-12-23T01:41:32.260Z","dependency_job_id":"0763be03-21ed-48af-b6c2-c519f337ffd2","html_url":"https://github.com/xiaochen0517/chat-gpt-box","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaochen0517%2Fchat-gpt-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaochen0517%2Fchat-gpt-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaochen0517%2Fchat-gpt-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaochen0517%2Fchat-gpt-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaochen0517","download_url":"https://codeload.github.com/xiaochen0517/chat-gpt-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":214780402,"owners_count":15783765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","dall-e","gemini","openai","tauri","vue"],"created_at":"2024-08-10T10:01:58.108Z","updated_at":"2025-07-24T01:31:25.945Z","avatar_url":"https://github.com/xiaochen0517.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003e\n\u003cimg src=\"./doc/icon.png\" alt=\"icon\" width=\"30\" style=\"background-color: white;border-radius: 5px;\"\u003e\n\u003cspan\u003eChatGPTBox\u003c/span\u003e\n\u003c/h2\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"./README.md\"\u003eEnglish\u003c/a\u003e | 简体中文\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cem\u003e跨平台ChatGPT工具箱，支持 OpenAI GPT \u0026 DALL-E，Google Gemini，Ollama。\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"windows\" src=\"https://img.shields.io/badge/windows-\u003e=7-brightgreen?logo=microsoft\"\u003e\n    \u003cimg alt=\"ubuntu\" src=\"https://img.shields.io/badge/ubuntu-\u003e=20-orange?logo=ubuntu\"\u003e\n    \u003cimg alt=\"macOS\" src=\"https://img.shields.io/badge/macOS-\u003e=10-blue?logo=apple\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"windows\" width=\"80%\" src=\"./doc/use_example.jpeg\"\u003e\n\u003c/p\u003e\n\n## 特性\n\n- 支持多平台，Windows、Linux 和 macOS\n- 可单独自定义聊天配置，多聊天配置互不干扰\n- 单聊天配置支持多标签页，可同时打开多个聊天窗口\n- 全局快捷键支持，可自定义快捷键\n\n## 规划\n\n- [x] 多标签页\n- [x] 快捷键设置\n- [x] 深色模式切换\n- [x] 多模型支持\n- [x] DALL·E 图片生成\n- [x] Google Gemini\n- [x] Ollama 支持\n- [x] 多语言支持\n\n## 教程\n\n### 下载\n\n下载最新版本：[GitHub Release](https://github.com/xiaochen0517/chat-gpt-box/releases)\n\n### 安装\n\n#### Windows\n\n运行安装 `msi` 或者 `exe` 文件即可。\n\n#### Linux\n\n由于 `tauri` 需要 `webkit2gtk` 支持，所以需要安装 `webkit2gtk`。\n\n```shell\n# 安装webkit2gtk环境\nsudo apt install libwebkit2gtk-4.1-0\n\n# 安装deb包\nsudo dpkg -i chat-gpt-box_*.*.*_amd64.deb\n```\n\n#### macOS\n\n直接运行 `dmg` 文件，将 `ChatGPTBox.app` 拖到 `Applications` 文件夹，\n随后打开 `Finder`，右键 `ChatGPTBox.app`，选择 `打开`，即可打开应用。\n\n### Cloudflare Workers 部署\n\n由于中国大陆地区无法访问 `openai` 的 `api`，所以需要使用 `Cloudflare Workers` 进行中转。\n\n1. 注册 `Cloudflare` 账号\n2. 注册域名\n3. 创建 `Cloudflare Workers`\n4. 将域名绑定到 `Cloudflare Workers`\n5. 添加以下代码到 `Cloudflare Workers`\n\n```javascript\nconst TELEGRAPH_URL = 'https://api.openai.com';\n\naddEventListener('fetch', event =\u003e {\n  event.respondWith(handleRequest(event.request))\n})\n\nasync function handleRequest(request) {\n  const url = new URL(request.url);\n  const headers_Origin = request.headers.get(\"Access-Control-Allow-Origin\") || \"*\"\n  url.host = TELEGRAPH_URL.replace(/^https?:\\/\\//, '');\n  const modifiedRequest = new Request(url.toString(), {\n    headers: request.headers,\n    method: request.method,\n    body: request.body,\n    redirect: 'follow'\n  });\n  const response = await fetch(modifiedRequest);\n  const modifiedResponse = new Response(response.body, response);\n  // 添加允许跨域访问的响应头\n  modifiedResponse.headers.set('Access-Control-Allow-Origin', headers_Origin);\n  return modifiedResponse;\n}\n```\n\n\u003e 详细内容可自行搜索 `Cloudflare Workers` 部署教程。\n\n### 进阶\n\n- [使用文档](./doc/doc-cn.md)\n\n## 联系我\n\n- [邮箱](mailto:xiaochen0517@qq.com)\n\n## 许可证\n\n[Apache License v2.0](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaochen0517%2Fchat-gpt-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaochen0517%2Fchat-gpt-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaochen0517%2Fchat-gpt-box/lists"}