mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-05 23:50:48 +00:00
- Validate SPAWN_ISSUE is a positive integer in both trigger-server.ts and refactor.sh to prevent command injection via crafted issue params - Use Python json.dumps for Render _render_create_service JSON body instead of string interpolation (prevents JSON injection) - Remove erroneous "api_key" 6th argument in Hyperstack generic_cloud_api call that was being interpreted as max_retries, breaking all API calls Agent: security-auditor 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 | ||
| README.md | ||
Render
Render is a modern cloud platform for deploying full-stack applications, APIs, and websites. It offers a developer-first experience with automatic deployments, built-in SSL, and managed infrastructure.
Features
- Free Hobby Plan: Free tier for development and small projects
- Docker Support: Native Docker container support
- CLI & SSH Access: Full CLI tooling with SSH access via
render ssh - REST API: Comprehensive API for programmatic provisioning
- Auto Deployments: Automatic deployments from Git repositories
- Managed Services: PostgreSQL, Redis, and other managed services
Authentication
Render scripts require a RENDER_API_KEY. Get yours at: https://dashboard.render.com/u/settings/api-keys
The scripts will:
- Check for
RENDER_API_KEYenvironment variable - Fall back to saved key at
~/.config/spawn/render.json - Prompt for the key if neither is available
Available Agents
Claude Code
bash <(curl -fsSL https://raw.githubusercontent.com/OpenRouterTeam/spawn/main/render/claude.sh)
Deploys Claude Code with OpenRouter integration. Configures:
- Automatic OpenRouter API base URL
- Bypass permissions mode for autonomous operation
- Dark theme and vim editor settings
Aider
bash <(curl -fsSL https://raw.githubusercontent.com/OpenRouterTeam/spawn/main/render/aider.sh)
Deploys Aider with OpenRouter model routing. Prompts for model selection (default: openrouter/auto).
Codex CLI
bash <(curl -fsSL https://raw.githubusercontent.com/OpenRouterTeam/spawn/main/render/codex.sh)
Deploys Codex CLI with OpenRouter integration via OPENAI_BASE_URL override.
Service Details
- Plan: Starter (can be configured)
- Region: Oregon (default)
- Runtime: Docker
- Base Image: render-examples/docker-hello-world (minimal Ubuntu with SSH)
Environment Variables
All scripts support:
RENDER_API_KEY: Your Render API tokenOPENROUTER_API_KEY: Your OpenRouter API key (or OAuth flow)
Cleanup
Services are automatically cleaned up on exit. Manual cleanup:
render services:delete <service-id>
Limitations
- Render's free Hobby plan has resource limits (512MB RAM, 0.1 CPU)
- Services spin down after 15 minutes of inactivity
- Cold starts take 30-60 seconds
Links
- Dashboard: https://dashboard.render.com/
- Documentation: https://docs.render.com/
- API Reference: https://api-docs.render.com/
- CLI: https://github.com/render-oss/cli