Git Product home page Git Product logo

matrix-appservice-irc's Introduction

Matrix IRC Application Service

Build Status

This is a Node.js IRC bridge for Matrix, using the Application Services (AS) API. This requires Synapse 0.9 or above as this AS uses the new registration format.

 $ npm install matrix-appservice-irc

What does it do?

This bridges IRC channels into Matrix, allowing IRC users to communicate with Matrix users and vice versa. The application service creates 'virtual' IRC clients for real Matrix users. It also creates 'virtual' Matrix users for real IRC clients. It currently has support for:

  • Bridging specific (specified in the config) IRC channels and specific Matrix rooms.
  • Bridging of private conversations, which can be initiated both from IRC (as PMs) and from Matrix (as invites to virtual Matrix users).
  • Dynamically bridging any IRC channels on a network

Quick Start

For more information, check out the how-to guide.

  • git clone this repository.

  • Run npm install.

  • Optional: Run the tests by running npm test.

  • Copy config.sample.yaml to config.yaml and configure it for your IRC server / home server.

  • Generate the registration YAML using node app.js --generate-registration. The output needs to be listed in the homeserver.yaml config file:

    app_service_config_files: ["appservice-registration-irc.yaml"]
    
  • Run the app service using node app.js.

Usage

To join a channel on an IRC network configured for public use:

  • Join a room with the alias #<alias_prefix><channel_name>:<homeserver_hosting_the_appservice> e.g. #irc_#python:example.com. The template for this can be configured at config.yaml:ircService.servers.<servername>.dynamicChannels.aliasTemplate.

To send a PM to someone on an IRC network:

  • Start a conversation with a user ID @<user_prefix><nick>:<homeserver_hosting_the_appservice> e.g. @irc_Alice:example.com. The template for this can be configured at config.yaml:ircService.servers.<servername>.matrixClients.userTemplate.

Configuration

See the sample config file for an explanation of the configuration options available.

Contributing

Please see the HOW TO for information on contributing.

matrix-appservice-irc's People

Contributors

ara4n avatar erikjohnston avatar kegsay 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.