{"id":46641420,"url":"https://github.com/lmk1010/easyaiconfig","last_synced_at":"2026-04-08T04:02:39.476Z","repository":{"id":342793997,"uuid":"1175180846","full_name":"lmk1010/EasyAIConfig","owner":"lmk1010","description":"简单安装配置OpenClaw 龙虾 Codex ClaudeCode等工具","archived":false,"fork":false,"pushed_at":"2026-03-26T06:31:04.000Z","size":15430,"stargazers_count":36,"open_issues_count":2,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-02T04:58:37.307Z","etag":null,"topics":["ai","claudecode","codex","open-claw","tools"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmk1010.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":null,"dco":null,"cla":null}},"created_at":"2026-03-07T10:48:47.000Z","updated_at":"2026-03-31T15:47:54.000Z","dependencies_parsed_at":"2026-03-13T08:01:37.064Z","dependency_job_id":null,"html_url":"https://github.com/lmk1010/EasyAIConfig","commit_stats":null,"previous_names":["lmk1010/easyaiconfig"],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/lmk1010/EasyAIConfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmk1010%2FEasyAIConfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmk1010%2FEasyAIConfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmk1010%2FEasyAIConfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmk1010%2FEasyAIConfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmk1010","download_url":"https://codeload.github.com/lmk1010/EasyAIConfig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmk1010%2FEasyAIConfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31539230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"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","claudecode","codex","open-claw","tools"],"created_at":"2026-03-08T03:03:27.321Z","updated_at":"2026-04-08T04:02:39.449Z","avatar_url":"https://github.com/lmk1010.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/logo.png\" width=\"96\" height=\"96\" alt=\"EasyAIConfig\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eEasyAIConfig\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eCodex 配置助手 — 让 AI 编程工具的配置简单到一键搞定\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/lmk1010/EasyAIConfig/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/lmk1010/EasyAIConfig?style=flat-square\u0026color=8b5cf6\" alt=\"Release\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/lmk1010/EasyAIConfig/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/lmk1010/EasyAIConfig?style=flat-square\u0026color=3b82f6\" alt=\"License\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/lmk1010/EasyAIConfig/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/lmk1010/EasyAIConfig/release.yml?style=flat-square\u0026label=build\" alt=\"Build\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## [Core] 已支持功能（当前版本）\n\n### [What's New] v1.0.41\n\n- 新增：Codex 官方登录（OAuth）与 API Key 双路径快速配置\n- 新增：官方登录场景支持一键设为默认 `OpenAI Provider`\n- 优化：`官方 + 中转 API Key` 共存时，Provider 切换更顺滑\n- 新增：Codex 会话恢复能力（最近会话浏览 / 一键恢复 / 导出）\n- 新增：独立 Codex App 的一键安装与打开入口\n\n### 核心能力\n\n| 状态 | 功能 | 说明 |\n|------|------|------|\n| 已支持 | **Provider 管理** | 一键配置 Base URL + API Key，自动写入配置文件 |\n| 已支持 | **官方登录模式** | 自动识别 Codex/ChatGPT OAuth 登录态，可直接设为默认 OpenAI Provider |\n| 已支持 | **模型检测** | 自动发现可用模型并推荐可用版本 |\n| 已支持 | **多 Provider 切换** | 支持保存多套 Provider 并快速切换 |\n| 已支持 | **配置编辑器** | 可视化编辑 + 原始配置编辑（TOML / JSON） |\n| 已支持 | **备份与恢复** | 保存前自动备份，支持一键回滚 |\n| 已支持 | **数据看板** | Codex / Claude 用量与费用估算，OpenClaw 运行状态监控 |\n| 已支持 | **跨平台客户端** | Web + Tauri 桌面端（macOS / Windows / Linux） |\n| 已支持 | **自动更新（桌面版）** | Tauri 桌面端支持 GitHub Releases 自动检查与安装更新 |\n\n### 工具支持矩阵\n\n| 工具 | 安装/更新/卸载 | 启动 | 登录/初始化 | 配置管理 | 运行状态 |\n|------|----------------|------|-------------|----------|----------|\n| **Codex CLI** | 已支持 | 已支持 | 已支持 (`codex login`) | 已支持 (`~/.codex/config.toml` + `.env`) | 已支持 |\n| **Claude Code** | 已支持 | 已支持 | 已支持 (OAuth 登录) | 已支持 (`~/.claude/settings.json`) | 已支持 |\n| **OpenClaw** | 已支持（一键 / WSL / 脚本） | 已支持（Gateway 启动） | 已支持 (`onboard`) | 已支持 (`~/.openclaw/openclaw.json`) | 已支持 |\n| **OpenCode** | 已支持（官方脚本 / Homebrew / npm / Scoop / Chocolatey） | 已支持 | 规划中 | 规划中 | 规划中 |\n\n## [Todo] 未来功能待办（Roadmap）\n\n\u003e 以下为计划项，按优先级逐步推进。\n\n| 优先级 | 待办项 | 状态 |\n|--------|--------|------|\n| P1 | 启动失败一键诊断（自动收集环境与命令日志） | 规划中 |\n| P1 | 配置导入/导出（跨机器迁移） | 规划中 |\n| P1 | Provider 可用性定时巡检与告警提示 | 规划中 |\n| P2 | Dashboard 自定义统计维度与时间范围 | 规划中 |\n| P2 | 多语言界面（中文 / English） | 规划中 |\n| P3 | 配方（Recipes）模板扩展与社区分享 | 规划中 |\n\n## [UI] 截图预览\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/dashboard-codex.png\" width=\"100%\" alt=\"Codex Dashboard — Token 用量趋势、费用估算、模型分布\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cem\u003eCodex 数据看板 — 实时 Token 趋势、费用估算与模型分布\u003c/em\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/dashboard-claude-code.png\" width=\"100%\" alt=\"Claude Code Dashboard — 模型分布、Token 分布与消耗明细\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cem\u003eClaude Code 数据看板 — 多模型统计、Token 分布与消耗分析\u003c/em\u003e\u003c/p\u003e\n\n## [Install] 安装\n\n### [Desktop] 桌面版（推荐）\n\n最新版本下载统一在 Releases：\n[https://github.com/lmk1010/EasyAIConfig/releases/latest](https://github.com/lmk1010/EasyAIConfig/releases/latest)\n\n| 平台 | 推荐安装包 | 下载链接 |\n|------|------------|----------|\n| Windows | `.msi`（推荐） / `.exe` | [下载 Windows 版本](https://github.com/lmk1010/EasyAIConfig/releases/latest) |\n| macOS (Apple Silicon) | `.dmg`（`aarch64`） | [下载 macOS 版本](https://github.com/lmk1010/EasyAIConfig/releases/latest) |\n| macOS (Intel) | `.dmg`（`x64`） | [下载 macOS 版本](https://github.com/lmk1010/EasyAIConfig/releases/latest) |\n| Linux | `.AppImage` / `.deb` | [下载 Linux 版本](https://github.com/lmk1010/EasyAIConfig/releases/latest) |\n\n下载后请按文件名中的架构选择：\n- `aarch64` / `arm64`：Apple Silicon\n- `x64` / `x86_64`：Intel / AMD 64 位\n\n### [Web] Web 模式\n\n```bash\nnpm install -g easyaiconfig\neasyaiconfig\n```\n\n启动本地服务后自动打开浏览器。\n\n## [QuickStart] 快速开始\n\n1. **选择认证方式** — 可直接用 `官方登录`（OAuth）或切换 `API Key` 模式\n2. **官方登录路径** — 点击「设为默认 OpenAI Provider」后直接保存并启动\n3. **API Key 路径** — 输入 Base URL + API Key，自动识别 Provider 和环境变量\n4. **检测模型** — 一键发现可用模型并推荐默认项\n5. **保存并启动** — 写入 `~/.codex/config.toml` + `.env`，并直接启动 Codex\n\n## [Dev] 开发\n\n### [Prerequisites] 前置要求\n\n- **Node.js** ≥ 18\n- **Rust** ≥ 1.77（桌面开发）\n- **npm** ≥ 8\n\n### [Web Dev] Web 开发模式\n\n```bash\nnpm install\nnpm start\n```\n\n### [Desktop Dev] 桌面开发模式\n\n```bash\nnpm install\nnpm run desktop:dev\n```\n\n### [Build] 桌面打包\n\n```bash\nnpm run desktop:build\n```\n\n## [Tree] 项目结构\n\n```\n├── public/            # 前端静态文件（HTML / CSS / JS）\n│   ├── index.html     # 主页面\n│   ├── styles.css     # 样式\n│   └── app.js         # 前端逻辑\n├── src/\n│   ├── server.js      # Express 后端（Web 模式）\n│   └── lib/\n│       ├── config-store.js   # 配置读写核心\n│       └── provider-check.js # Provider 连通性检测\n├── src-tauri/         # Tauri 桌面端\n│   ├── src/\n│   │   ├── lib.rs     # Tauri 入口\n│   │   ├── config.rs  # 配置管理\n│   │   ├── provider.rs # Provider 逻辑\n│   │   └── routes.rs  # API 路由\n│   └── icons/         # 应用图标\n└── .github/workflows/ # CI/CD\n```\n\n## [Release] 发布配置\n\n### [Signing] 生成签名密钥\n\n```bash\nnpx tauri signer generate -w ~/.tauri/easyaiconfig.key\n```\n\n### [Secrets] GitHub Secrets\n\n在仓库 Settings → Secrets 中配置：\n\n| Secret | 说明 |\n|--------|------|\n| `TAURI_SIGNING_PRIVATE_KEY` | 签名私钥（完整文件内容） |\n| `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` | 私钥密码 |\n\n\u003e **提示**：推荐使用 GitHub CLI 写入密钥以避免换行损坏：\n\u003e ```bash\n\u003e gh secret set TAURI_SIGNING_PRIVATE_KEY \u003c ~/.tauri/easyaiconfig.key\n\u003e gh secret set TAURI_SIGNING_PRIVATE_KEY_PASSWORD\n\u003e ```\n\n### [Tag] 发布新版本\n\n推送 tag 即可触发自动构建与发布：\n\n```bash\ngit tag v1.0.0\ngit push origin v1.0.0\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmk1010%2Feasyaiconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmk1010%2Feasyaiconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmk1010%2Feasyaiconfig/lists"}