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
- xPRIVMSG / NOTICE
- xPING / PONG
- xJOIN / PART
- xNICK / USER / PASS
- xQUIT
- xTOPIC
- xMOTD
- xISON
- xAWAY
- xConfigure the listen port number.
- xConfigure the listen interface address.
- xCommunicates with TLS (Secure Socket).
- xCAP capabilities negotiation mechanism.
- xPASS authentication with fixed string.
- xPASS authentication with custom subclassing.
- xSASL authentication.
LICENSE
MIT
See LICENSE file.