Skip to content

v0.1.1-beta-2

Choose a tag to compare

@unkdevv unkdevv released this 05 Jul 00:24
· 3 commits to master since this release

First public build of Codex Account Switcher: a native Windows desktop app (WinUI 3 / .NET 10) that manages multiple OpenAI Codex accounts and swaps the active one instantly, without redoing the OAuth login.

Highlights

  • Encrypted vault — every auth.json is encrypted at rest with Windows DPAPI (CurrentUser).
  • One-click switch — atomic write, automatic backup, and full rollback if anything fails. The current account is written back before being replaced, so no token rotated by the CLI is ever lost.
  • Clean-session login — adding an account opens a disposable, incognito-style WebView2 session. The OAuth URL comes from the codex app-server login flow, never the system browser, so accounts never cross-contaminate and no ChatGPT "device code" setting is required.
  • Built-in 2FA code generator — paste a TOTP secret (or an otpauth:// link) and get a rotating 6-digit code with a live expiry countdown. The key is kept in memory only.
  • Background refresh — a scheduled task renews each account before the ~8-day expiry window.
  • Automatic language — Portuguese on Brazilian/pt systems, English everywhere else.

Download

Grab CodexSwitcher.exe below — it's a single, self-contained file (~210 MB). No .NET install required. Run it directly (don't rename it: this unpackaged WinUI 3 app ties its resource/manifest lookup to the exe's own filename).

Requirements: Windows 10/11 x64, codex CLI on PATH (for login/refresh/reopen), WebView2 Runtime (bundled with modern Windows).

See the README for full details.