Skip to content

Commit be70376

Browse files
v0.5.0
1 parent 7297330 commit be70376

File tree

3 files changed

+29
-9
lines changed

3 files changed

+29
-9
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
<a name="0.5.0"></a>
2+
# [0.5.0](https://github.com/SupportClass/streen/compare/v0.4.0...v0.5.0) (2017-02-01)
3+
4+
5+
### Features
6+
7+
* add pre-shared key authentication ([e78410a](https://github.com/SupportClass/streen/commit/e78410a))
8+
* **api:** use object for `chat` and `timeout` events ([c99f945](https://github.com/SupportClass/streen/commit/c99f945))
9+
10+
11+
### BREAKING CHANGES
12+
13+
* api: The `chat` and `timeout` events now pass a single object as their argument.
14+
15+
16+
117
<a name="0.4.0"></a>
218
# [0.4.0](https://github.com/SupportClass/streen/compare/v0.3.2...v0.4.0) (2017-02-01)
319

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
#Streen [![Build Status](https://travis-ci.org/SupportClass/streen.svg?branch=master)](https://travis-ci.org/SupportClass/streen) [![Coverage Status](https://coveralls.io/repos/github/SupportClass/streen/badge.svg?branch=master)](https://coveralls.io/github/SupportClass/streen?branch=master)
22
Streen is a centralized interface for interacting with Twitch Chat. It is essentially a wrapper for
3-
[twitch-irc](https://github.com/twitch-irc/twitch-irc), and it operates via IPC.
3+
[twitch-irc](https://github.com/twitch-irc/twitch-irc), and it operates via Socket.IO websockets.
44

55
Streen is useful in situations where multiple processes all need to connect to Twitch Chat,
6-
but the overhead of spinning up multiple IRC bots is not acceptable. Streen operates as a single bot and exposes
7-
an evented IPC interface via [axon](https://github.com/tj/axon).
6+
but the overhead of spinning up multiple and managing multiple IRC bots is not acceptable.
7+
Streen operates as a single bot and exposes a websocket API.
88

99
## Installation
1010
- Clone the repository
1111
- From the directory you cloned Streen into, run `npm install --production`
12-
- Create `./config.json` with the desired Twitch `username` and `password`. Optionally, add a
13-
[`slack.botToken`](https://my.slack.com/services/new/bot) and `slack.statusChannel`
12+
- Create `./config.json` with the desired `twitch.username`, `twitch.password`, and `secretKey`.
13+
The `secretKey` is a pre-shared key that all clients must provide in order to use the websocket API.
14+
- Optionally, add a [`slack.botToken`](https://my.slack.com/services/new/bot) and `slack.statusChannel`
1415
to have Streen post critical status updates and respond to commands.
1516
[(Need an avatar for your bot?)](http://i.imgur.com/7LNvGeK.jpg)
1617
```json
@@ -23,7 +24,10 @@ to have Streen post critical status updates and respond to commands.
2324
"slack": {
2425
"botToken": "xoxb-xxxxxxxxxx-yyyyyyyyyy",
2526
"statusChannel": "#somechannel"
26-
}
27+
},
28+
"port": 8232,
29+
"logLevel": "info",
30+
"secretKey": "xxxxx"
2731
}
2832
```
2933
- Run with `node server.js`
@@ -33,11 +37,11 @@ See [lfg-siphon](https://github.com/SupportClass/lfg-siphon) for an example impl
3337

3438
## Slack Commands
3539
### !channels
36-
Lists the current Twitch chat channels that Streen is listening to.
40+
Lists the current Twitch chat channels that Streen is listening to.
3741
![channels command example](https://i.imgur.com/072ECjo.png)
3842

3943
### !online
40-
Lists the online status of each Twitch stream that Streen is listening to.
44+
Lists the online status of each Twitch stream that Streen is listening to.
4145
![online command example](https://i.imgur.com/TMiOISh.png)
4246

4347
### License

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "streen",
33
"description": "An IPC wrapper for twitch-irc",
44
"main": "server.js",
5-
"version": "0.4.0",
5+
"version": "0.5.0",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/SupportClass/streen.git"

0 commit comments

Comments
 (0)