Twitch via the terminal
- Shell 100%
| assets | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| twinge | ||
Twitch via the terminal!
Dependancies
streamlink, jq, curl and a video player
Note
Works best with vlc or mpv.
Debian / Ubuntu
sudo apt install streamlink jq curl
Fedora
sudo dnf install streamlink jq curl
OpenSuse
sudo zypper install streamlink jq curl
Arch
sudo pacman -S streamlink jq curl
Setup
Linux
git clone https://gitlab.com/tripplehelix/twinge.gitor download Latest Release.chmod +x ./twinge./twinge
Note
Once setup has been completed
~/.config/twinge/twinge.confwill be created.
Screenshot
Usage
You use the arrow keys or w/s to scroll the list and make a selection with the space key for 480p or enter for best quality. You can close out with q or ctrl+c.
If you need to rerun the setup script, simply run twinge with --setup.
Twinge – Twitch in the terminal
Usage: twinge [OPTION] [QUERY]
-f, --following List followed streams
-p, --popular Top 100 streams
-g, --game NAME Top streams for game
-t, --streamer USER Dpecific streamer
-o, --open USER Open twitch page in browser
-h, --help This screen
-v, --version Show version
--setup First-time configuration
TUI Controls:
↑/↓ or w/s Navigate streams
Enter Open stream (best quality)
Space Open stream (lowest quality)
f Show followed streams
p Show popular streams
g Search by game
t Search by streamer
o Open in browser
q, ctrl+q Quit
Examples:
twinge Show followed streams
twinge -p Show popular streams
twinge -g "Valorant" Search game streams
twinge -t shroud Search specific streamer
twinge -o shroud Open streamer in browser
The legacy python version of the script can be still downloaded, however it's no longer updated.
https://codeberg.org/tripplehelix/twinge/releases/tag/v2.0.0

