You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# ttchat
2
2
3
-
Connect to a Twitch channel's chat from your terminal
3
+
Connect to Twitch channels' chat from your terminal.
4
+
5
+

4
6
5
7
# Installing
6
8
@@ -20,8 +22,8 @@ You should see the binary at `./bin/ttchat`.
20
22
A configuration file at `$HOME/.ttchat/config.yaml` containing some account information is required for authentication.
21
23
22
24
```
23
-
clientID: "your_twitch_client_id"
24
-
username: "your_twitch_login_username"
25
+
clientID: "yourTwitchClientId"
26
+
username: "yourTwitchUsername"
25
27
redirectPort: "9999"
26
28
lineSpacing: 1
27
29
```
@@ -45,14 +47,17 @@ redirectPort: "8080"
45
47
`ttchat` would listen on `http://localhost:8080` for Twitch's authentication result. So, your Twitch application must have `http://localhost:8080` for a redirect URL.
46
48
47
49
# Running
48
-
See `ttchat -h` for options and arguments
49
50
50
-
`ttchat --channel ludwig`
51
+
`ttchat --channel sodapoppin`
52
+
53
+
`ttchat --channel sodapoppin --channel hasanabi`
54
+
55
+
Obtaining an OAuth access token requires your authorization via web browser. See https://dev.twitch.tv/docs/authentication/getting-tokens-oauth for more details. To provide your own token, use the `--token` flag. The token must have the `chat:edit` and `chat:read` scopes.
51
56
52
-
Obtaining an access token requires you to login via your default browswer. To provide your own token, use the `--token` flag.
53
-
See https://dev.twitch.tv/docs/authentication/getting-tokens-oauth for more details on obtaining your own access token.
57
+
`ttchat --channel sodapoppin --token $TOKEN`
54
58
55
-
`ttchat --channel ludwing --token $ACCESS_TOKEN`
59
+
# Usage
56
60
57
-
## Notes
58
-
The token must have the `chat:edit` and `chat:read` scopes
0 commit comments