Browser Demo
Drive Rebind from a web page. This panel talks straight to the WebSocket server
that remote_access.lua opens — no client library, no build step, no install.
It’s the browser equivalent of the TypeScript, Python, and Rust
remote clients: send JSON over a socket, get hardware input out.
The wire protocol is identical in either mode.
Prerequisites
- Rebind is running with the Remote Access script started.
- The default WebSocket port is
19561.
Demo
Mouse
Keyboard
Clipboard
System
How it works
This page connects to the Rebind WebSocket server via the browser’s native
WebSocket API — no libraries, no build step. The trackpad sends hid.move
deltas as you drag; the live Position readout updates from the mouse
subscription; every other button sends its command and logs the result.
For the message shapes — fire-and-forget writes, id-correlated reads, and event subscriptions — see the protocol. For localhost throughput, see the transport numbers.
View the page source for the full implementation.