twitch-player turns Twitch chat commands into key presses on your computer!
$ pip install -r requirements.txt
You need to add a config.cfg file to the project root. It should look like:
[TWITCH] ; User name of Twitch account. Preferably an alternate from your main Twitch ; account. Nickname = Nick ; OAuth token acquired from: http://twitchapps.com/tmi Password = oauth:abcdefghijklmnopqrstuvwxyz0123 ; Channel to observe Channel = channel [KEYMAP] ; List of viewer commands and the corresponding keys to press. !left = KEY_LEFT_ARROW !right = KEY_RIGHT_ARROW !space = KEY_SPACE !escape = KEY_ESCAPE
twitch-player must be running on the same machine as the streamed game and the game must have focus.
$ python play.py
Have a bug fix or a new feature you'd like to see in twitch-player? Send it our way! Please make sure you create an issue that addresses your fix/feature so we can discuss the contribution.
- Fork it!
- Create your feature branch:
git checkout -b features/bug-fix-missing-keys
- Commit your changes:
git commit -m 'Adding missing key binds'
- Push to the branch:
git push origin bug-fix-missing-keys
- Submit a pull request.
- Create an issue.
See the license document for the full text.