mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-06 16:31:08 +00:00
- Split _fly_create_and_start_machine (70 lines) into _fly_create_machine and _fly_wait_for_machine_start for single-responsibility - Replace ensure_koyeb_token (38 lines) with ensure_api_token_with_provider - Replace ensure_railway_token (37 lines) with ensure_api_token_with_provider - Remove _save_koyeb_token and _save_railway_token (handled by shared helper) Net reduction: ~80 lines of duplicated code Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| aider.sh | ||
| amazonq.sh | ||
| claude.sh | ||
| cline.sh | ||
| codex.sh | ||
| gemini.sh | ||
| goose.sh | ||
| gptme.sh | ||
| interpreter.sh | ||
| kilocode.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||
| opencode.sh | ||
| plandex.sh | ||
| README.md | ||
Koyeb
Koyeb serverless container platform via CLI. Koyeb
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/lab/spawn/koyeb/claude.sh)
OpenClaw
bash <(curl -fsSL https://openrouter.ai/lab/spawn/koyeb/openclaw.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/lab/spawn/koyeb/aider.sh)
Non-Interactive Mode
KOYEB_TOKEN=your-token \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/lab/spawn/koyeb/claude.sh)
Environment Variables
| Variable | Description | Default |
|---|---|---|
KOYEB_TOKEN |
Koyeb API token | (prompted) |
KOYEB_REGION |
Deployment region | was (Washington D.C.) |
KOYEB_INSTANCE_TYPE |
Instance type | nano |
OPENROUTER_API_KEY |
OpenRouter API key | (OAuth or prompted) |
Authentication
Get your Koyeb API token at: https://app.koyeb.com/account/api
Features
- Serverless container platform with per-second billing
- Free tier available (no credit card required)
- Fast deployment times
- Automatic scaling
- Global deployment regions