A simple twitch chat reader for you terminal.
- Requirements
- Clone & Compiling
- Config & Usage
To compile this abomination you will need the following:
git clone --recurse-submodules https://github.com/nempk1/cchat.git
cd cchat
make
If you want to choose the compiler
CC=gcc make
# OR
CC=clang make
And pray that you will not get an error or that libconfig is not found. if libconfig is not found try adding it to your LD_LIBRARY_PATH and check if the includes are being located to.
- Open the cchat.cfg.sample file in the configs/ directory
- Add the channel, oauth and oauth_nick variables that are necessary
- Twitch oauth code and account name related with it
- you can get one for you in the below link
- https://twitchapps.com/tmi
- you should only put the part after "PASS oauth:"
- like in this one PASS oauth:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- whould be oauth = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
- if you want you can choose the channel to join in the running arguments.
- After that just run it
./bin/cchat -i irc.chat.twitch.tv -p 6697 -c configs/cchat.cfg
# You change use the --channel argument to change the chat to join
# without need to change in the file.
./bin/cchat -i irc.chat.twitch.tv -p 6697 -c configs/cchat.cfg --channel nempk1