Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 851 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 851 Bytes

Slack XMPP Client

Communicate within Slack using an external xmpp chat

Setup

You will need to create a Slack bot and retrieve its token

Create a config.json file at the project root containing the following information

{
  "nickname": "<your-slack-bots-username>", // ie. foobot
  "channel": "<your-slack-channel>",        // ie. #barchannel
  "token": "<your-bots-slack-token>",
  "user": "<the-xmpp-room-name>",           // ie. foobar
  "roomJid": "<the-xmpp-room-jid>",         // ie. foobar@chat.baz.com
  "xmpp": {
    "jid": "<your-xmpp-jid>",               // ie. bar@baz.com
    "password": "<your-xmpp-password>"
  }
}

Installation & Usage

  1. clone this repository
  2. include your config.json
  3. run npm i
  4. run node app