hn.today

Show HN: Use your phone as a Windows mouse and keyboard, without a phone app

github.com5 points2 comments
Screenshot of Show HN: Use your phone as a Windows mouse and keyboard, without a phone app

LocalTV Remote is an open-source Windows daemon that turns any phone into a wireless mouse, keyboard and system-volume remote via a browser-based PWA - no phone app required. A Node-based server runs on the PC and serves a controller UI over the LAN using HTTP+WebSocket; pairing is done with a QR and a six-digit PIN so phones store a token for future reconnects. Input is injected system-wide using Win32 SendInput (works in games and full-screen apps) and volume control talks directly to Windows Core Audio through a persistent PowerShell STA process. It supports multiple simultaneous phone controllers, is LAN-only with no cloud relay, and is designed to be lightweight (~27 MB installer, ~25-40 MB RAM idle) with no bundled Chromium.

Installation is available via winget or an installer, and developers can build from source with Node.js 22+. Security measures include origin checks, rate limiting (500 messages/sec per client), pairing routes restricted to loopback, and a single-instance lock; the server defaults to port 6776 with auto-port fallback. Project layout separates server, input, audio and PWA controller, and the input backend is abstracted for potential macOS/Linux ports. The project positions itself as a free, privacy-first alternative to freemium remotes that require companion phone apps or cloud accounts.

Read on github.com2 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Hardware

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.