{"id":40418242,"url":"https://github.com/misteo/mxu","last_synced_at":"2026-05-03T22:01:07.068Z","repository":{"id":333147954,"uuid":"1136333776","full_name":"MistEO/MXU","owner":"MistEO","description":"MaaFramework Next UI","archived":false,"fork":false,"pushed_at":"2026-05-03T19:56:20.000Z","size":1991,"stargazers_count":60,"open_issues_count":18,"forks_count":38,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-03T21:26:43.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MistEO.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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-17T13:57:49.000Z","updated_at":"2026-05-03T19:54:46.000Z","dependencies_parsed_at":"2026-01-23T19:02:22.165Z","dependency_job_id":null,"html_url":"https://github.com/MistEO/MXU","commit_stats":null,"previous_names":["misteo/mxu"],"tags_count":119,"template":false,"template_full_name":null,"purl":"pkg:github/MistEO/MXU","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MistEO%2FMXU","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MistEO%2FMXU/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MistEO%2FMXU/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MistEO%2FMXU/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MistEO","download_url":"https://codeload.github.com/MistEO/MXU/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MistEO%2FMXU/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-20T15:00:38.420Z","updated_at":"2026-05-03T22:01:07.030Z","avatar_url":"https://github.com/MistEO.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MXU\n\n**MXU** 是一个基于 [MaaFramework PI V2](https://github.com/MaaXYZ/MaaFramework/blob/main/docs/zh_cn/3.3-ProjectInterfaceV2%E5%8D%8F%E8%AE%AE.md) 协议的通用 GUI 客户端，使用 Tauri + React + TypeScript 构建。\n\n它可以解析任何符合 PI V2 标准的 `interface.json` 文件，为 MaaFramework 生态中的自动化项目提供开箱即用的图形界面。\n\n## ✨ 特性\n\n\u003e [!TIP]\n\u003e\n\u003e MXU 已支持最新最潮的 PI v2.5.0 协议！\n\n- 📋 **任务管理** - 可视化配置任务列表，支持拖拽排序\n- 🔧 **多实例支持** - 同时管理多个独立运行的实例（标签页多开）\n- 🎮 **多控制器类型** - 支持 Adb、Win32、PlayCover、Gamepad\n- 🌍 **国际化** - 界面内置多种语言，自动加载 `interface.json` 中的翻译\n- 🎨 **明暗主题** - 支持 Light/Dark 主题切换\n- 📱 **实时截图** - 显示设备实时画面，可自定义帧率\n- 📝 **运行日志** - 查看任务执行日志和 Agent 输出\n- ⏰ **定时任务** - 支持配置定时执行策略\n- 🔄 **自动更新** - 支持 MirrorChyan 和 GitHub 自动下载更新\n- 🤖 **Agent 支持** - 支持 MaaAgentClient 实现自定义识别器和动作\n\n## 🚀 快速开始\n\n### 依赖文件\n\n[MXU Releases](https://github.com/MistEO/MXU/releases) 中提供了单可执行文件（Windows 为 `mxu.exe`，Linux/macOS 为 `mxu`），您需要配置以下依赖：\n\n- [MaaFramework](https://github.com/MaaXYZ/MaaFramework/releases) 运行库 ( \u003e= `v5.5.0-beta.1` ) ，将压缩包中的 `bin` 文件夹内容解压到 `maafw` 文件夹中\n- [interface.json](https://github.com/MaaXYZ/MaaFramework/blob/main/sample/interface.json) 及相关资源文件，请参考 [PI 协议文档](https://github.com/MaaXYZ/MaaFramework/blob/main/docs/zh_cn/3.3-ProjectInterfaceV2%E5%8D%8F%E8%AE%AE.md) 编写\n\n目录结构如下\n\n```text\nyour-project/\n├── mxu.exe (或 mxu)\n├── maafw/\n│   ├── MaaFramework.dll (Windows)\n│   ├── MaaToolkit.dll\n│   └── ... 其他依赖库\n├── interface.json\n└── resource/\n```\n\n随后运行 `mxu.exe`（Windows）或 `./mxu`（Linux/macOS）即可！~\n\n### 命令行参数\n\nMXU 支持以下启动参数：\n\n| 参数                                  | 功能                   | 说明                                                                                                                                                        |\n| ------------------------------------- | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `-h` / `--help`                       | 显示帮助信息           | 输出 MXU 当前支持的命令行参数说明并退出，不启动图形界面。                                                                                                   |\n| `--autostart`                         | 标记为“开机自启动”启动 | 进入开机自启动模式，并触发自动执行逻辑。该参数主要由 MXU 创建的系统自启动任务自动传入，通常无需手动设置。                                                   |\n| `-i \u003c实例名\u003e` / `--instance \u003c实例名\u003e` | 指定要自动启动的实例   | 仅在 `--autostart` 模式下生效。若指定的实例名存在，则优先使用该实例，而不是设置中配置的默认自动执行实例。也支持 `-i=\u003c实例名\u003e`、`--instance=\u003c实例名\u003e` 写法。 |\n| `-q` / `--quit-after-run`             | 自动执行完成后退出程序 | 当本次启动实际触发了自动执行后，等待任务结束并自动关闭 MXU，适合配合自启动场景做“一次性后台执行”。                                                          |\n\n示例：\n\n```bash\n# 查看命令行帮助\nmxu.exe --help\n\n# 使用系统自启动模式，并指定自动执行的实例名\nmxu.exe --autostart --instance \"日常任务\"\n\n# 自动执行完成后自动退出\nmxu.exe --autostart -i \"日常任务\" --quit-after-run\n```\n\n### 用户文件\n\n用户配置保存在 `config` 文件夹中，调试日志保存在 `debug` 文件夹中。亦可在 设置 - 调试 中直接打开文件夹。\n\n## 📖 开发调试\n\n### 安装依赖\n\n**Node.js** (\u003e= 18)\n\n```bash\n# macOS (Homebrew)\nbrew install node\n\n# Windows (winget)\nwinget install OpenJS.NodeJS\n```\n\n**pnpm** (\u003e= 8)\n\n```bash\nnpm install -g pnpm\n```\n\n**Rust** (\u003e= 1.70)\n\n```bash\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\nsource $HOME/.cargo/env\n```\n\n\u003c!-- markdownlint-disable MD036 --\u003e\n\n**项目依赖**\n\n\u003c!-- markdownlint-enable MD036 --\u003e\n\n```bash\npnpm install\n```\n\n### 开发调试\n\n```bash\npnpm tauri dev\n```\n\n启动前端开发服务器和 Tauri 桌面应用，支持热重载。\n\n### 生产构建\n\n```bash\npnpm tauri build\n```\n\n构建产物位于 `src-tauri/target/release/` 目录。\n\n## 🧭 开发说明\n\nMXU 在很大程度上属于 **vibe coding**：开发与产品决策主要由维护者的直觉、审美与真实使用场景驱动，在主观判断下保持体验一致，而不是先锁定一份长期冻结的技术蓝图或与外部共识逐条对齐。由此，仓库整体是**产品导向**而非技术导向——优先级放在**用户体验**与**运行稳定性**上；实现方式、工程「潮流」或技术细节并非讨论焦点。\n\n关于贡献与合并预期，请事先了解：\n\n- **缺陷修复**：欢迎直接提交 Pull Request；聚焦问题、范围清晰的修复通常更易审阅与合入。\n- **新功能、重构或行为/交互层面的较大改动**：维护者会按产品方向与一致性独立判断，**不保证接受**。若未经事先沟通就投入大量开发，存在合入被拒的可能。\n- **小众与极客向功能**：仅服务于极少数场景、或需要大量背景知识才能理解的价值主张，**大概率不会通过**。维护者优先面向大多数用户保持界面清晰；每多一个入口、开关或选项，都会抬高学习与决策成本，因此会刻意控制功能暴露面。\n- **建议流程**：若计划增加能力或调整架构/交互，请先提交 **Issue** 说明动机、用户场景与拟定方案，与维护者对齐设计后再实现，以减少无效劳动与预期落差。\n\n_说白了就是：怎么写、合什么，主要看维护者顺不顺眼、普通用户会不会多背一层菜单；不是堆技术秀肌肉，也没法照单全收所有点子。想上大改动先开个 Issue 对一下，比闷头做完被拒省心。_\n\n感谢配合与理解。\n\n## 🤝 相关项目\n\n- [MaaFramework](https://github.com/MaaXYZ/MaaFramework) - 基于图像识别的自动化黑盒测试框架\n\n## 📄 License\n\n[GNU Affero General Public License v3.0](LICENSE)\n\n## ❤️ 鸣谢\n\n感谢以下开发者对 MXU 作出的贡献：\n\n[![贡献者](https://contrib.rocks/image?repo=MistEO/MXU\u0026max=1000)](https://github.com/MistEO/MXU/graphs/contributors)\n\n## ☕ 赞助\n\n\u003c!-- markdownlint-disable MD033 MD045 --\u003e\n\u003ca href=\"https://afdian.com/a/misteo\"\u003e\n  \u003cimg width=\"200\" src=\"https://pic1.afdiancdn.com/static/img/welcome/button-sponsorme.png\"\u003e\n\u003c/a\u003e\n\u003c!-- markdownlint-enable MD033 MD045 --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisteo%2Fmxu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmisteo%2Fmxu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisteo%2Fmxu/lists"}