Giter Site home page Giter Site logo

node-ircd's Introduction

node-ircd

A flexible, modular IRC daemon, trying to be very node-like in its APIs.

Motivation

I run a small community chat server, and we want a hackable, fun IRCD, to do crazy new things with in the guise of IRC. So, this.

Features

  • Single-server for now, I and C, but not so much R.
  • Events for everything, making it easy to plug new things in
  • Extensible, able to add new commands
  • A demo server that shows who's online and what channels exist.
  • A parser for traditional ircd.conf files

Wanted Features

  • Hot reloading of parts of the code
  • Multiple server support
  • A working demo web chat.
  • Mode handling, both standard and new ideas.
  • SendQ tracking, and pausing the input with the normal node stream.pause()
  • Channel operator functions such as KICK, modes +b, +o, +k, +i and INVITE
  • A LIST implementation

Overview

Socket Layer

  • Server, The local, listening service

    • register()
    • join()
    • sendTo(destination, message), look up an object to handle destination
  • Connection, A client or server connection

  • Peer, NIY, a single (remote) server, and metadata

    • send()

Messaging Layer

  • Channel, A list of users + metadata

    • send(), send to each (local)user on the channel and to each (remote)user's server
  • User, A single user, and metadata

    • send(), send to user's connection

To Do

  • Split the message-passing functions into User, and leave Connection as parsing
  • make server replies to messages use the sender object for returns
  • Implement all the missing commands and replies
  • Normalize nicknames and channel names for comparison.
  • Make the internal API emit events that you'd want as a bot or client author: "For this user, on a message from this channel"

References

node-ircd's People

Contributors

aredridel avatar

Watchers

James Cloos 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.