Git Product home page Git Product logo

rokutyper's Introduction

Typer - Roku Remote Control via Python

This Python program allows you to control a Roku device using a computer. It emulates a remote control by sending commands to the Roku device through HTTP requests. You can input a message, and the program will type it out on the Roku device using the virtual keyboard.

Requirements

  • Python 3.x
  • curl command-line tool
  • Access to a Roku device on the same network

Installation

  1. Clone the repository or download the rokutyper.py file to your local machine.
  2. Make sure you have Python 3.x installed on your system.
  3. Install the curl command-line tool if it is not already installed. You can download it from the official website or use a package manager specific to your operating system.
  4. Ensure that your computer and the Roku device are connected to the same network.

Usage

  1. Open a terminal or command prompt and navigate to the directory where typer.py is located.
  2. Run the program using the following command:
python rokutyper.py
  1. The program will display a welcome message and prompt you to enter the Roku IP address. If you don't know the IP address of your Roku device, you can press enter to automate a quick nmap scan to find it.
  2. Once the IP address is entered, the program will establish a connection with the Roku device and navigate to the search menu.
  3. Enter the desired message you want to type on the Roku device. The message can contain lowercase letters, numbers, spaces, and special characters.
  4. Press enter to initiate the typing process.
  5. The program will simulate typing on the Roku device by sending appropriate HTTP requests to navigate the virtual keyboard and select each character.
  6. Repeat steps 5-7 to type multiple messages.
  7. To exit the program, press Ctrl+C in the terminal or command prompt.

Notes

  • The program uses the curl command-line tool to send HTTP requests. Make sure curl is installed and accessible from the command line.
  • The program assumes the default port for Roku devices is 8060. If your Roku device uses a different port, you may need to modify the URL in the program accordingly.
  • The program uses a dictionary (board) to map each character to its corresponding position on the Roku keyboard. You can modify this dictionary if you want to change the mapping.
  • The program sends HTTP requests to control the Roku device. Make sure your Roku device is powered on and connected to the network before running the program.
  • This program is for educational purposes and assumes you have proper authorization to control the Roku device.

Credits

  • Author: Clempton
  • Created: September 17, 2021

rokutyper's People

Contributors

wsmaxcy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.