Twitch chat in the terminal.
Go to file
2021-11-16 15:40:16 -08:00
.github Publish to crates.io on release creation 2021-11-16 15:40:16 -08:00
src Updated keybinds 2021-11-11 06:16:09 -08:00
.gitignore unignored config.toml since it's not placed within the project 2021-09-26 16:36:50 -07:00
.pre-commit-config.yaml Fixed and added pre-commit hooks 2021-09-20 20:01:23 -07:00
Cargo.lock Bump tokio from 1.13.0 to 1.13.1 2021-11-16 07:15:51 +00:00
Cargo.toml Bump tokio from 1.13.0 to 1.13.1 2021-11-16 07:15:51 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md. 2021-10-10 14:10:23 -07:00
default-config.toml Removed .env file 2021-09-19 00:13:33 -07:00
LICENSE Initial commit 2021-08-23 15:27:12 -07:00
README.md Updated keybinds 2021-11-11 06:16:09 -08:00

Twitch chat in the terminal.

What it looks like:

image

Keybinds:

Normal mode
Key Description
c Go to the chat window chat.
i Enter input mode for sending messages. Exit this mode with Esc.
? Have the keybinds window appear.
q Quit out of the entire application.
Esc Exits out of layered windows, such as going from input mode, to normal, to exiting the application.
Input mode
Key Description
Ctrl + w Cuts a single word (from the cursor to the next whitespace)
Ctrl + u Cuts the entire line
Ctrl + f Move cursor to the right
Ctrl + b Move cursor to the left
Ctrl + a Move cursor to the start
Ctrl + e Move cursor to the end
Alt + f Move to the end of the next word
Alt + b Move to the start of the previous word
Ctrl + t Swap previous item with current item
Alt + t Swap previous word with current word
Ctrl + u Remove everything before the cursor
Ctrl + k Remove everything after the cursor
Ctrl + w Remove the previous word
Ctrl + d Remove item to the right
Tab Cycle right through the input tabs
Shift + Tab Cycle left through the input tabs
Enter Confirm the input text to go through
Esc Drop back to previous window layer

Setup:

  1. Make sure you have Cargo installed from rust-lang website. Make sure the Cargo binary folder is appended to your $PATH environment variable.
  2. Get an OAuth token from Twitch, and have it ready to put into the token variable in the config.toml file that you create. This config.toml file should be created in ~/.config/twt/config.toml if you're on Linux or MacOS. If on Windows, place it in %appdata%\twt\config.toml instead.
  3. Run cargo install twitch-tui and follow the instructions that it prints.
  4. You should now be able to run twt from anywhere now. To update in the future, run cargo install twitch-tui. Have fun!

More information:

  • This project used to be named terminal-twitch-chat, but was renamed to twitch-tui in version 1.2.2.