/rokuremote

Roku Remote coded with Node and Vanilla Javascript

Primary LanguageJavaScriptMIT LicenseMIT

Roku Remote

mp4



Demo .mov

Basic remote features offered:
up, down, left, right, ok, home, play/pause, back, and power

You shouldn't really need to use the power button as most Rokus will turn on when the input receives power from the TV. However it may be useful for turning the Roku OFF.

This code should run on any OS, but has only been tested on MacOS Big Sur.

A network scan is performed based on your machine's IPv4 address and netmask at application start-up. Any found Roku devices should load into the dropdown.

The remote has only been tested on the typical /24 private network and finds available devices in under a second. The remote has not been tested on larger networks (less than /24 and with more hosts). It should work the same in theory.


There is a signed/Apple-notarized macOS installer found in Releases (built on Intel Big Sur).

Otherwise use npm to run:
  
# Navigate to project root and run npm start (requires electron):
npm start .
# Build electron dist/ with executable (requires electron-builder)
npm run pack
  


Author: rootVIII 2020