The Node.js ws library doesn't send an Origin header by default. When the client identifies as openclaw-control-ui, the gateway enforces origin checks and rejects connections with missing origin. Pass the gateway URL as the Origin header so the gateway's local-loopback check sees a valid loopback origin and allows it. Bump to v2.3.20. Made-with: Cursor
Website · Discord · Skills Store · Demo Video
Demo Video · Join our Discord Server
Install
Node 22+ required.
npx denchclaw@latest
Opens at localhost:3100 after completing onboarding wizard.
Commands
npx denchclaw@latest # runs onboarding again for openclaw --profile dench
npx denchclaw@latest update # updates denchclaw web-runtime with current settings as is
npx denchclaw restart # restarts denchclaw web server
npx denchclaw start # starts denchclaw web server
npx denchclaw stop # stops denchclaw web server
# some examples
openclaw --profile dench <any openclaw command>
openclaw --profile dench gateway restart
openclaw --profile dench config set gateway.port 19001
openclaw --profile dench gateway install --force --port 19001
openclaw --profile dench gateway restart
openclaw --profile dench uninstall
Daemonless / Docker
For containers or environments without systemd/launchd, set the environment variable once:
export DENCHCLAW_DAEMONLESS=1
This skips all gateway daemon management (install/start/stop/restart) and launchd LaunchAgent installation across all commands. You must start the gateway yourself as a foreground process:
openclaw --profile dench gateway --port 19001
Alternatively, pass --skip-daemon-install to individual commands:
npx denchclaw --skip-daemon-install
npx denchclaw update --skip-daemon-install
npx denchclaw start --skip-daemon-install
Development
git clone https://github.com/DenchHQ/DenchClaw.git
cd denchclaw
pnpm install
pnpm build
pnpm dev
Web UI development:
pnpm install
pnpm web:dev
Open Source
MIT Licensed. Fork it, extend it, make it yours.
Languages
TypeScript
73.8%
JavaScript
17.1%
Swift
6.1%
Kotlin
1.4%
Shell
0.9%
Other
0.6%