gitmyhub

CodexPlusPlus

Rust ★ 18k updated 18h ago

An enhanced tool for CodexApp, striving to make Codex better to use and more comfortable 一个CodexApp的增强工具,努力让Codex变得更好用更舒服

External Rust add-on for the Codex desktop coding app that injects scripts via Chromium DevTools Protocol to unlock plugin entry on API-key logins, add session delete, and route requests to custom OpenAI-compatible APIs.

RustTauriReactTypeScriptsetup: moderatecomplexity 3/5

Codex++ is an external add-on tool for the Codex App, a desktop AI coding assistant. The project is written in Rust with a Tauri and React management panel, and is released for Windows, macOS Intel, and macOS Apple Silicon. It does not change the Codex App's own installed files. Instead, it starts Codex from its own launcher and then uses the Chromium DevTools Protocol to inject extra scripts into the running app.

After installing, the user sees two entry points. One is called Codex++, a silent launcher that just opens Codex with the enhancements attached. The other is the Codex++ management tool, a Tauri panel for starting, checking, repairing, updating, configuring API relay injection, and managing both built-in enhancements and the user's own custom scripts.

The README lists two pain points the project tries to fix. When a user is logged in with an API key instead of a ChatGPT account, the native Codex plugin entry refuses to work. Also, the native session list only lets the user archive a session, with no real delete button. Codex++ unlocks the plugin entry and adds a delete button that shows up when the user hovers a session.

The project supports two modes. Relay injection lets the user keep an official ChatGPT login while routing model requests to a custom OpenAI-compatible API. It writes a provider named CodexPlusPlus into the Codex config file and can be cleared to revert to official ChatGPT login. Classic enhancement mode covers plugin unlock, forced plugin install, session delete, Markdown export, project move, a Timeline view, a recommendation feed, and custom user scripts. Other listed features include syncing session metadata across providers, opening a remote SSH file in Zed, and automatic updates pulled from GitHub Releases.

The repository is mainly in Chinese. Its README also includes a sponsor table for several Codex API relay services that fund the project. The data the tool reads and writes lives under the user's ~/.codex folder and a sibling ~/.codex-session-delete folder.

Where it fits