Twitch-cli

This forum is for all programming discussions. Not limited to just Linux-related discussions. We will not judge you based on the operating system or the programing language...unless it's Javascript. ;)
Post Reply
User avatar
mrfhitz
Posts: 4
Joined: Sun Jun 21, 2020 12:17 am

Twitch-cli

Post by mrfhitz » Sun Jun 21, 2020 4:35 pm

Hey, I'm trying to use twitch in the terminal.

Image

Objective
- See followed online channels;
- Play one of the listed channels;

Solutions
I think i can use https://streamlink.github.io/ to start mpv with the stream;
I can use de available twitch api to get the online channels;

What I found online
This dude made a cool script that works: https://github.com/raine/twitch-cli

Problems
This script use one oAuth key but do not renew it. That means that after some months the api call will stop working and you need to get a now oAuth token.

Open Quentions
Do you guys use something like this?

Post Reply