0.3.2 • Published 8 years ago

streen v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

#Streen Streen is a centralized interface for interacting with Twitch Chat. It is essentially a wrapper for twitch-irc, and it operates via IPC.

Streen is useful in situations where multiple processes all need to connect to Twitch Chat, but the overhead of spinning up multiple IRC bots is not acceptable. Streen operates as a single bot and exposes an evented IPC interface via axon.

Installation

  • Clone the repository
  • From the directory you cloned Streen into, run npm install --production
  • Create ./config.json with the desired Twitch username and password. Optionally, add a slack.botToken and slack.statusChannel to have Streen post critical status updates and respond to commands. (Need an avatar for your bot?)
{
  "username": "botname",
  "password": "oauth:myOauthToken1234",
  "slack": {
    "botToken": "xoxb-xxxxxxxxxx-yyyyyyyyyy",
    "statusChannel": "#somechannel"
  }
}
  • Run with node index.js

Example

See lfg-siphon for an example implementation.

Slack Commands

!channels

Lists the current Twitch chat channels that Streen is listening to. channels command example

!online

Lists the online status of each Twitch stream that Streen is listening to. online command example

License

Streen is provided under the MIT license, which is available to read in the LICENSE file.

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

9 years ago