Skip to main content

Keyboard-driven Roku remote for the terminal

Project description

 ██████╗  ██████╗ ██╗  ██╗██╗   ██╗██╗   ██╗██╗███╗   ███╗
 ██╔══██╗██╔═══██╗██║ ██╔╝██║   ██║██║   ██║██║████╗ ████║
 ██████╔╝██║   ██║█████╔╝ ██║   ██║██║   ██║██║██╔████╔██║
 ██╔══██╗██║   ██║██╔═██╗ ██║   ██║╚██╗ ██╔╝██║██║╚██╔╝██║
 ██║  ██║╚██████╔╝██║  ██╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
 ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝   ╚═══╝  ╚═╝╚═╝     ╚═╝

Add Vim bindings to local network Roku devices


This project uses the Roku external control API (https://developer.roku.com/docs/developer-program/debugging/external-control-api.md)

It automatically scans the local network for Roku devices and lets you control them from your terminal, using common Vim bindings.

Includes text input (insert mode), media control and device/media information.


Decided to revive this and fix some of the rendering issues. Uses curses for rendering.


Installation

From PyPI

pip install rokuvim

From source

git clone https://github.com/heheoppsy/RokuVim.git
cd RokuVim
pip install .

After installing, launch the remote with: rokuvim


Notes

Roku has disabled network remote support by default on newer devices. You'll have to enable them.

From the home screen go to Settings > System > Advanced System settings > Control by mobile apps > Network Access and change the setting to "Enabled". A warning will come up, select "Yes, allow".

HTTP requests are handled with requests; no additional system libraries are required. The curses UI requires a real TTY; some IDE terminals or non-interactive shells may fail.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rokuvim-1.5.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rokuvim-1.5.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file rokuvim-1.5.0.tar.gz.

File metadata

  • Download URL: rokuvim-1.5.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for rokuvim-1.5.0.tar.gz
Algorithm Hash digest
SHA256 eaf667c5ab57186e4543955cc4b80d661533272e3ca83f951c24b64d34b4ecf5
MD5 9b0e95cd21fdaaf62b838f6e81bb4c62
BLAKE2b-256 4210dada1d45c807d1be9afbb721b04c19cb5a79bff46da75b2a14ddf635f42d

See more details on using hashes here.

File details

Details for the file rokuvim-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: rokuvim-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for rokuvim-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f44ffd5f703898248742343d7c1b36782f87a5e6c1ae9517115d3c69fa2fe6eb
MD5 34fa7a6b77866ac6736bb7de1598b4ed
BLAKE2b-256 527afa1056f79a58a4671c3acbe280e1bec7d82a64712142f53ae51be0833645

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page