Deploy Codex Auto Reset
Automatically redeem eligible Codex full resets before they expire.
codex-auto-reset
Just deployed
/data
Deploy and Host Codex Auto Reset on Railway
Codex Auto Reset is a self-hosted, always-on service that automatically redeems eligible Codex full resets before they expire. This template deploys one protected Bun service with one persistent Railway volume.
[!WARNING] Codex Auto Reset uses private APIs and an unofficial device-login flow. OpenAI can change or disable them at any time. Use it at your own risk.
About Hosting Codex Auto Reset
Railway runs the public Docker image as a single always-on service. The template generates a unique MASTER_KEY, creates a public HTTPS domain, and mounts persistent storage at /data. OAuth credentials are encrypted before they are written to the volume.
Run only one active Codex Auto Reset deployment per OpenAI account to avoid competing redeemers.
Common Use Cases
- Redeem eligible full resets before they expire
- Keep the redeemer running while your computer sleeps
- Host the service without managing a virtual machine
Dependencies for Codex Auto Reset Hosting
- A ChatGPT account with Codex access
- Enable device code authorization for Codex enabled in ChatGPT Security settings
- A Railway account with enough usage allowance for an always-on service and persistent volume
Deployment Dependencies
The template uses the public multi-architecture image at ghcr.io/marckrenn/codex-auto-reset-docker:0.2.1 and creates a 500 MB persistent volume at /data.
After Deployment
- Open the generated Railway domain.
- Sign in with username
admin. - Copy
MASTER_KEYfrom the service's Railway Variables tab and use it as the password. - Confirm that Enable device code authorization for Codex is enabled in ChatGPT Security settings.
- Select Start Codex login and approve the device code on OpenAI's website.
Authentication happens directly on OpenAI's website. Codex Auto Reset never receives your OpenAI password.
Why Deploy Codex Auto Reset on Railway?
Railway provides the HTTPS domain, persistent volume, health checks, and container lifecycle management required by Codex Auto Reset. The result remains user-owned while avoiding server and reverse-proxy administration.
Template Content
codex-auto-reset
ghcr.io/marckrenn/codex-auto-reset-docker:0.2.1