English | Tiếng Việt | 中文
An Electron application with React and TypeScript
The desktop app can drive the OpenClaw gateway bridge on the CronyClaw backend: it sends your gateway URL and token to the server and shows whether the bridge is connected. This is the same bridge described in the backend README (WebSocket + token path). HTTP-only notify via claw-notify does not use these fields.
Prerequisites
- CronyClaw backend is running and reachable (default
http://127.0.0.1:12393). - OpenClaw gateway is running if you use the bridge (often
ws://127.0.0.1:18789).
Steps
- Open Settings in the app sidebar.
- Open the General tab.
- Set Base URL to your backend HTTP root (e.g.
http://127.0.0.1:12393). The app uses this to callPOST /openclaw-bridge/configandGET /openclaw-bridge/status. - Set OpenClaw Bridge URL to the gateway WebSocket URL (placeholder suggests
ws://127.0.0.1:18789). - Set OpenClaw Bridge Token if your gateway requires a token (stored locally like other general settings).
- Click Connect & Check Bridge. A toast reports success or failure; below the button, status shows connected (green) or not connected (orange), with error text and hints when the backend returns them (e.g. device pairing: run
openclaw devices approve <request_id>when the hint says so). - Status is polled periodically while Settings stay open. If something fails, confirm Base URL, backend logs, and the backend OpenClaw section.
$ npm install$ npm run dev# For windows
$ npm run build:win
# For macOS
$ npm run build:mac
# For Linux
$ npm run build:linux