mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
Add ServerSpace (serverspace.io) as a new cloud provider with global locations (EU, US, Asia). Uses REST API with X-API-KEY auth and async task-based server creation with polling. - serverspace/lib/common.sh: Full provider library with API wrapper, SSH key management, server provisioning with cloud-init, task polling - serverspace/claude.sh: Claude Code agent deployment - serverspace/aider.sh: Aider agent deployment - serverspace/goose.sh: Goose agent deployment - manifest.json: Cloud definition + 15 matrix entries (3 implemented) - test/mock.sh: URL stripping, body validation, synthetic responses - test/record.sh: Endpoints, auth, API calls, error detection - test/fixtures/serverspace/: Mock fixtures for all API endpoints Co-authored-by: OpenRouter Bot <noreply@openrouter.ai> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| aider.sh | ||
| claude.sh | ||
| goose.sh | ||
| README.md | ||
ServerSpace
ServerSpace cloud servers via REST API with global locations. ServerSpace
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/serverspace/claude.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/labs/spawn/serverspace/aider.sh)
Goose
bash <(curl -fsSL https://openrouter.ai/labs/spawn/serverspace/goose.sh)
Non-Interactive Mode
SERVERSPACE_SERVER_NAME=dev-mk1 \
SERVERSPACE_API_KEY=your-api-key \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/serverspace/claude.sh)
Environment Variables
| Variable | Description | Default |
|---|---|---|
SERVERSPACE_API_KEY |
ServerSpace API key | (prompted) |
SERVERSPACE_SERVER_NAME |
Server hostname | (prompted) |
SERVERSPACE_LOCATION |
Server location | nl1 |
SERVERSPACE_CPU |
Number of CPU cores | 1 |
SERVERSPACE_RAM_MB |
RAM in MB | 1024 |
SERVERSPACE_DISK_MB |
Boot disk in MB | 25600 |
OPENROUTER_API_KEY |
OpenRouter API key | (prompted/OAuth) |
Getting an API Key
- Sign up at ServerSpace
- Go to API settings
- Generate an API key
- Set it as
SERVERSPACE_API_KEYor paste when prompted