codex desktop, unpacked

OpenAI's Codex desktop client, pulled out of its app bundle and made to run from a plain checkout.

Read the code on GitHub →
Year
2026
Status
Public on GitHub
Built with
Electron, asar, shell
README.md, trimmed
├── docs/                    # how it was extracted, how to modify the UI
├── scripts/
│   ├── setup-coodex.sh      # download the binaries
│   └── run.sh
├── extracted-app/           # main app, 8,908 files
│   ├── .vite/build/         # Electron main process
│   ├── webview/             # UI (minified)
│   ├── node_modules/        # runtime deps
│   └── native-menu-locales/ # 66 languages
├── app.asar.unpacked/       # native modules
└── package.json
The repository layout. The UI ships minified, the main process is readable.

The Codex desktop client, version 0.152.1, is an Electron app inside ChatGPT.app. This repo is that app pulled out of its asar archive, with the committed parts arranged so a clone runs: the main process, 7,924 UI files, 471 runtime dependencies and 404 native modules.

The three binaries it needs, the codex CLI, the code-mode host and chronicle, add up to 554 MB, so they aren't committed. One script downloads them and then ./codex starts the app.

Why bother

Being able to read and change a production agent client is the fastest way to learn how one is put together: how it streams, how it asks for approval, how it lays out a diff. The repo's docs cover how the extraction was done and how to change the UI, and that work fed straight into how Draper was designed.