{"id":50977845,"url":"https://github.com/element-plus-x/ruoyi-element-ai","last_synced_at":"2026-06-19T10:03:02.059Z","repository":{"id":288690798,"uuid":"968664173","full_name":"element-plus-x/ruoyi-element-ai","owner":"element-plus-x","description":"🎨🎨🎨 Vue3.5 + Element-Plus-X1.2 + ruoyiAI，推出仿豆包/通义，企业级AI-PC端应用模版，助力企业快速搭建-全栈AI项目","archived":false,"fork":false,"pushed_at":"2025-08-13T06:31:03.000Z","size":3525,"stargazers_count":242,"open_issues_count":13,"forks_count":58,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-13T08:27:33.109Z","etag":null,"topics":["ai","ai-template","element-plus","element-plus-x","ruoyi","ruoyi-ai","template"],"latest_commit_sha":null,"homepage":"https://chat.element-plus-x.com","language":"Vue","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/element-plus-x.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":"2025-04-18T13:54:45.000Z","updated_at":"2025-08-13T06:11:28.000Z","dependencies_parsed_at":"2025-04-19T10:47:12.156Z","dependency_job_id":"e8521a87-12cf-4b35-b10a-e9ff3b937dba","html_url":"https://github.com/element-plus-x/ruoyi-element-ai","commit_stats":null,"previous_names":["hejiayue520/ruoyi-element-ai","element-plus-x/ruoyi-element-ai"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/element-plus-x/ruoyi-element-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/element-plus-x%2Fruoyi-element-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/element-plus-x%2Fruoyi-element-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/element-plus-x%2Fruoyi-element-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/element-plus-x%2Fruoyi-element-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/element-plus-x","download_url":"https://codeload.github.com/element-plus-x/ruoyi-element-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/element-plus-x%2Fruoyi-element-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34526073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ai-template","element-plus","element-plus-x","ruoyi","ruoyi-ai","template"],"created_at":"2026-06-19T10:03:01.194Z","updated_at":"2026-06-19T10:03:02.054Z","avatar_url":"https://github.com/element-plus-x.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruoyi-element-ai\n\n\u003cdiv align=\"center\"\u003e\n\n  [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/element-plus-x/ruoyi-element-ai/blob/main/LICENSE)\u0026emsp;[![Vue 3.5](https://img.shields.io/badge/Vue-3.5-4FC08D?logo=vue.js)](https://vuejs.org/)\u0026emsp;[![Vite 5](https://img.shields.io/badge/Vite-5-646CFF?logo=vite)](https://vitejs.dev/)\u0026emsp;[![TypeScript 5.8](https://img.shields.io/badge/TypeScript-5.8-3178C6?logo=typescript)](https://www.typescriptlang.org/)\u0026emsp;[![GitHub Stars](https://img.shields.io/github/stars/element-plus-x/ruoyi-element-ai?style=social)](https://github.com/element-plus-x/ruoyi-element-ai)\u0026emsp;\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://cdn.element-plus-x.com/chat/1.webp\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n本项目 CDN 加速及安全防护由 Tencent EdgeOne 赞助\n\n[亚洲最佳CDN、边缘和安全解决方案 - Tencent EdgeOne](https://edgeone.ai/zh?from=github)\n\n\u003cimg src=\"readme/edgeone.png\"/\u003e\n\n\u003c/div\u003e\n\n## 🚀 项目亮点\n\n**ruoyi-element-ai** 是基于 **Vue3.5** + **Element-Plus-X** + **hook-fetch** + **TypeScript** + **Eslint9** 开发的企业级AI应用模板，搭配 **ruoyi-ai** 后端，快速构建仿豆包/通义的全栈AI项目。\n\n## 💡 核心优势\n- 最新技术栈：Vue3.5+/Vite6/Pinia3/TypeScript5\n- 流式交互：Hook-Fetch支持Server-Sent Events，插件化写法优雅的一批\n- 企业级规范：ESLint/Stylelint/husky/commitlint全链路校验\n- 全栈项目：集成 ruoyi-ai 后端服务，快速开发\n- 开箱即用：内置动态路由、状态管理、组件库封装、hooks封装\n\n## 🎯 开发文档\n\n帮助你快速熟悉项目\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://cdn.element-plus-x.com/chat/docs1.webp\" /\u003e\n\u003c/div\u003e\n\n## 🔗 关键链接\n\n| 功能模块         | 说明                          | 链接                                                                 |\n|------------------|-------------------------------|----------------------------------------------------------------------|\n| 🚀 前端仓库 | Gitee/GitHub 代码仓库(感谢 star🥰爱你爱你😘) | [Gitee](https://gitee.com/he-jiayue/ruoyi-element-ai) \u003cbr\u003e [GitHub](https://github.com/element-plus-x/ruoyi-element-ai) |\n| 🛠️ 后端仓库 | Java服务，功能丰富强大      |   [Gitee](https://gitee.com/ageerle/ruoyi-ai) \u003cbr\u003e [GitHub](https://github.com/ageerle/ruoyi-ai)    |\n| 📚 前端文档 | 开发指南/项目说明              | [快速了解项目](https://chat-docs.element-plus-x.com)       |\n| 📡 在线演示 | 实时交互体验                    | [在线预览](https://chat.element-plus-x.com)                          |\n\n## 🧰 核心功能\n\n- 使用 Vue3.5+ 各种新特性的支持，让开发更有效率\n- 采用 Vite6.3+ 作为项目开发、打包工具\n- 使用 Pinia3.0+ 作为全局状态管理库，轻量、优雅、易用，集成 Pinia 持久化插件\n- 使用 TypeScript5.8+ 增强项目的代码规范和可读性\n- 使用 Unocss 预设样式，更快书写简单的样式\n- 弃用 Axios (不支持流式请求) 改用 Hook-Fetch (支持流模式，插件化封装，写法极度优雅) 进行全局的请求封装\n- 使用 VueRouter 配置动态路由权限拦截、路由懒加载\n- 使用 KeepAlive 对页面进行缓存\n- 封装了一些好用的组件和Hooks，增强用户交互体验\n- 使用   ESLint9+、Stylelint16+ 代码校验规范、同时统一保存格式化代码\n- 使用 husky、lint-staged、commitlint、cz-git 规范提交信息\n\n## 📦 安装与运行\n\n```bash\n# 克隆项目\n# Gitee\ngit clone https://gitee.com/he-jiayue/ruoyi-element-ai.git\n# GitHub\ngit clone https://github.com/element-plus-x/ruoyi-element-ai.git\ncd ruoyi-element-ai\n\n# 安装依赖（推荐pnpm 避免幻影依赖）\npnpm install\n\n# 开发模式\npnpm run dev\n\n# 生产构建\npnpm build\n\n# 代码校验\npnpm lint          # ESLint检测\npnpm lint:stylelint # 样式格式化\npnpm cz            # 规范提交（自动执行lint）\n```\n\n## 🧸 即将推出 （含 ruoyi-ai 接口联调）\n- [x] 会话管理\n- [x] 发送消息\n- [x] 登录注册\n- [ ] md 渲染\n- [ ] 编辑输入框\n- [ ] 文件上传\n- [ ] 其他...\n\n## 🤝 社区支持\n| 👨‍👨‍👧‍👦 微信交流群                          | 💩 作者微信                          |\n|---------------------------------------|-------------------------------------|\n| \u003cimg src=\"https://cdn.element-plus-x.com/vx-2025-07-28.png\" alt=\"微信交流群\" width=\"230px\" height=\"300px\" \u003e\u003cbr\u003e扫码加入交流群\u003cbr\u003e获取最新动态与技术支持 | \u003cimg src=\"https://cdn.element-plus-x.com/vx.png\" alt=\"作者vx\" width=\"230px\" height=\"300px\" \u003e\u003cbr\u003e群过期或失效？\u003cbr\u003e扫码添加作者微信 |\n\n## 🌹 赠人玫瑰，手有余香\n\u003cdiv align=\"center\"\u003e\n\u003cp\u003e😍开源是热爱的坚持，您的每一份心意都让我们走得更远～😍\u003c/p\u003e\n\u003cimg src=\"https://cdn.element-plus-x.com/zs1.webp\" alt=\"赞赏\" width=\"230px\" height=\"100%\" /\u003e\n\u003ch3 style=\"color: #fa8c16; margin-bottom: 10px;\"\u003e🙊扫码赞赏，感谢您的支持！🙊\u003c/h3\u003e\n\u003cp style=\"color: #666; margin: 15px 0;\"\u003e💖感谢每一份温暖助力💖\u003c/p\u003e\n\u003cp style=\"color: #666; margin: 15px 0;\"\u003e💌 后续将截图保留，并公示赞赏记录 💌\u003c/p\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felement-plus-x%2Fruoyi-element-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felement-plus-x%2Fruoyi-element-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felement-plus-x%2Fruoyi-element-ai/lists"}