/shroku

Interactive terminal IP remote for Roku

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Interactive terminal IP remote for Roku TVs

Depends: bash curl grep

Use bash 4.4+ for best performance

Usage:

You can supply the IP address of your Roku as an argument to the script, by editing the script, or by pressing 'a' while the script is running and not in keyboard mode.

By default the script is in normal/remote mode. Pressing 'k' puts the script in keyboard mode. In this mode, printable ASCII characters can be typed into the Roku and most of the controls listed below will not work until you exit keyboard mode. In this mode, the enter key sends Enter instead of select/OK.

Controls:

arrows: arrows

`: back

enter: OK-enter

delete: backspace (in keyboard mode)

insert: leave keyboard mode

space: play-pause

,: rewind

.: forward

-: vol-down

=: vol-up

[: channel-down

]: channel-up

address

show-controls

debug

find-remote

home

info-*

keyboard-mode

mute

off

On

power

replay

search

Search-inline

youtube

0: tuner

HDMI1

HDMI2

HDMI3

HDMI4

5: AV-in

Refs:

Roku API docs

RoseSecurity/Abusing-Roku-APIs (incl. info on locating IP)

Bash's read builtin trickiness