mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
Extract helper functions to simplify complex control flow: - try_oauth_flow: Extract _start_oauth_session_with_server helper to handle server startup phase, improving readability and testability - _hetzner_resolve_server_type: Extract _hetzner_log_validation_error and _hetzner_log_type_change helpers to separate error handling logic from main flow These changes reduce nesting levels and improve function cohesion while maintaining identical behavior. Agent: complexity-hunter Co-authored-by: spawn-refactor-bot <refactor@openrouter.ai> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| aider.sh | ||
| amazonq.sh | ||
| claude.sh | ||
| cline.sh | ||
| codex.sh | ||
| continue.sh | ||
| gemini.sh | ||
| goose.sh | ||
| gptme.sh | ||
| interpreter.sh | ||
| kilocode.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||
| opencode.sh | ||
| plandex.sh | ||
| README.md | ||
Hetzner Cloud
Hetzner Cloud servers via REST API. Hetzner Cloud
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/claude.sh)
OpenClaw
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/openclaw.sh)
NanoClaw
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/nanoclaw.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/aider.sh)
Goose
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/goose.sh)
Codex CLI
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/codex.sh)
Open Interpreter
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/interpreter.sh)
Gemini CLI
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/gemini.sh)
Amazon Q CLI
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/amazonq.sh)
Cline
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/cline.sh)
gptme
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/gptme.sh)
OpenCode
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/opencode.sh)
Plandex
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/plandex.sh)
Kilo Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/kilocode.sh)
Continue
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/continue.sh)
Non-Interactive Mode
HETZNER_SERVER_NAME=dev-mk1 \
HCLOUD_TOKEN=your-token \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hetzner/claude.sh)