codex-chatgpt-web README

The project's README from github.com/miuuyy/codex-chatgpt-web. As one markdown file: README.md.

Switch to web models. Stay in Codex. Your ChatGPT plan. Your workflow. Maximum capabilities.

Windows · x64  macOS · Apple silicon  Linux · x64

macOS Intel · All releases

English · 简体中文 · 日本語 · 한국어

A live ChatGPT Web turn using the native Codex harness

Get started · What’s new · Architecture · Troubleshooting

Use the ChatGPT Web models available on your account, including Pro, from Codex’s native model picker—with ChatGPT Web’s separate usage limits, without spending your Work or Codex quota. Keep the same interface, tasks, images, and streaming.

Full harness mode connects ChatGPT to the current task’s files, terminal, tools, and approvals through MCP. Conversations stay tied to your Codex task, so you can keep working as the context grows.

Get started

Available models: Free/Go → Luna / Think. Paid accounts → GPT-6 Sol and GPT-5.6 Sol, with Instant–High, plus Extra High and Pro when available. Each version has its own entry; existing GPT-5.6 chats keep GPT-5.6. Availability depends on your account and workspace.

  1. Install the launcher using the download for your system above.
  2. Sign in to ChatGPT in the embedded browser and run the browser smoke test.
  3. Install models and restart Codex once. In automatic mode, choose a model ending in (Web). Pro versions have separate entries; Sol reasoning is selected through Effort. Zero Risk keeps its dedicated entry.
  4. For coding with tools, open MCP in the launcher and complete the Full harness setup below.

The app includes its browser and runtime. No separate Chrome, Node, or Bun installation is needed.

Terminal install, updates & repair

Quit the launcher before updating. These installers select the platform and architecture, verify the published checksums, and preserve your ChatGPT profile and launcher settings.

macOS / Linux

curl -fsSL https://github.com/miuuyy/codex-chatgpt-web/releases/latest/download/install-launcher.sh | sh

Windows PowerShell

irm https://github.com/miuuyy/codex-chatgpt-web/releases/latest/download/install-launcher.ps1 | iex
Models, modes & MCP setup

Automatic modes offer Luna/Think when the account has no reasoning selector; otherwise Instant–High, with Extra High and Pro available independently when exposed by the account.

Mode Sending messages Local Codex tools
Browser-only Automatic No
Full harness (With Automation) Automatic Yes, through MCP
Zero Risk Paste and send manually Yes, through a separate MCP connector

Zero Risk does not read or operate the ChatGPT page. Choose the model and Codex Zero Risk connector yourself, paste and send the prepared prompt, then confirm Sent in the launcher. Automatic models ending in (Web) expose their supported Effort choices in Codex. Instant and each Pro version have separate entries to preserve their context budgets; older saved model entries keep their original fixed mode.

Full harness

Full mode connects ChatGPT's tool calls back to the current Codex task through the official OpenAI tunnel-client. The tunnel is outbound: it does not expose a public IP, open an inbound port, or require router forwarding.

The launcher's MCP page guides the complete setup. For the exact clicks, see the video walkthroughs.

Limits

See Limits for the current ChatGPT message allowances for GPT-5.6 Sol Pro and GPT-6 Astra. Context limits depend on the account type and selected effort. Plus Medium/High uses a measured 90,000-token window. GPT-5.6 supports up to 270,000 tokens with experimental 3× context enabled, with native Codex compaction supported throughout.

GPT-6 Sol supports Bigger Context at Medium, High and available Extra High: 120,000 tokens on Plus, with compaction at 110,000, and 240,000 on Pro, with compaction at 220,000. GPT-6 Instant uses standard context. GPT-5.6 and GPT-6 Pro keep their existing Bigger Context limits.

  1. Finish the required setup, open MCP, create the Tunnel and regular API key, then press Connect harness.
  2. Enable ChatGPT Developer Mode and create a new Tunnel connector named exactly Codex Native2, with Authentication: None and Allow all actions.
  3. Run Verify runtime to confirm that Codex Native2 is attached and available.

Write/modify actions also require the ChatGPT workspace and its administrator policy to permit them. See developer mode and MCP apps. Unexpected approval prompts fail closed unless --auto-approve-tool-calls is explicitly enabled; that option clicks Allow once, never a permanent grant.

Diagnostics & subagents

Use Activity for safe local diagnostics and Settings → Run doctor for end-to-end health. Settings can also cancel a retained browser turn or remove the Codex integration before uninstall. Save chats in ChatGPT keeps task conversations in ChatGPT history. Off by default; independent of New browser chat for each turn. Set CODEX_CHATGPT_WEB_BROWSER_DIAGNOSTICS=1 only when every browser checkpoint needs a screenshot.

New installs use Compatibility V1 for cross-backend subagents. Native preserves Codex's own feature settings and enables plaintext Web-to-Web V2 delegation. Restart Codex and start a new task after changing the protocol:

codex-chatgpt-web subagents status
codex-chatgpt-web subagents compatibility-v1
codex-chatgpt-web subagents native
Requirements & security

  • This is unofficial browser automation, not an OpenAI API. ChatGPT UI changes can break selectors; drift fails explicitly instead of silently switching model or transport.
  • Browser state is a sensitive login artifact, and the loopback listener is reachable by processes running as the same local user. Never share the launcher profile; use a trusted workstation.
  • Release packages currently target macOS 13+ (arm64/x64), Windows x64, and Linux x64. Runtime, tests, and packaging are gated on all three in CI; account-bound browser and MCP flows use the separate release validation.
  • Builds are not yet platform-signed, so Gatekeeper or SmartScreen may warn. The installers verify the published SHA-256 manifest before installation.

