mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-02 13:50:26 +00:00
Add a generic ensure_multi_credentials() helper to shared/common.sh that handles the env-var/config-file/prompt/test/save flow for providers needing multiple credentials. This eliminates ~270 lines of duplicated logic across contabo, netcup, ramnode, ionos, and upcloud, replacing it with single function calls. Each provider's ensure_*_credentials() function is now 3-8 lines instead of 30-65 lines. 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 | ||
| codex.sh | ||
| continue.sh | ||
| gemini.sh | ||
| goose.sh | ||
| interpreter.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||
| README.md | ||
Netcup Cloud
Netcup VPS cloud via REST API. Netcup
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/lab/spawn/netcup/claude.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/lab/spawn/netcup/aider.sh)
Goose
bash <(curl -fsSL https://openrouter.ai/lab/spawn/netcup/goose.sh)
Amazon Q
bash <(curl -fsSL https://openrouter.ai/lab/spawn/netcup/amazonq.sh)
Non-Interactive Mode
NETCUP_SERVER_NAME=dev-mk1 \
NETCUP_CUSTOMER_NUMBER=12345 \
NETCUP_API_KEY=your-api-key \
NETCUP_API_PASSWORD=your-api-password \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/lab/spawn/netcup/claude.sh)
Authentication
Netcup uses session-based REST API authentication with three credentials:
- NETCUP_CUSTOMER_NUMBER - Your customer number
- NETCUP_API_KEY - API key from SCP
- NETCUP_API_PASSWORD - API password from SCP
Get your credentials:
- Log in to Netcup Server Control Panel
- Navigate to Settings → API
- Create a new API key if needed
The scripts will:
- Check for credentials in environment variables
- Check
~/.config/spawn/netcup.json - Prompt for credentials if not found
- Save credentials to config file for reuse
Pricing
Budget VPS provider starting at approximately €3.86/month for entry-level VPS plans. Netcup offers flexible pricing with hourly billing or annual contracts.
API
Netcup's REST API launched in October 2025. It uses session-based authentication (login to get session ID, then use session ID for API calls). The API replaces the legacy SOAP web service (discontinued May 1, 2026).
API documentation is available in the Server Control Panel → REST API Docs.