node.js irc bot
Last updated 4 years ago by jirwin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install treslek 
SYNC missed versions from official npm registry.


Join the chat at A node irc bot made to replace doslek.

Webhook Server

treslek supports running a simple HTTP server for receiving webhooks from external services and acting on them. In order to enable this feature, include a key in the config that looks something like the following:

"webhook": {
  "host": "",
  "port": 1304,
  "channelKey": "webhookChannels"

The webhook server works by forwarding the headers and body of any incoming request to a PUBSUB channel on the Redis server. This allows any plugins to listen for any requests that may come in and deal with them accordingly. Given the above configuration, a redis prefix of treslek and the assumption that treslek is available at, a HTTP request to would be published to the Redis key treslek:webhookChannels:treslek/webhook. A plugin that would like to listen to this webhook would then subscribe to treslek:webhookChannels:treslek/webhook and react as it pleases.

A good example of this would be a plugin that listens for webhooks from Github about activity on a set of repositories. You could configure each of your repositories to send webhooks to<repo-name> and then write a plugin to announce when Pull Requests have been opened.


treslek may be freely distributed under the MIT license.

treslek <3 you

Current Tags

  • 0.11.0                                ...           latest (4 years ago)

3 Versions

  • 0.11.0                                ...           4 years ago
  • 0.10.1                                ...           5 years ago
  • 0.10.0                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (13)
Dev Dependencies (2)
Dependents (0)

Copyright 2014 - 2017 © |