metadata
title: OpenClaw
emoji: 🦀
colorFrom: purple
colorTo: indigo
sdk: docker
pinned: false
license: apache-2.0
app_port: 7860
OpenClaw Space
Native OpenClaw runtime for Hugging Face Spaces. VS Code/code-server is intentionally not installed.
Routing
/ -> OpenClaw control UI
/{port}/ -> localhost:{port}
/proxy/{port}/ -> localhost:{port}
Persistence
On startup, /data/root is restored into /root when /data is available.
During runtime, /root is synced back to /data/root every 5 minutes by default.
SYNC_INTERVAL=300
Large generated folders such as node_modules, .next, dist, build, and cache directories are excluded.
Environment
PROXY_PORT=7860
OPENCLAW_PORT=8080
SYNC_INTERVAL=300
OPENCLAW_CMD=
Use OPENCLAW_CMD only if your installed OpenClaw CLI needs a different start command.
Example:
OPENCLAW_CMD=openclaw --host 127.0.0.1 --port 8080