OpenAI-compatible local proxy backed by a Codex subscription.
Requires Go 1.25+ and a Codex account.
git clone https://github.com/catgirl-systems/codex-sub-proxy.git
cd codex-sub-proxy
go run ./cmd/codex-sub-proxy init
go run ./cmd/codex-sub-proxy api-key
go run ./cmd/codex-sub-proxy serveUse the API key printed by api-key:
export OPENAI_BASE_URL=http://127.0.0.1:4000/v1
export OPENAI_API_KEY=csp_live_...