Skip to content

kkazuo/dicrd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages