kkazuo / dicrd

Dart Internet Relay Chat Daemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dircd

Dart Internet Relay Chat Daemon

Maturity

Not for production yet, but IRC clients can connect and chat each other.

Build

To create executable binary, run this command:

dart compile exe bin/dircd.dart

The generated file bin/dircd.exe is the daemon program.

Usage

There is no configuration for now. Just run it.

bin/dircd.exe

Environment Variables

Variable Name default
IRCD_HOSTADDR listen inet address 0.0.0.0
IRCD_PORT listen port 6667
IRCD_PRIVATE_KEY TLS cert file path
IRCD_MOTD MOTD file path
IRCD_PASSWORD connection password
IRCD_CONN_CHECK_INTERVAL connection liveness check 30

Functionality

  • PRIVMSG / NOTICE
  • PING / PONG
  • JOIN / PART
  • NICK / USER / PASS
  • QUIT
  • MODE for channel.
  • MODE for user.
  • TOPIC
  • INVITE / KICK
  • MOTD
  • WHO / WHOIS / WHOWAS
  • ISON
  • AWAY
  • Configure the listen port number.
  • Configure the listen interface address.
  • Communicates with TLS (Secure Socket).
  • CAP capabilities negotiation mechanism.
  • PASS authentication with fixed string.
  • PASS authentication with custom subclassing.
  • SASL authentication.
  • Flood control.
  • Server-Server communications. (currently out of scope.)

LICENSE

MIT

See LICENSE file.

About

Dart Internet Relay Chat Daemon

License:MIT License


Languages

Language:Dart 100.0%