Version with Twitch emotes support can be found in the emotes branch. Still does not support Twitch badges or third-party emotes.
To add this thing to your OBS:
- In your OBS Sources (next to the Scenes by default) click the '+' button
- Click Browser
- Click Ok on the new window
- Check the Local file checkbox and below it you'll see the Local file line with a button 'Browse', click the button
- Select the index.html file (in the docs directory)
- You should see something like in the example below
To make it connect to your channel, replace YOUR_CHANNEL_NAME in the index.html
<meta name="channel_name" content="YOUR_CHANNEL_NAME" />
with your channel name. For example, content="mimeyu"
.
To edit something in the script, you'll need NPM and to install the packages with it being in the repo directory.
npm i
Then run
npm run build
to watch for changes in the code. Open the index.html file in your browser to debug.