Twitch Text-to-Speech bot
- Download the latest version of Go https://go.dev/dl/
- Follow the installation instructions for your OS https://go.dev/doc/install.
- Clone this repository
git clone https://github.com/judwhite/twitch-tts
- Go to the new directory
cd twitch-tts
- Compile the binary using
go build
Run sudo apt install python3-gtts
to use your distribution's version of gTTS.
For a more recent version of gTTS, run:
sudo apt install python3-pip
sudo pip install gTTS
After installing you may need to create a new terminal session for gtts-cli
to show up in the PATH
.
sudo apt install ffmpeg
Test that the ffplay
binary is found.
- The easy way: https://www.twitchapps.com/tmi/
export TWITCH_IRC_OAUTH="<your_token>"
(add this to ~/.profile and runsource ~/.profile
)
./twitch-tts --nick=<bot_name> --channel=<#your_channel>
Fork of https://github.com/judwhite/go-cah Cards Against Humanity IRC/Twitch Bot (2015).