slack-xmpp
slack-xmpp copied to clipboard
Forward any xmpp based chat to Slack
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. [email protected]
"xmpp": {
"jid": "<your-xmpp-jid>", // ie. [email protected]
"password": "<your-xmpp-password>"
}
}
Installation & Usage
- clone this repository
- include your
config.json
- run
npm i
- run
node app