Setup Instructions for Real-Time Twitch Chat Helper

Created by: chamelioness on: May 28, 2025 Last updated on: June 2, 2025

Quick Links

HOW TO USE TWITCH CHAT HELPER

Installation Steps

  1. Extract all the contents of this folder.
  2. Download and install the latest version of Node.js on your computer. Check to see if npm is also installed by entering the following command in your terminal.
                    
                        npm -v
                    
                
  3. Open the command prompt by typing 'cmd' in your windows search (you can alternately use the shortcut 'Win + R') and install the 'Serve' package from the npm package by typing in:
                    
                        npm install -g serve
                    
                
  4. Open the terminal for the folder 'chat-widget-ws'. To do this, open the folder and on the address bar of the folder window, type 'cmd' and hit Enter.
  5. In the terminal window, we now install WebSocket by executing the following commands one after the other:
                    
                        npm init -y
                        npm install ws
                        node server.js
                    
                
  6. Keep the terminal window open while you set up your other settings.

Open the Twitch Chat Helper over a local server

There are multiple ways to get the live server address. Here are two methods:

Using Visual Studio Code 'Live Preview' Extension

  1. Open VS Code and make sure to have the 'Live Preview' extension installed.
  2. Now, open the Twitch Chat Helper folder in VS Code.
  3. In the 'Explorer' panel in your sidebar, right-click on the file 'highlighted-chat-display.html' and click on 'Show Preview'. This should open up a browser window within VS Code.
  4. Copy the link it has created which should read something like 'http://127.0.0.1:3000/highlighted-chat-display.html' to a web browser of your choice. You can now close VS Code.
  5. This is the Chat Control Panel which will receive the chat feed for your Twitch channel, and allow you to select the user messages that you'd like to highlight for your audience. Click on the link 'Browser Source URL for OBS' to copy it. This link will be used as the URL in OBS.

Using the Serve package in npm

  1. Open the terminal window for the top-level folder by opening the folder and typing in 'cmd' in the address bar of the folder.
  2. In the terminal window, type the following command and hit Enter.
                                
                                    serve
                                
                            
  3. It should give you two links, one is a localhost address and the other a network address. You can choose whichever you want but I prefer the network address.
  4. Copy and paste the suitable link to your browser window. You should now be able to click into 'chat-control-panel.html' and you're set!
  5. This is the Chat Control Panel which will receive the chat feed for your Twitch channel, and allow you to select the user messages that you'd like to highlight for your audience. Click on the link 'Browser Source URL for OBS' to copy it. This link will be used as the URL in OBS.

Set up OBS

  1. OBS is the streaming software we are using this on, but it should ideally work with any streaming software. Install and open OBS.
  2. In the Sources panel, click on '+' and then, 'Browser'.
  3. Name the source whatever you want, I chose 'Highlighted Chat', and click 'OK'.
  4. In the Properties window, in the 'URL' field, enter the network address you got from the Chat Control Panel.
  5. Enter '1920' under 'Width'.
  6. Enter '300' under 'Height'.
  7. Check the box for 'Shutdown source when not visible'.
  8. Hit 'OK'.
  9. BONUS: You can also add the Twitch Chat Helper as a dock in OBS by going to Docks > Custom Browser Docks and adding the Chat Control Panel as a browser source.

Steps to take before every livestream

  1. Open the terminal window for the top-level folder by opening the folder and typing in 'cmd' in the address bar of the folder.
  2. In the terminal window, type the following command and hit Enter.
                        
                            serve
                        
                    
  3. It should give you two links, one is a localhost address and the other a network address. You can choose whichever you want but I prefer the network address. If you don't have any other localHost servers open, this should ideally lead you to the 3000 port which looks like this: http://127.0.0.1:3000/
  4. Copy and paste the suitable link to your browser window. You should now be able to click into 'chat-control-panel.html'.
  5. This is the Chat Control Panel which will receive the chat feed for your Twitch channel, and allow you to select the user messages that you'd like to highlight for your audience. Click on the link 'Browser Source URL for OBS' to copy it. This link will be used as the URL in OBS.
  6. Open the terminal window for the folder 'chat-widget-ws'. To do this, open the folder and on the address bar of the folder window, type 'cmd' and hit Enter.
  7. Execute the following command in the terminal window:
                            
                                node server.js
                            
                        
  8. Keep that terminal running during the entire livestream.

Features

What's NOT included

  • Badges of the chat user is not available at this moment.
  • Further customization (such as, borders and animations) of the displayed message box on screen is not available yet.

This folder contains:

TROUBLESHOOTING