All Projects → aaronpk → Slack-IRC-Gateway

aaronpk / Slack-IRC-Gateway

Licence: other
Bridge Slack rooms to IRC channels

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Slack-IRC-Gateway

Whapp Irc
whatsapp web <-> irc gateway
Stars: ✭ 208 (+530.3%)
Mutual labels:  irc, gateway, bridge
knx-go
KNX clients and protocol implementation in Go
Stars: ✭ 62 (+87.88%)
Mutual labels:  gateway, bridge
teleirc
Go implementation of a Telegram <=> IRC bridge for use with any IRC channel and Telegram group
Stars: ✭ 112 (+239.39%)
Mutual labels:  irc, bridge
Openmqttgateway
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.
Stars: ✭ 2,413 (+7212.12%)
Mutual labels:  gateway, bridge
Localslackirc
IRC gateway for slack, running on localhost for one user
Stars: ✭ 84 (+154.55%)
Mutual labels:  irc, gateway
Matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Stars: ✭ 4,452 (+13390.91%)
Mutual labels:  irc, bridge
SerialToTCPBridgeProtocol
An error tolerant serial UART to TCP connection, raw data bridge.
Stars: ✭ 16 (-51.52%)
Mutual labels:  gateway, bridge
Biboumi
IRC gateway for XMPP
Stars: ✭ 51 (+54.55%)
Mutual labels:  irc, gateway
Irc Slack
IRC-to-Slack gateway
Stars: ✭ 123 (+272.73%)
Mutual labels:  irc, gateway
critter
Chat bot relaying messages between IRC and Gitter
Stars: ✭ 16 (-51.52%)
Mutual labels:  irc, bridge
gateway
Springcloud gateway 的样例工程, 封装了一些常用的网关功能,如鉴权,数据级权限控制,验签,动态路由,日志,流控,降级等
Stars: ✭ 16 (-51.52%)
Mutual labels:  gateway
Telephone-Remote-Control
No description or website provided.
Stars: ✭ 19 (-42.42%)
Mutual labels:  gateway
GetnetSDK
GETNET - Todos os passos e processos referentes à integração com o sistema de captura e autorização de transações financeiras da Getnet via as funcionalidades da API.
Stars: ✭ 44 (+33.33%)
Mutual labels:  gateway
ircv3.github.io
IRCv3 website
Stars: ✭ 85 (+157.58%)
Mutual labels:  irc
whatsapp-telegram-bridge
A simple bridge to receive whatsapp chats on telegram.
Stars: ✭ 22 (-33.33%)
Mutual labels:  bridge
chirpstack-gateway-os
Yocto based gateway images including ChirpStack components.
Stars: ✭ 101 (+206.06%)
Mutual labels:  gateway
TwitchPy
This is a package you can use to connect with the Twitch API, manage a channel, create bots, etc
Stars: ✭ 22 (-33.33%)
Mutual labels:  irc
fluent-plugin-irc
No description or website provided.
Stars: ✭ 16 (-51.52%)
Mutual labels:  irc
tokenbridge
A bidirectional Ethereum / RSK Token Bridge implementation.
Stars: ✭ 85 (+157.58%)
Mutual labels:  bridge
MetaTrader4-Bridge
Communication layer between MetaTrader 4 and your project.
Stars: ✭ 66 (+100%)
Mutual labels:  bridge

Slack IRC Gateway

You can use this project to bridge a Slack room with an existing IRC channel.

When Slack users type a message, this script will sign in to IRC for them, join the channel, and then relays their messages to IRC on behalf of them.

Setup

  • Choose a Slack channel and configure a new custom app for it
  • Enable Event Subscriptions on the app
  • Set the Request URL to the location of where you deployed this script. It should be something like http://example.com:8080/gateway/input
    • Make sure you deploy the app before setting this URL, as Slack will ping it to test it when you enter the URL
    • Watch the logs and copy the "Event API Token" into your config
  • Under "Subscribe to events on behalf of users", add the message.channels event
  • Under "OAuth & Permissions", add the following User Token Scopes
    • channels:history
    • channels:read
    • files:read
    • files:write
    • groups:read
    • users:read
    • (Some of these may already be added when you configure message.channels in the previous step)
  • Copy the OAuth Access Token and add it to the config file in slack.token. This is used to do things like look up info about Slack users.
  • Create an incoming web hook (legacy, not within this app) to route messages back into slack, and set that as slack.hook in the config file.
  • Set the hostname and channel for the IRC server you're connecting to in the config file.

Now run node gateway.js which listens on the configured HTTP port and will start connecting to IRC on behalf of your Slack users!

Messages from IRC will also be sent back to the corresponding channel.

Text Replacements

Slack supports rich text in messages such as including links. If you have any custom text replacements you'd like to do for messages sent from IRC to Slack, such as autolinking keywords, you can add a file replacements.js and define a function there to transform text sent from IRC to Slack. See replacements.example.js for an example.

License

See LICENSE.txt

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].