A web app that provisions Sprites running OpenClaw with one click.
The builder serves a form where users provide their Sprites API token and LLM API keys. On submit, it:
- Creates a new sprite via the Sprites API
- Installs OpenClaw inside the sprite
- Writes config with a keep-alive wrapper (so the sprite stays running between requests)
- Registers an OpenClaw gateway service on port 18789
- Returns the sprite URL with the gateway ready to use
Create a sprite and run the setup script:
sprite create openclaw-builder
sprite exec openclaw-builder -- bash -c '
git clone https://github.com/theoctopusperson/openclaw-sprite-builder.git ~/openclaw-builder
cd ~/openclaw-builder
bash setup.sh
'Or if you're already inside a sprite:
git clone https://github.com/theoctopusperson/openclaw-sprite-builder.git ~/openclaw-builder
cd ~/openclaw-builder
bash setup.shThe builder will be available at your sprite's URL.
- Server (
server.js) — Express app with a/api/deploySSE endpoint that orchestrates sprite creation and setup - UI (
public/index.html) — Dark-themed deploy form with real-time progress streaming - Setup script (
setup.sh) — Installs deps, registers the sprite service, and starts the builder
The setup script generated for each OpenClaw sprite includes:
sprite-keep-running.sh— Registers a user task to keep the sprite running while OpenClaw is up- Idempotent config merging — safe to re-run without losing existing settings
- API keys persisted in
~/.profileso they survive reboots
MIT