Git Product home page Git Product logo

elation-irc's Introduction

elation-irc

Elation IRC is a scriptable web-based client/server relay written in JavaScript which allows a user to connect to multiple IRC servers and maintain a persistent connection to a server without having to keep a client open at all times. Elation IRC is intended as a web-based replacement for the commonly-used screen+irssi setup.

Architecture

Elation IRC Architecture

Client component runs in the browser, and establishes a websocket connection to the relay.

Relay component runs in Node.js, and forwards messages back and forth between websockets and TCP sockets. When a client issues a BNCCONNECT command via websocket, the server will establish a TCP connection to the specified server. As long a a client is connected, it will act as a bidirectional relay. If all clients disconnect, the server will maintain its connections and respond to ping requests. Clients can reconnect and resume the session at any time in the future.

Basic IRC protocol is handled by scripts/server.js, and from there all events and commands are handled by scripts.

Scripts are also written in javascript, and can define their own templates, event handlers, and commands. (eg: scripts/script-default.js scripts/script-test.js). Scripts can be loaded, unloaded, and reloaded on the fly without having to refresh by using the built-in /script command.

client

elation.irc.client

  • scripts-default
  • scripts-client

server

elation.irc.relay

  • scripts-default
  • scripts-relay

elation-irc's People

Contributors

jbaicoianu avatar

Watchers

 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.