A local API in the Rebind app. TypeScript, Python, and Rust clients move the mouse, type, and read pixels.
// npm install @rebind.gg/client-ts
import { RebindRemote } from "@rebind.gg/client-ts";
const r = new RebindRemote("ws://127.0.0.1:19561");
await r.connect();
r.hidMove(30, -5);
r.hidPress("Mouse1", 20);
r.hidType("hello");
const { x, y } = await r.systemMouse();
const px = await r.screenPixel(x, y);
r.close();
Python and Rust clients match this surface. Install and API docs.