Switch Codex Desktop from an official OAuth login to a CPAMC API relay when the account quota runs out.
Switch back to an official OpenAI account login without losing existing projects and chats.
Automatically back up Codex configuration and chat history before changing login modes.
Keep two separate Codex configuration files ready and swap between them with one click.
| angusdevgo/oc-codex | refrainwww/codex-windows-computer-use | zy-zmc/tianming-skill | |
|---|---|---|---|
| Stars | 30 | 31 | 27 |
| Language | PowerShell | PowerShell | PowerShell |
| Setup difficulty | easy | moderate | hard |
| Complexity | 2/5 | 3/5 | 3/5 |
| Audience | developer | developer | writer |
Figures from each repo's GitHub metadata at analysis time.
Requires closing Codex Desktop before switching modes for a stable result.
O-C is a Windows desktop tool that helps people switch back and forth between two ways of using Codex, OpenAI's coding assistant: signing in with an official ChatGPT or OpenAI account, or connecting through a third party API relay service the README calls CPAMC. Many users rely on both at different times, using the official account until its usage limit runs out, then switching to the API relay to keep working, and switching back later. The problem is that Codex Desktop stores local chat history, project sidebar entries, and account state in a folder on your computer, but the two login methods use different internal provider identifiers, so switching between them can make your existing chats and projects appear to vanish from the sidebar even though nothing was actually deleted. O-C solves this by automating the whole switch. Before changing anything, it backs up your current Codex configuration, account cache, and chat history metadata. It then writes in the configuration file that matches the mode you are switching to, removes authentication files that are incompatible with the new mode, and resyncs your local chat history's provider metadata so old conversations reappear under the new mode. You manage two separate configuration files, one for the official login and one for the API relay, and O-C switches between them with a single click through its graphical interface, so you never have to edit configuration files by hand. The tool keeps timestamped backups in folders it creates for you, split into categories such as switch related backups, chat history sync backups, and general safety backups made during cleanup or upgrades. The README states plainly that O-C works only on your own machine and never uploads your configuration, account cache, API keys, or chat history anywhere, and that it cannot recover chat history that has already been deleted, only keep existing history visible across mode switches. It does not provide or sell OpenAI accounts, CPAMC accounts, API keys, or any third party service quota itself.
A Windows tool that switches Codex between an official account login and an API relay service without losing local chat history.
Mainly PowerShell. The stack also includes PowerShell, Windows.
The repository includes a LICENSE file that governs use of the project.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.