Skip to content


Using the IRC sample bundle

The IRC example bundle in samples/irc demonstrates the ability to get access to an IRC chat. This sample is designed to log the twitch IRC chat of skate702.


You will need a working nodecg-io installation. If you have non yet take a look at installation guide. You may need to install this bundle, so take a look at the “Try an included sample”-Guide. It will also tell you how to log in and how to use the GUI.

Configure the IRC sample bundle

  1. In NodeCG, create a new IRC service instance.
  2. Enter the credentials for IRC. In this example we will “anonymously” connect to the twitch IRC chat. Enter the host, port, and nick in this format:

        "host": "",
        "port": 6667,
        "nick": "justinfan123456"

    Here you may want to change the numbers of the nick to be unique to you.

    After entering it, click save.

  3. Set the sample's (irc) dependency to be the newly created service instance (of type irc).

  4. Check the NodeCG logs:

    You should see an error or a success message and all twitch messages that are written in the twitch channel that is hardcoded in samples/irc/extension/index.ts.