{"id":27725209,"url":"https://github.com/Hyk260/PureChat","last_synced_at":"2025-04-27T19:01:32.041Z","repository":{"id":145091186,"uuid":"555659262","full_name":"Hyk260/PureChat","owner":"Hyk260","description":"PureChat 是一款基于 Vue3 + ElementPlus，结合 AI 和前沿技术的聊天应用，内置OpenAI，Ollama，DeepSeek等大语言模型，支持 Markdown 渲染，聊天记录生成截图，主题切换，助力开发者快速掌握现代技术。","archived":false,"fork":false,"pushed_at":"2025-04-18T02:15:06.000Z","size":39702,"stargazers_count":371,"open_issues_count":0,"forks_count":61,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-18T15:17:08.334Z","etag":null,"topics":["ai","chat","chatgpt","electron","element-plus","javascript","ollama","openai","tailwindcss","vercel","vite","vue3","wangeditor5"],"latest_commit_sha":null,"homepage":"https://purechat.cn","language":"JavaScript","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/Hyk260.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,"zenodo":null}},"created_at":"2022-10-22T02:57:31.000Z","updated_at":"2025-04-18T14:52:27.000Z","dependencies_parsed_at":"2025-04-18T03:45:54.558Z","dependency_job_id":"40d74998-cac3-40dc-8369-ca89580e981a","html_url":"https://github.com/Hyk260/PureChat","commit_stats":null,"previous_names":["hyk260/purechat"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyk260%2FPureChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyk260%2FPureChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyk260%2FPureChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hyk260%2FPureChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hyk260","download_url":"https://codeload.github.com/Hyk260/PureChat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251191489,"owners_count":21550140,"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":["ai","chat","chatgpt","electron","element-plus","javascript","ollama","openai","tailwindcss","vercel","vite","vue3","wangeditor5"],"created_at":"2025-04-27T19:01:28.838Z","updated_at":"2025-04-27T19:01:32.013Z","avatar_url":"https://github.com/Hyk260.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca\u003e\n    \u003cimg src=\"./images/log.png\" alt=\"logo\" width=\"128\" height=\"128\"\u003e\n  \u003c/a\u003e\n  \u003ch2 align=\"center\" style=\"font-weight: 600;font: bold 200% Consolas, Monaco, monospace;color: #999;\" \u003e\n    PureChat\n  \u003c/h2\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cspan\u003e聊天应用与AI开发框架\u003c/span\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://purechat.cn\" target=\"blank\"\u003e\n      \u003cstrong\u003e🌎 在线预览\u003c/strong\u003e\n    \u003c/a\u003e\n    \u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://jq.qq.com/?_wv=1027\u0026k=Cd4Ihd2J\" target=\"blank\"\u003e\n      \u003cstrong\u003e💬 联系作者\u003c/strong\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n[![Web][Web-image]][web-url]\n[![Windows][Windows-image]][download-url]\n[![MacOS][MacOS-image]][download-url]\n\n\u003c!-- SHIELD GROUP --\u003e\n\n[![GitHub license](https://img.shields.io/github/license/Hyk260/PureChat)](https://github.com/Hyk260/PureChat/blob/master/LICENSE)\n[![Stars](https://img.shields.io/github/stars/Hyk260/PureChat.svg)](https://github.com/Hyk260/PureChat/stargazers)\n[![Forks](https://img.shields.io/github/forks/Hyk260/PureChat.svg)](https://github.com/Hyk260/PureChat/network/members)\n\n## 简介\n\n[反馈](https://github.com/Hyk260/PureChat/issues) /\n[QQ 群](https://github.com/Hyk260/PureChat/discussions/2) /\n[打赏开发者](./images/weix.png) /\n[文档](https://docs.purechat.cn) /\n[更新日志](https://docs.purechat.cn/other/logs.html)\n\n### 🎉 特性\n\n- 📦️ 基于Vue3，Vite5构建高效应用\n- 📸 聊天记录支持生成截图并支持一键复制\n- 💡 会话基于腾讯IM即时通讯SDK\n- 🌙 根据系统主题自动切换光明与黑暗模式\n- 📝 支持Markdown渲染，代码高亮，链接识别\n- 🛡️ GitHub快速登录，享受无缝社交体验\n- ☁️ 多模型支持OpenAI、Ollama、DeepSeek 等，支持联网搜索，流式输出，深度思考，自定义预设提示词\n- ✨ 提供桌面应用Electron版本，支持macOS(.dmg)与Windows(.exe)\n- 🛠  更多特性持续开发中\n\n### 环境配置\n\n本地环境需要安装 Node.js 18.20+\n\n### 克隆代码\n\n```bash\ngit clone https://github.com/Hyk260/PureChat.git\n```\n\n### 安装依赖\n\n```bash\npnpm install\n```\n\n### 启动项目\n\n```bash\npnpm dev\n```\n\n### 打包\n\n```bash\npnpm build\n```\n\n### Star History\n\u003c!-- https://star-history.com/ --\u003e\n\u003c!-- ![Star History](./images/star-history.png) --\u003e\n\n[![Star History Chart](https://api.star-history.com/svg?repos=Hyk260/PureChat\u0026type=Date)](https://www.star-history.com/#Hyk260/PureChat\u0026Date)\n\n### 🖼️ 截图\n\n\u003cimg src=\"./images/chat.png\"\u003e\n\n\u003cimg src=\"./images/discover.png\"\u003e\n\n\u003cimg src=\"./images/config.png\"\u003e\n\n\u003cimg src=\"./images/screenshot.png\"\u003e\n\n### 环境变量\n\n本项目提供了一些额外的配置项，使用环境变量进行设置：\n\n| 环境变量                | 类型 |                             描述                             |                             示例                             |\n| :---------------------- | :--: | :----------------------------------------------------------: | :----------------------------------------------------------: |\n| `VITE_OPENAI_API_KEY`   | 必选 |                       OpenAI API 密钥                        |                     `sk-xxxxxx...xxxxxx`                     |\n| `VITE_OPENAI_PROXY_URL` | 可选 |   OpenAI 接口代理，此配置可以覆盖默认 OpenAI API 基础 URL    | `https://aihubmix.com/v1`\u003cbr/\u003e默认值:\u003cbr/\u003e`https://api.openai.com/v1` |\n| `VITE_IM_SDK_APPID`     | 必选 |     腾讯IM SDKAppID https://cloud.tencent.com/product/im     |                           `xxxxxx`                           |\n| `VITE_SERVICE_BASE_URL` | 必选 |                          服务器地址                          |                   `https://your.api.com/`                    |                          `Y`                              |\n\n\u003c!-- LINK GROUP --\u003e\n\n[web-url]: https://purechat.cn\n[download-url]: https://github.com/Hyk260/PureChat/releases\n[Web-image]: https://img.shields.io/badge/Web-orange?logo=microsoftedge\n[Windows-image]: https://img.shields.io/badge/-Windows-blue?logo=windows\n[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHyk260%2FPureChat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHyk260%2FPureChat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHyk260%2FPureChat/lists"}