[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82507":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},82507,"AiMaMi","borawong\u002FAiMaMi","borawong","为OpenAI Codex打造的桌面伴侣。",null,"TypeScript",1190,88,1,55,0,47,153,181,141,18.85,"Apache License 2.0",false,"main",true,[],"2026-06-12 02:04:26","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fapp-icon-composed.png\" alt=\"AiMaMi\" width=\"128\" height=\"128\" \u002F>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">AiMaMi\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cstrong>A native desktop companion for OpenAI Codex — manage accounts, routing, sessions, and local configuration in one place.\u003C\u002Fstrong>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  English · \u003Ca href=\".\u002FREADME-cn.md\">简体中文\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## Overview\n\nCodex stores accounts, sessions, MCP entries, Skills, smart-router settings, and relay configuration across multiple files under `~\u002F.codex`. Multi-account switching, quota exhaustion, third-party model setup, session cleanup, and config drift quickly turn day-to-day work into hand-editing TOML, JSON, and SQLite.\n\nAiMaMi is built with **Tauri 2, React, and Rust**. It consolidates these high-frequency workflows — including smart routing and relay management — into a single desktop app that reads and writes Codex data locally, reducing the risk of manual file edits.\n\n---\n\n## Core Capabilities\n\n| Module | Pain point addressed |\n| --- | --- |\n| **Account management** | Switching accounts by editing `auth.json`; scattered quota views; cumbersome import\u002Fexport |\n| **Auto-switch** | Work stops when 5-hour or weekly quota runs out; need automatic fallback and Codex restart |\n| **Smart router** | Use relay models inside Codex Desktop while keeping historical threads resumable |\n| **Relay management** | Provider setup, connectivity tests, import\u002Fexport, and router diagnostics |\n| **Session management** | Safely inspect, analyze, and bulk-clean local threads from the real index |\n| **MCP \u002F Skills** | Manage MCP entries and Skills lifecycle in the UI, with backup and restore |\n| **Plugins** | Unified toggles for built-in extensions (e.g. web tools, image support) |\n| **Custom instructions** | Manage only the AiMaMi-managed block in `~\u002F.codex\u002FAGENTS.md`, with preview and rollback |\n| **System maintenance** | Diagnose, clean, rebuild registry, force-quit Codex, fix common config issues |\n| **Settings & runtime** | Theme, language, quota refresh, API proxy, update checks; tray and macOS notch quota display |\n\n**Smart router note:** Relay models are forwarded through AiMaMi's local proxy. Keep AiMaMi running while Codex uses relay models.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fconsole.png\" alt=\"AiMaMi\" width=\"1200\" height=\"812\" \u002F>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002F88.png\" alt=\"AiMaMi community QR code\" width=\"400\" height=\"300\" \u002F>\n\u003C\u002Fp>\n\n---\n\n## Platform Support\n\n| Platform | Notes |\n| --- | --- |\n| macOS | Universal (Apple Silicon + Intel), macOS 12+ |\n| Windows | x64, NSIS installer |\n| Linux | Best-effort support for some workflows |\n\n---\n\n## Tech Stack\n\nTauri 2 · React 18 · TypeScript · Vite 6 · Tailwind CSS · shadcn\u002Fui · Rust\n\n---\n\n## Quick Start\n\n**Requirements:** Node.js · pnpm · Rust · [Tauri prerequisites](https:\u002F\u002Fv2.tauri.app\u002Fstart\u002Fprerequisites\u002F)\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fborawong\u002FAiMaMi.git\ncd AiMaMi\npnpm install\npnpm tauri dev\n```\n\n```bash\npnpm build                                        # Frontend build check\ncargo check --manifest-path src-tauri\u002FCargo.toml  # Rust check\npnpm tauri build                                  # Production build\n```\n\n---\n\n## Project Structure\n\n```text\nsrc\u002F           React frontend\nsrc-tauri\u002F     Tauri shell and Rust backend\nsrc\u002Flocales\u002F   i18n (en \u002F zh)\nscripts\u002F       Build and release scripts\nassets\u002F        Branding and documentation assets\n```\n\n---\n\n## Architecture\n\n```text\nReact UI ── invoke() ──▶ Tauri commands ──▶ core\u002F\n                                              ├── ~\u002F.codex          (Codex native)\n                                              └── ~\u002F.codex\u002Fcodexmate\u002F (AiMaMi app data)\n                         platform\u002F            macOS \u002F Windows implementations\n```\n\n---\n\n## Contributing\n\nIssues and pull requests are welcome. For larger changes, please open an issue first and keep local Codex data safety and reversibility in mind.\n\n---\n\n## License\n\n[Apache License 2.0](LICENSE)\n\n---\n\n## Disclaimer\n\nAiMaMi is an independent tool for local Codex workflows. It is not affiliated with, endorsed by, or sponsored by OpenAI. Use third-party relay services at your own risk and comply with their terms of service.\n","AiMaMi 是一个为 OpenAI Codex 设计的桌面伴侣应用，旨在统一管理账户、路由、会话和本地配置。它采用 Tauri 2、React 和 Rust 构建，能够集中处理多账号切换、智能路由、中继管理和会话清理等高频工作流，从而减少手动编辑文件的风险。该工具特别适合需要频繁使用 Codex 进行开发工作的用户，通过提供自动切换、智能路由及系统维护等功能，显著提升了工作效率与用户体验。",2,"2026-06-11 04:08:45","high_star"]