This project is intended to run locally, not as a hosted public web service.
A local source build can be installed at any path on your PATH, for example:
~/.local/bin/codex-switchCheck it with:
codex-switch --versionExpected repository line:
https://github.com/five0nit/codex-switch-secure
Use the guided wizard:
codex-switch setupFor SSH/headless/WSL use:
codex-switch setup --device --alias main-procodex-switch list
codex-switch tui
codex-switch-webThe browser dashboard opens at http://127.0.0.1:8787/ and includes the safe config.toml editor. Keep it bound to localhost.
Use a throwaway/test Codex account first if you are evaluating the tool.
Interactive OAuth login:
codex-switch login test-accountImport an existing Codex auth.json backup:
codex-switch import /path/to/auth.json test-accountThe tool stores its own profiles under:
~/.codex-switch/
Codex's live auth file remains:
~/.codex/auth.json
Never paste either file into chat, tickets, logs, screenshots, or GitHub issues.
Runtime self-update is disabled in this security-focused fork. To update from source:
curl -fsSL https://raw.githubusercontent.com/five0nit/codex-switch-secure/master/scripts/install.sh | bashThis project is primarily a CLI/TUI account manager. The optional local-web/ dashboard should bind to localhost only and must not be exposed publicly without adding authentication.