[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82267":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":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":14,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":26,"discoverSource":27},82267,"opencodex","AITabby\u002Fopencodex","AITabby","Local gateway for Codex Desktop — custom API, web dashboard, Vision Bridge",null,"TypeScript",220,9,1,2,0,3,130,51.5,false,"master",true,[],"2026-06-12 04:01:37","# OpenCodex 🚀\n\n[English](#english) | [简体中文](#简体中文)\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"preview.png\" alt=\"OpenCodex Dashboard\" width=\"800\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fyoutu.be\u002FGvmXBZvvhuo\">▶️ Watch Demo Video on YouTube\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n# English\n\n**OpenCodex** is a plug-and-play local gateway that unlocks Codex Desktop for third-party APIs, featuring a premium web dashboard, custom Computer Use engine, and Vision Bridge for text-only models.\n\n## 🌟 Key Features\n\n* **Zero-Config Setup**: Start the server, it auto-patches `~\u002F.codex\u002Fconfig.toml` with backups. No CLI, no manual editing.\n* **Premium Web Dashboard** (`http:\u002F\u002Flocalhost:8765\u002Fdashboard`):\n  * 🌐 Bilingual (EN\u002F中文) with instant switch\n  * 🔑 API key & endpoint management\n  * 📝 Add\u002Fdelete custom models, toggle visibility in Codex\n  * 📡 Live SSE log streaming\n  * 🚀 One-click Codex restart\n  * ↺ One-click reset to native Codex\n* **Custom Computer Use Engine**:\n  * 🖱️ Native macOS mouse\u002Fkeyboard\u002Fwindow control via CGEvent\n  * 📸 Screenshot capture with `sips` compression (1200px)\n* **Vision Bridge**:\n  * 👁️ For text-only models (DeepSeek, etc.)\n  * Automatically compresses screenshots, describes via multimodal model, injects description into prompt\n  * Supports any OpenAI-compatible vision model (configurable endpoint, model, API key)\n\n## 🚀 Quick Start\n\n### Prerequisites\n- macOS\n- Node.js v18+\n- Codex Desktop installed\n\n### Install & Run\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FAITabby\u002Fopencodex.git\ncd opencodex\nnpm install\nnpm start\n```\n\nServer starts, browser opens to the dashboard. Add your API key and model names, click save — done.\n\n---\n\n# 简体中文\n\n**OpenCodex** 是一款即插即用的本地网关，为 Codex Desktop 解锁第三方 API。配备高颜值 Web 控制台、自研 Computer Use 引擎，以及让纯文本模型也能看图操作的 Vision Bridge。\n\n## 🌟 核心特性\n\n* **零配置启动**：启动后自动修补 `~\u002F.codex\u002Fconfig.toml`，无需任何操作。\n* **高颜值 Web 控制台**（`http:\u002F\u002Flocalhost:8765\u002Fdashboard`）：\n  * 🌐 中英文一键切换\n  * 🔑 图形化管理 API Key 和接口地址\n  * 📝 自由增删模型，勾选控制哪些显示在 Codex\n  * 📡 实时 SSE 日志流\n  * 🚀 一键重启 Codex\n  * ↺ 一键还原原生 Codex\n* **自研 Computer Use 引擎**：\n  * 🖱️ macOS 原生鼠标\u002F键盘\u002F窗口控制（CGEvent）\n  * 📸 截图自动 `sips` 压缩至 1200px\n* **Vision Bridge 视觉降级**：\n  * 👁️ 纯文本模型（DeepSeek 等）也能跑 Computer Use\n  * 自动压缩截图 → 多模态模型描述 → 注入文字到 Prompt\n  * 支持任意 OpenAI 兼容的多模态模型（可配接口、模型名、Key）\n\n## 🚀 快速上手\n\n### 准备工作\n- macOS 系统\n- Node.js v18+\n- 已安装 Codex Desktop\n\n### 安装与启动\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FAITabby\u002Fopencodex.git\ncd opencodex\nnpm install\nnpm start\n```\n\n启动后浏览器自动打开控制台，填写 API Key 和模型名，保存即可使用。\n","OpenCodex 是一款即插即用的本地网关，为 Codex Desktop 解锁第三方 API。其核心功能包括零配置启动、高颜值 Web 控制台（支持中英文切换和实时日志流）、自研 Computer Use 引擎（实现 macOS 原生鼠标\u002F键盘\u002F窗口控制及截图压缩）以及 Vision Bridge（使纯文本模型能够处理图像）。该项目使用 TypeScript 编写，适合需要在 macOS 系统上通过 Codex Desktop 调用第三方 AI 模型进行开发或测试的场景。","2026-06-11 04:08:12","CREATED_QUERY"]