mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
835 B
835 B
Spawn
Automated sprite provisioning scripts for various tools and configurations.
Usage
OpenClaw Setup
Setup a sprite with openclaw pre-configured:
curl https://openrouter.ai/lab/spawn/sprite/openclaw.sh | bash
This will:
- Install sprite CLI if not present
- Login to sprite to get credentials
- Provision a new sprite with the specified name
- Add
bunto PATH - Install openclaw using bun
- Open openrouter.ai/settings/keys to grab an API key
- Inject API keys (OPENROUTER_API_KEY, ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL)
- Configure openclaw to bypass initial settings
Development
To test locally:
bash sprite/openclaw.sh
Deployment
These scripts are served from openrouter.ai/lab/spawn/* via Next.js rewrites configured in openrouter-web/projects/web/next.config.mjs.