spawn/railway
A 89e213e6f9
feat: Add Amazon Q CLI support for Railway (#239)
Implement railway/amazonq.sh following the standard Railway pattern:
- Install Amazon Q CLI via AWS installer script
- Inject OPENAI_API_KEY and OPENAI_BASE_URL for OpenRouter compatibility
- Launch with 'q chat' command

Agent: gap-filler

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 12:53:24 -08:00
..
lib fix: Prevent shell injection in Railway env var injection and file upload (#222) 2026-02-10 12:34:13 -08:00
aider.sh feat: Add NanoClaw agent to Railway platform (#217) 2026-02-10 12:26:05 -08:00
amazonq.sh feat: Add Amazon Q CLI support for Railway (#239) 2026-02-10 12:53:24 -08:00
claude.sh feat: Add NanoClaw agent to Railway platform (#217) 2026-02-10 12:26:05 -08:00
gemini.sh feat: Add Gemini CLI support for Railway (#231) 2026-02-10 12:52:06 -08:00
goose.sh feat: Add Goose agent support to Railway (#233) 2026-02-10 12:52:40 -08:00
gptme.sh fix: Fix broken Railway gptme script and update provider READMEs (#224) 2026-02-10 12:34:02 -08:00
nanoclaw.sh feat: Add NanoClaw agent to Railway platform (#217) 2026-02-10 12:26:05 -08:00
openclaw.sh feat: Add NanoClaw agent to Railway platform (#217) 2026-02-10 12:26:05 -08:00
README.md feat: Add Amazon Q CLI support for Railway (#239) 2026-02-10 12:53:24 -08:00

Railway

Railway serverless container platform via CLI. Railway

Agents

Claude Code

bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/claude.sh)

OpenClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/openclaw.sh)

Aider

bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/aider.sh)

NanoClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/nanoclaw.sh)

gptme

bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/gptme.sh)

Goose

bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/goose.sh)

Gemini CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/gemini.sh)

Amazon Q CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/amazonq.sh)

Non-Interactive Mode

RAILWAY_SERVICE_NAME=dev-mk1 \
RAILWAY_TOKEN=your-token \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/lab/spawn/railway/claude.sh)

Environment Variables

Variable Description Default
RAILWAY_TOKEN Railway API token (CLI auth or prompted)
RAILWAY_SERVICE_NAME Service name (prompted)
RAILWAY_REGION Deployment region us-west1
OPENROUTER_API_KEY OpenRouter API key (OAuth or prompted)

Notes

  • Railway is a developer-focused container platform with per-second billing
  • Fast provisioning times and automatic HTTPS
  • Free tier available (requires credit card for verification)
  • Uses Railway CLI for deployment and shell access
  • Install CLI: npm install -g @railway/cli or curl -fsSL https://railway.app/install.sh | sh