Giter Club home page Giter Club logo

ircslackrelay's Introduction

What's this

Two way relay server application between IRC and Slack. Zero size space put after username's first char for ignore notification.

IRC message/notice to Slack message

ex.

23:55 ircslackrelay: :u_sername: message
23:55 ircslackrelay: _ :u_sername: notice is sanded by undersocre _

If you configure :u_sername: as Emoji, :u_sername: looks like a picture. And username is converted to lower case.

Slack message to IRC message

ex.

23:55 ircslackrelay: (u​s​e​r​n​a​m​e) message

How to use

Install Java (upper 7)

Download from Oracle. After install, please check by type java -version on your console.

Install SBT

Please install SBT.

Build

sbt assembly

build file is

target/scala-2.11/ircslackrelay-assembly-X.X.X.jar

Create config file

put ircslackrelay.conf file on the same folder of ircslackrelay-assembly-X.X.X.jar

irc.address="irchostname.com"
irc.nickname="ircslackrelay"
irc.username="ircslackrelay"
irc.password=""
irc.port=6667
irc.use_ssl=false
irc.charset="UTF-8"
slack.irc.address="hostname.irc.slack.com"
slack.irc.nickname="fuga"
slack.irc.username="fuga"
slack.irc.password="hege.k314df9aKefaj"
slack.irc.port=6667
slack.irc.use_ssl=true
slack.irc.charset="UTF-8"
slack.api.username="ircslackrelay"
slack.api.token="aaaaa-999999999-99999999-9999999-99999999"
slack.api.icon_url="https://pbs.twimg.com/profile_images/2193228277/scalachan.jpg"
relays = [
  {
    irc_channel: "#irc_channel_1"
    slack_channel: "#slack_channel_1"
  },
  {
    irc_channel: "#irc_channel_2"
    slack_channel: "#slack_channel_2"
  },
  {
    irc_channel: "#irc_channel_3"
    slack_channel: "#slack_channel_3"
  }
]

slack.irc config and slack api token provided at slack website.

Start server

java -jar -server ircslackrelay-assembly-X.X.X.jar

If you want to demonize, please use screen or tmux or nohup command.

LICENSE

MIT License

ircslackrelay's People

Contributors

kusano avatar sifue avatar xuwei-k avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.