Twitch
Displays twitch streams that are currently live on Twitch.tv.
If you wish to see top live streams:
- Follow the steps here to create a twitch app.
- Save your
clientId
andclientSecret
in your configuration file.
If you wish to see your followed live streams:
- Perform the previous steps and continue from here until you receive a
userAccessToken
anduserRefreshToken
. - Get your twitch
userId
from this site. - Check which
redirectURI
you have for your app at twitch developer console. - Save your
userAccessToken
,userRefreshToken
,userId
andredirectURI
in your configuration file.
Configuration
twitch:
enabled: true
position:
top: 1
left: 1
height: 1
width: 2
streams: "top"
clientId: "client id"
clientSecret: "client secret"
userAccessToken: "user access token"
userRefreshToken: "user refresh token"
redirectURI: "http://localhost:3000"
userId: 123456789
Attributes
Name | Value |
---|---|
streams
Which streams to display, top or followed . Default: top
|
|
clientId
Client ID of your twitch app. |
|
clientSecret
Client secret of your twitch app. |
|
userAccessToken
User access token gotten from accepting your twitch app. Required to fetch followed streams. |
|
userRefreshToken
User refresh token gotten from accepting your twitch app. Required to fetch followed streams. |
|
redirectURI
The redirect URI set for your twitch app. Required to fetch followed streams. |
|
userId
Your twitch user ID. Required to fetch followed streams. |
Keyboard
Key | Action |
---|---|
/ |
Open/close the widget's help modal |
[esc] |
Cancel the selection |
[return] |
Open the selected stream in the browser |
s |
Open the selected stream via streamlink (https://github.com/streamlink/streamlink) |
↓ |
Select the next item in the list |
↑ |
Select the previous item in the list |