mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 09:10:55 +00:00
- Extract `ensure_jq()` from hetzner and hostkey into shared/common.sh, eliminating 64 lines of identical duplicated code - Decompose DigitalOcean `create_server()` by extracting error handling into `_do_check_create_error()` helper, and using the shared `extract_api_error_message` instead of inline Python parsing - Use shared `_extract_json_field` for droplet ID extraction 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 | ||
| claude.sh | ||
| openclaw.sh | ||
| README.md | ||
HOSTKEY
HOSTKEY VPS hosting via REST API. HOSTKEY
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hostkey/claude.sh)
OpenClaw
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hostkey/openclaw.sh)
Authentication
To use HOSTKEY spawn scripts, you need a HOSTKEY API key:
- Log in to HOSTKEY
- Navigate to API settings in your account
- Generate a new API key
- Set the
HOSTKEY_API_KEYenvironment variable
Non-Interactive Mode
HOSTKEY_SERVER_NAME=dev-mk1 \
HOSTKEY_API_KEY=your-api-key \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/hostkey/claude.sh)
Environment Variables
HOSTKEY_API_KEY- Your HOSTKEY API key (required)HOSTKEY_SERVER_NAME- Server name (prompted if not set)HOSTKEY_LOCATION- Data center location:nl,de,fi,is,tr,us(default:nl)HOSTKEY_INSTANCE_PRESET- Instance preset ID (default:1)OPENROUTER_API_KEY- Your OpenRouter API key (prompted via OAuth if not set)
Pricing
HOSTKEY offers affordable VPS hosting starting from €1/month with hourly billing available. Check HOSTKEY pricing for current rates.
Locations
nl- Amsterdam, Netherlandsde- Frankfurt, Germanyfi- Helsinki, Finlandis- Reykjavik, Icelandtr- Istanbul, Turkeyus- New York, United States