[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81773":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":12,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":14,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":16,"compositeScore":17,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":20,"topics":21,"createdAt":8,"pushedAt":8,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":13,"starSnapshotCount":13,"syncStatus":12,"lastSyncTime":25,"discoverSource":26},81773,"codextools","hereww\u002Fcodextools","hereww",null,"Go",81,8,2,0,3,59,1,44.26,false,"main",true,[],"2026-06-12 04:01:35","# CodexTools\n\n[![README in Chinese](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FREADME-%E4%B8%AD%E6%96%87-0f766e)](.\u002FREADME.zh-CN.md)\n\nCodexTools is a standalone Go + React desktop manager for Codex setup, launch, connection modes, UI enhancements, scripts, diagnostics, and repair workflows.\nIt keeps the task-oriented manager UI, relay and provider tooling, script management, local repair actions, packaged downloads, and support diagnostics in one repo that can be built and published independently.\n\n## What it includes\n\n- A Go backend that serves the web UI and keeps the command contract stable.\n- A Gemini-inspired manager UI redesigned for non-technical users.\n- Guided first-run setup, launch status, connection mode selection, relay profile management, provider sync, script market integration, logs, diagnostics, and repair tools.\n- macOS and Windows desktop packages published from this repository.\n- A self-contained repository layout so the manager can be built without the original monorepo.\n\n## Repository layout\n\n- `main.go`: binary entry point, build-time role switch, embedded assets, and shared constants.\n- `manager.go`: local HTTP manager, static UI serving, command dispatch, Codex app discovery, and CCS provider import.\n- `launcher.go`: silent launcher flow, Codex process startup, restart handling, and launch status updates.\n- `helper.go`: helper HTTP server, local relay proxy, CORS responses, and image\u002Ftext relay routing.\n- `bridge.go`: Chrome DevTools Protocol integration, renderer bridge injection, and bridge request handling.\n- `settings.go`: settings defaults, persistence, repository root detection, and embedded\u002Fweb dist lookup.\n- `relay.go`: relay profile application, auth\u002Fconfig status, relay file editing, and relay profile tests.\n- `repair.go`: Codex config repair, plugin recovery, provider sync, SQLite\u002Fglobal-state maintenance, and TOML table repair helpers.\n- `scripts.go`: script market loading, script install\u002Fdelete, and user script inventory.\n- `entrypoints.go`: desktop entry\u002Fapp bundle\u002Fshortcut installation and Windows watcher support.\n- `diagnostics.go`: diagnostic log writing, log tailing, and support report generation.\n- `toml.go`: focused TOML string helpers used by relay and repair flows.\n- `util.go`: small shared HTTP, JSON, path, argument, and type-conversion helpers.\n- `types.go`: shared backend data structures.\n- `desktop_darwin.go`, `desktop_other.go`: platform-specific manager window hooks.\n- `web\u002F`: React + Vite manager UI.\n- `docs\u002F`: GitHub Pages project introduction, download page, and public assets.\n\nThe Go backend is still one `package main` so release scripts can keep using `-ldflags \"-X main.binaryRole=...\"`, but the implementation is split by responsibility to reduce merge conflicts and make ownership clearer.\n\n## Run locally\n\n```bash\nnpm --prefix web install\nnpm --prefix web run vite:build\ngo run .\n```\n\n## Build\n\n```bash\nnpm --prefix web run check\nnpm --prefix web run vite:build\ngo build -o codextools .\n```\n\n## Feature overview\n\n1. Simple launch surface\n   The home screen exposes only the actions a normal user needs first: launch, connect service, inspect status, and repair paths.\n2. Relay and API management\n   Profiles support official login, compatible API mode, protocol switching, relay testing, and injection helpers.\n3. UI enhancement controls\n   The manager keeps feature toggles, launch mode selection, and script-related tooling in one place.\n4. Script center\n   Users can install, enable, disable, update, and remove user scripts without editing config files manually.\n5. Recovery and diagnostics\n   Built-in logs, diagnostics output, path repair, and shortcut repair reduce support friction.\n6. Legacy conversation repair\n   Provider sync tools help recover visibility for older local conversations.\n\n## Screenshots\n\nThe project introduction page now includes real manager screenshots with feature descriptions:\n\n### Home dashboard\n\n![CodexTools home dashboard showing launch status, connection mode, UI enhancement mode, and repair entry points](.\u002Fdocs\u002Fassets\u002Fscreenshot-home.png)\n\nThe first screen shows whether the local setup is ready, exposes the primary launch button, and keeps connection, UI features, and repair entry points close together.\n\n### Beginner guide\n\n![CodexTools beginner guide showing system detection, Codex install status, CCSwitch import, mode selection, and launch steps](.\u002Fdocs\u002Fassets\u002Fscreenshot-onboarding.png)\n\nThe guided flow checks platform and architecture, confirms Codex installation, imports CCSwitch providers, selects the connection mode, and ends at launch.\n\n- Home dashboard: launch status, active connection, UI enhancement mode, entry paths, and key health checks.\n- Beginner guide: system detection, Codex install check, CCSwitch import, mode selection, and Codex++ launch flow.\n- Connection service: official login, mixed API mode, relay\u002FAPI providers, CCSwitch import, and connectivity testing.\n- UI features: session delete, Markdown export, project move, Timeline, plugin entry unlock, and forced plugin install controls.\n\nScreenshot assets live in `docs\u002Fassets\u002F` and are referenced directly by the public project page.\n\n## Telegram community\n\nTelegram: `https:\u002F\u002Ft.me\u002Fwanai8`\n\n## Community links\n\nThis open-source project is linked with and recognized by the LINUX DO community:\n\n- LINUX DO: \u003Chttps:\u002F\u002Flinux.do\u002F>\n\n## Project philosophy\n\nCodexTools is rebuilt so more people can actually use the manager. The original project created a useful foundation, but as the code, product direction, and community expectations evolved, there were differences in direction and practical reasons to explore a separate branch.\n\nThis project is that branch. It is built from my own thinking about the manager experience while keeping the open-source spirit that made the work possible. The goal is not to reject the original project, but to keep another path open for users who need a simpler, more accessible, and more actively shaped tool.\n\nCodexTools does not accept sponsorships or donations. It is maintained as an open, community-oriented open-source project, with the code and direction kept public for anyone who wants to study, use, discuss, or fork it.\n\n## Project origin and thanks\n\nCodexTools is a standalone Go refactor and manager UI project based on the earlier Codex++ work.\nThanks to the original Codex++ project for the foundation, workflow ideas, and user-facing tool direction.\n\n- Original project: \u003Chttps:\u002F\u002Fgithub.com\u002FBigPizzaV3\u002FCodexPlusPlus>\n- Refactor source: \u003Chttps:\u002F\u002Fgithub.com\u002Fhereww\u002FCodexPlusPlus>\n- Standalone project: \u003Chttps:\u002F\u002Fgithub.com\u002Fhereww\u002Fcodextools>\n\n## Downloads\n\n- GitHub Pages download page: [docs\u002Fdownloads.html](.\u002Fdocs\u002Fdownloads.html)\n- Windows is published as setup installers for traditional Intel\u002FAMD PCs (`windows-x64`) and Windows on ARM devices (`windows-arm64`). Portable zip builds are also attached for both architectures.\n- macOS is published as installer packages for Apple Silicon (`macos-arm64`) and Intel Macs (`macos-x64`). Portable zip builds remain available as secondary artifacts.\n- If macOS blocks the unsigned apps after installation, run:\n\n```bash\nxattr -cr \"\u002FApplications\u002FCodex++ 管理工具.app\"\nxattr -cr \"\u002FApplications\u002FCodex++.app\"\n```\n\n## Project introduction page\n\nThe repository includes an English-first project page with a Chinese switch button:\n\n- [Open project intro](.\u002Fdocs\u002Findex.html)\n\nGitHub Pages can publish the `docs\u002F` folder automatically through the included workflow after the repository is pushed.\n\n## Notes\n\n- The backend still targets the Codex\u002FCodex++ local workflow and keeps compatibility-oriented command names where that reduces migration risk.\n- Watcher install and removal are implemented for Windows. macOS shows an explicit platform limitation and keeps only the local enable\u002Fdisable flag controls.\n","CodexTools 是一个使用 Go 和 React 构建的桌面管理工具，用于 Codex 的设置、启动、连接模式选择、UI 增强、脚本管理、诊断和修复工作流。其核心功能包括稳定的命令合约后端、为非技术人员设计的用户界面、引导式首次运行设置、日志记录及诊断工具等，并支持 macOS 和 Windows 平台的独立打包发布。此项目适用于需要对 Codex 进行便捷管理和维护的场景，如开发环境配置、应用程序调试或日常运维任务中，通过提供统一且易用的管理界面来简化操作流程。","2026-06-11 04:06:19","CREATED_QUERY"]