Enables you to use your Stream Deck to post in other channels (than your own) without having to set the focus on the browser/chat window.
Ensure you have Node.js installed and available in your PATH. See here for windows or here for *nix.
Download the repo whether by cloning it or downloading as zip (extract afterwards).
- Rename the
commands.json.default
tocommands.json
and edit it to your hearts desire. - For each channel you want to send texts - setup a list of commands containing:
- name is the command name and the localhost endpoint
- response is the response that should be answered with
- Get your personal oauth token HERE - NEVER share it with anybody!
- Rename
config.json.default
toconfig.json
- Insert your oauth token in
config.json
- Add the channels you want to join in
config.json
- Open a terminal and navigate to the folder containing the project.
- Install the required node modules with
npm install
- Run the relay with
node index.js
You can stop your relay with [Ctrl] + [C]
.
You can use the twitch-relay.bat to start your local relay.
To set it up correctly follow these instructions:
- Rename
twitch-relay.bat.default
totwitch-relay.bat
- Open the file
twitch-relay.bat
- Replace
PATH/TO/YOUR/FOLDER/
with the real path to your relay. (e.g.: C:\Users\lampe385\workspace\twitch-relay) - Save the file.
- Execute the file.
- You may need to allow it to communicate through the fire wall.
If everything worked you command prompt should look like this:
You can stop your relay with [Ctrl] + [C]
.
Use the "website" action of your Stream Deck an configure it like shown below: