mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-21 18:52:56 +00:00
Railway create_server (76 lines) split into: - _railway_create_project: project init and linking - _railway_deploy_container: Dockerfile creation and deploy - _railway_wait_for_deployment: deployment readiness polling Northflank ensure_northflank_token (59 lines) split into: - _northflank_login: CLI authentication wrapper - _load_northflank_config: config file loading and validation - _save_northflank_token: token persistence Northflank create_server (54 lines): extracted - _northflank_wait_for_service: service readiness polling No function exceeds 42 lines after decomposition. 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 | ||
| claude.sh | ||
| codex.sh | ||
| gemini.sh | ||
| goose.sh | ||
| interpreter.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||
| README.md | ||
Northflank
Northflank container platform via CLI with exec access. Northflank
Uses Northflank CLI for container exec. Free tier: 2 services. Pay-per-second pricing.
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/lab/spawn/northflank/claude.sh)
OpenClaw
bash <(curl -fsSL https://openrouter.ai/lab/spawn/northflank/openclaw.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/lab/spawn/northflank/aider.sh)
Setup
- Create a Northflank account at https://northflank.com
- Generate an API token at https://northflank.com/account/settings/api/tokens
- Install the Northflank CLI:
npm install -g @northflank/cli
Non-Interactive Mode
NORTHFLANK_SERVICE_NAME=spawn-dev \
NORTHFLANK_PROJECT_NAME=spawn-project \
NORTHFLANK_TOKEN=your-token \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/lab/spawn/northflank/claude.sh)
Free Tier
Northflank offers a Developer Sandbox with:
- 2 free services
- 2 free cron jobs
- 1 free database/add-on
Perfect for testing and hobby projects. Production apps should use pay-as-you-go pricing.
Pricing
Pay-per-second usage-based pricing after free tier:
- Compute: $0.01667 per vCPU/hour, $0.00833 per GB memory/hour
- Disk: $0.30/GB per month
- Network egress: $0.15/GB