XiaoDuoYa /codex-with-chatgpt

ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.

★ 7,717⑂ 709👁 13⑃ 61● 82▤ 5
TypeScriptMITCreated 2026-08-28
Download: v0.1.4 — Executor Records, Tunnel DNS & Media Workflows / 执行者记录、隧道 DNS 与媒体工作流v0.1.4 ↓0.1.42026-10-01
+8
Daily
+35
Weekly
+502
Monthly
7,717
stars
709
forks
13
watchers
61
prs
82
issues
5
releases

README

Codex with ChatGPT

 ChatGPT thinks. Codex works.
 ChatGPT 负责思考,Codex 负责干活。

 [!IMPORTANT]
 遇到问题? 请先向 Codex 发送 「更新 Codex with ChatGPT」 并重试。更新到最新版本可以解决大多数已知问题。  
 Having trouble? First ask Codex to “Update Codex with ChatGPT” and try again. Updating to the latest version resolves most known issues.

 The problem · 解决什么问题

中文 — ChatGPT 付费订阅的网页版额度大量闲置,Codex 却在消耗紧张的
API 额度做规划和 Review。本项目把"思考"交给你已付费的网页版 ChatGPT,
Codex 只负责执行。不用 API Key、不搞逆向代理——官方网页 + 只读 MCP 桥接。

EN — ChatGPT Plus/Pro web quota sits idle while your coding agent burns
scarce API/Codex tokens on planning and review. This project moves the
thinking to the subscription you already pay for; Codex only executes.
No API keys, no reverse proxy — official web UI plus a read-only MCP bridge.

 What it is · 这是什么

中文 — 把 ChatGPT 网页版变成 Codex 编码会话的"规划与审查大脑",执行权
完全保留在 Codex 手里。你的仓库永远不会被上传:ChatGPT 通过一条安全的、
OAuth 保护的只读 MCP 连接,按需读取当前工作区里它真正需要的那几行代码。

EN — Use the ChatGPT web app as the planning and review brain for your
Codex coding sessions, while Codex keeps full ownership of execution. Your
repository is never uploaded: ChatGPT reads exactly the lines it needs through
a secure, OAuth-protected, read-only MCP connection to your current
workspace.

Detailed docs below are in English · 详细中文文档见 README.zh-CN.md

 One-paste install · 一段话安装

中文 — 不懂 git、Node、终端?完全不需要懂。把下面这段话原样复制给你的
编码 Agent(Codex),然后去倒杯咖啡:

text
请帮我完整安装并配置 Codex with ChatGPT,全程自动,我是不懂技术的小白,
所有事情你自己做:

1. 环境自检:需要 git 和 Node.js ≥ 20,缺什么就自动安装
  (macOS 用 Homebrew,Windows 用 winget),同时安装 cloudflared。
2. 下载:把 https://github.com/XiaoDuoYa/codex-with-chatgpt 克隆到
   ~/codex-with-chatgpt(已存在就 git pull 更新)。
3. 构建:在该目录里执行 corepack pnpm install 和 corepack pnpm build。
4. 安装 Skill:先确定 Codex home:如果设置了非空的 CODEX_HOME 就使用它,
   否则使用 ~/.codex(Windows 默认为 %USERPROFILE%\.codex)。把仓库里的
   skill/SKILL.md 复制到 /skills/codex-with-chatgpt/SKILL.md,
   并把文件中 "The codex-with-chatgpt checkout lives at:" 那一行的路径改成实际克隆路径。
5. 首次配置:按 SKILL.md 里的 first-time setup 流程执行
  (运行 c2c setup,用内置浏览器打开 ChatGPT 配置连接器并输入配对码)。
   全程只用内置浏览器,禁止打开任何第三方浏览器。
6. 只有遇到需要我登录(ChatGPT / Cloudflare)、验证码或两步验证时才叫我,
   而且一次只告诉我一个动作。
7. 完成后给我看 ✓ 清单,并确认文件读取测试通过。我不懂 MCP、OAuth、
   Tunnel、端口这些词,不要向我解释;出了问题先自己修。



EN — Don't know git, Node, or terminals? You don't need to. Copy the
paragraph below, paste it to your coding agent (Codex), and go grab a coffee:

text
Please install and configure "Codex with ChatGPT" for me, fully automatically.
I am a non-technical user — do everything yourself:

1. Check the environment: git and Node.js = 20 must be available. Install
   anything missing yourself (macOS: Homebrew, Windows: winget). Also install
   cloudflared.
2. Download: clone https://github.com/XiaoDuoYa/codex-with-chatgpt into
   ~/codex-with-chatgpt (if it already exists, git pull to update).
3. Build: inside that folder run corepack pnpm install then corepack pnpm build.
4. Install the Skill: determine the Codex home first: use a non-empty CODEX_HOME
   when set, otherwise use ~/.codex (%USERPROFILE%\.codex 

Top issues

Discussions

Latest release

v0.1.4 — Executor Records, Tunnel DNS & Media Workflows / 执行者记录、隧道 DNS 与媒体工作流 v0.1.4 2026-10-01
Codex with ChatGPT v0.1.4

ChatGPT thinks. Codex works.

v0.1.4 is a correctness and docs update: execution records can name which agent ran an iteration; Quick Tunnel setup waits before the first health probe so fresh hostnames are not negatively cached; search truncation is reported accurately; Windows Named Tunnel credential gaps get clearer doctor diagnostics; ChatGPT can inspect workspace images safely; and install docs honor CODEX_HOME.

The core model remains unchanged: ChatGPT plans and reviews; Codex owns execution. No API key. No reverse proxy. No cookies or session extraction.

This

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON