lusipad/unofficial-codex-app-offline

Unofficial offline / portable repackaging of the OpenAI Codex Windows app.

What it solves

OpenAI's Codex Windows app normally requires the Microsoft Store and a Microsoft account. This project repackages the official app so it runs offline as a portable ZIP on Windows (no Store, no login), and adds a browser-based mode that works on Windows, Linux, and macOS. It also bundles an offline seed of OpenAI's skills, so the core coding-agent experience is available without a constant network connection.

How it works

There are two ways to use Codex, sharing the same offline skill seed:

  • Desktop mode – uses the original Codex Electron UI with a bundled Codex CLI. Extract the ZIP, run Setup Codex.cmd once, then launch Codex.cmd.
  • Browser mode (Web Gateway) – starts a local web server on http://127.0.0.1:3737. The gateway serves the frontend UI and forwards requests to a locally installed @openai/codex CLI. This is a "Codex CLI as backend, browser as frontend" architecture, so it works cross-platform.

At build time the project fetches the official openai/skills, seeds them offline, and patches the official app.asar so it works outside the MSIX sandbox. The build pipeline resolves the latest Retail package from OpenAI's official CDN (or falls back to Microsoft Store resolvers), applies compatibility patches, downloads the primary runtime plugin and Chrome extension, then packages portable ZIP, web ZIP, and an Inno Setup installer.

Who it's for

People who want to run OpenAI Codex without the Microsoft Store or an online account, or who want to use Codex from a browser on any OS. It's also useful for offline or restricted environments where you need the agent's skills pre-bundled. The project explicitly notes that if you only want the official app, you should download the official MSIX directly instead.

Highlights

  • Portable desktop app – extract and run; no Store, no Microsoft account, no Node.js required for desktop mode.
  • Cross-platform browser gateway – use Codex from any browser via a local server on Windows, Linux, or macOS (needs Node.js 18+ and the Codex CLI installed separately).
  • Offline skills seed – builds automatically pull openai/skills and package them; first setup installs a basic profile, the rest syncs on demand.
  • Daily automated builds – CI checks the Store version every day at 3:15 UTC and releases new builds when a new version appears.
  • Official MSIX fallback – provides direct links to unmodified official packages for those who don't need the offline repack.

Related

  • Project
  • Project
  • Project
  • Project