No description
| scripts | ||
| src/gibby | ||
| tests | ||
| .gitignore | ||
| Dockerfile | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
gibby
Minimal multi-account Codex token aggregator.
Endpoints
GET /healthGET /token
OAuth helper
Add accounts with:
uv run python scripts/oauth_helper.py --mode local
uv run python scripts/oauth_helper.py --mode manual
By default the helper stores accounts in data/accounts.json and does not replace the current active account.
Run
uv sync
uv run uvicorn gibby.app:app --host 0.0.0.0 --port 8080
Environment
DATA_DIRdefault:dataGIBBY_BIND_HOSTdefault:0.0.0.0GIBBY_PORTdefault:8080GIBBY_CALLBACK_HOSTdefault:127.0.0.1GIBBY_CALLBACK_PORTdefault:1455GIBBY_OAUTH_CLIENT_IDdefault:app_EMoamEEZ73f0CkXaXp7hrannGIBBY_ORIGINATORdefault:opencode
State format
The service stores tokens and last known cooldown information in JSON. Accounts already known to be in cooldown are skipped without re-checking usage until their cooldown expires.