This is a simple soundboard for Twitch. German readme is here: README_de.md
Change channel name in the example.env
file and rename it to .env
. You can specify multiple channels by separating them with a comma.
You need NodeJS (https://nodejs.org/en/) for this project.
Install the package:
npm install
npm start
Optional:
Copy example.env
file and rename the file to .env
. You can configure TTS
and your webhook there.
Insert a browser window to your OBs scene and point the URL to: http://localhost:3000. If you change the files or the code you have to click "reload" in the settings of this browser window in OBS.
Place your sound or viddeo files in "/public/files/". The command will be the filenames with !
infront.
Mapping in Twitch chat. "!lala" will play "lala.mp3" or "lala.mp4" in the browser window.
!lala -> lala.mp3
You can use *.mp3 or *.mp4 files that are playable in a OBS browser window.
TTS is completely done by the browser. Which voice speaks, therefore, depends
depends on your operating system. When a message is written to the chat
the soundboards plays /public/files/icq.mp3
. (Yes, currently hardcoded.)
It is possible to configure a webhook in ".env". When starting the soundboard you will be asked if this webhook should be sent with the webhook text should be sent.
WEBHOOK=url
WEBHOOK_CONTENT=text
Type these commands in the twitch chat to trigger the help window that shows all commands!
!help
, !hilfe
, !soundboard
, !commands
The !help
is in german language. Edit the HTML in /public/index.html to change the help text.