Read the complete architecture and security model before enabling full mode. Report vulnerabilities through SECURITY.md.

Temporary Chat is a ChatGPT privacy mode; prompts are still processed by OpenAI.

Validation coverage: release validation.

This is independent software and is not affiliated with or endorsed by OpenAI. Use it only with your own account and in accordance with applicable Terms of Use and workspace policies; it does not bypass authentication or access controls.

Run from source & develop

git clone https://github.com/miuuyy/codex-chatgpt-web.git && \
cd codex-chatgpt-web && \
bun run app

This source path requires Bun 1.4.0. The command installs locked dependencies and opens the app.

bun run app
bun run dev:launcher
bun run src/cli.ts dev status
bun run dev:chat compaction-lab "Reply with exactly: DEV READY"
bun run verify
bun run smoke:subagents
bun run app:package

dev:launcher uses a separate profile and account under ~/.codex-chatgpt-web-dev. dev:chat exercises the real browser and compaction paths with explicit simulated tool results, without changing your normal Codex route. See the DEV chat harness for setup and commands.

Star History

Star History Chart

Troubleshooting · Security · Contributing · MIT license · CI

Also by me: ChatGPT Persona Voice — local, near-real-time custom voices for ChatGPT and Codex.

codex-chatgpt-web (miuuyy/codex-chatgpt-web)

Searching Database…

这是什么?这是一个桌面启动器,让 Codex 能把 ChatGPT Web(包括 Pro)当作原生模型使用。它通过基于浏览器的 ChatGPT 临时对话(Temporary Chat)传递任务上下文、图片、工具和流式输出,而不是调用 Codex API。
这是 Codex 里的插件,还是通过桥接与它连接的独立应用?它是一个独立的跨平台启动器应用,运行内嵌的浏览器会话,并通过 MCP 将其桥接到 Codex 的模型选择器。Codex 仍保留自己的任务界面、上下文和工具运行框架。
怎样让 ChatGPT Web 出现在 Codex 的模型选择器里?用 macOS/Linux 或 Windows PowerShell 命令安装桌面启动器,在启动器内嵌的浏览器中登录,运行浏览器冒烟测试,然后点击 Install models 并重启 Codex,就可以选择 ChatGPT Web 模型了。
我需要先有 OpenAI API 密钥,或者先安装额外的软件吗?不需要模型 API 密钥。使用打包好的启动器时,系统上也不需要 Chrome/Chromium、Node 或 Bun;如果从源代码运行,则需要 Bun 1.4.0。
有什么不足之处?这是 OpenAI 官方的集成吗?不是。这是非官方的浏览器自动化方案,因此如果 ChatGPT 的界面发生变化,选择器可能失效。届时项目会明确报错,而不会悄悄切换模型或传输方式。另外,发布版本尚未做平台签名,所以 Gatekeeper 或 SmartScreen 可能会发出警告。
这个启动器实际支持哪些操作系统?发布包支持 macOS 13 及以上版本(arm64/x64)、Windows x64 和 Linux x64,三者都经过 CI 检查。
使用它会让我的 ChatGPT 账号有风险吗?我的数据会去哪里?浏览器登录状态属于敏感数据,应只保存在可信的工作电脑上。临时对话(Temporary Chat)只是一种隐私模式:你的提示词仍会发送给 OpenAI,并按其临时对话政策由 OpenAI 处理,而不是在本地运行。
三种运行模式分别是什么:Browser-only、Full harness、Zero Risk?Browser-only 让你使用 ChatGPT 模型,但没有本地工具访问权限。Full harness(With Automation)让所有强度档位(包括 Pro)都能通过 MCP 使用当前 Codex 任务的文件系统、Shell 和工具。Zero Risk 保留完整的 Codex 运行框架,但需要你手动复制、粘贴并发送准备好的提示词,从而去除浏览器自动化带来的账号风险。
这真的能节省我的 Codex 额度吗?能。它会把所选模型的这一轮对话转到 ChatGPT Web 临时对话中,而不是调用 Codex API,因此不消耗 Codex 额度。不过,你的 ChatGPT 账号对该模型等级本身的消息上限仍然适用。
'Codex Native2' 连接器是做什么用的?它是一个 ChatGPT Developer Mode Tunnel 连接器(创建时选择 Authentication: None,Allow all actions),必须准确命名为 'Codex Native2'。这样 Full harness 模式才能通过官方 OpenAI tunnel-client,把 ChatGPT 的工具调用路由回正在运行的 Codex 任务。
免费的 ChatGPT 账号能用吗,还是需要 Plus 或 Pro?免费版和 Go 账号只能看到 'Luna' 模型等级;Plus 账号可使用 Instant 到 High 强度;Pro 账号还能解锁 Extra High 和 Pro 强度。启动器会自动检测你登录的账号开放了哪些等级。
Creator
miuuyy
Size
27.1 MB
Stars
14.6K
Age
2mo
Commits · 90 Days