Rebind scripts can expose HTTP and WebSocket handlers. Net.Listen binds to
127.0.0.1, so its HTTP server stays on the machine. Net.WSListen currently
binds every network interface. A WebSocket listener needs script-level
authentication and firewall restriction even when its intended client is local.
Use case
Your local tools can drive your scripts.
Trigger Rebind scripts from local tools over loopback HTTP, or use an authenticated WebSocket listener when network access is required.
use cases / local control
The shapes this takes
- A local test runner triggers a hardware-backed input sequence.
- A desktop control panel calls a script over loopback HTTP.
- A local AI sidecar sends commands over loopback HTTP or shared-memory
PipeIPC on Windows. - A home-automation bridge running on the same machine triggers a macro.
With Rebind Link, script output leaves dedicated hardware as standard USB HID.
Where to start
Describe the local integration in RebindGPT. The documentation covers the network namespaces.