Skip to content

lightgun-poc / server

server

Lightgun POC server: serves the phone page, receives aim over WebSocket, moves the PC cursor with absolute positioning.

The CLI in lib/cli is what drives this in practice:

point-bang serve --mode adb    # USB tunnel flow — phone opens http://localhost:8443
point-bang serve --mode wifi   # same-WiFi flow — prints the URLs to open

Emergency stop: Ctrl+C in the terminal.

Interfaces

Type Aliases

Functions

Released under the MIT License.