OpenAI/Gemini/Claude/Codex compatible API proxy with OAuth support for AI coding tools
For full documentation, see help.router-for.me.
This template pre-configures persistent auth-dir for OAuth credentials, with all necessary ports exposed.
*.zeabur.app domain to port 8317https://<your-domain>/management.html?key=<MANAGEMENT_PASSWORD>https://<your-domain>/v1 and API Key from API_KEY variable| Variable | Description |
|---|---|
PUBLIC_DOMAIN | Domain bound to this service (auto-configured by Zeabur) |
MANAGEMENT_PASSWORD | Password for Management UI and API |
API_KEY | API key for connecting your AI coding tools |
All data is stored under /data (persistent volume):
| Path | Description |
|---|---|
/data/config.yaml | Main configuration file |
/data/.cli-proxy-api/ | OAuth credentials directory (auth-dir) |
/data/logs/ | Application logs |
| Port | Purpose |
|---|---|
| 8317 | API & Management UI (HTTP) |
| 8085 | OAuth Callback (HTTP) |
| 1455 | Codex OAuth (TCP) |
| 54545 | Claude OAuth (TCP) |
| 51121 | Antigravity OAuth (TCP) |
| 11451 | iFlow OAuth (TCP) |
| 56121 | xAI/Grok OAuth (TCP) |