kawaii

builds.sr.ht status crates.io

This repository contains some crates that may be helpful to the IRC smith of the 21st century! They were built around ellidri, a modern IRC server (or IRCd, for short). You will especially find:

To discuss about ellidri and cie, join the IRC channel: #ellidri on freenode! There is also a test server running at ellidri.org, if you want to try it out!

The rest of this document is about ellidri, the IRC server. All other projects have their own README.md.

Features

cap-notify, echo-message, extended-join, invite-notify, labeled-response, message-ids, message-tags, multi-prefix, sasl, server-time, setname, userhost-in-names

ellidri doesn't support any server-to-server (S2S) protocol. As such, it is impossible to make several instances of ellidri manage the same IRC network.

ellidri requires UTF-8 from clients, and for now it only supports ascii as casemapping.

Build and install

Prerequisites:

Install ellidri with cargo install ellidri, or with the AUR package.

During development, build it with cargo build, and run it with cargo run.

For packaging, build it with cargo build --release --locked. The release flag will enable optimizations and the locked flag will require a valid lock file (Cargo.lock), to make sure that the same dependencies are used for development and for release. The executable is generated at target/release/ellidri.

Usage

ellidri must be started with a configuration file, for example:

```conf

Configuration file

domain your.domain.tld

Bind to an address and port.

bind_to 127.0.0.1:6667

TLS-enabled port, with a PKCS12 archive.

bind_to 0.0.0.0:6697 /var/lib/ellidri/identity.p12

Default is /etc/motd

motdfile custommotd.txt ```

And start ellidri with the --config argument like so:

ellidri --config /path/to/the.configuration.file

An example configuration file with all settings and their defaults can be found in doc/ellidri.conf.

Contributing

Patches are welcome! Here are some links to get started:

When developing ellidri, you can use the following command to generate the documentation of all items:

cargo doc --no-deps --document-private-items --open

Acknowledgments

ellidri couldn't have existed without the help of https://ircdocs.horse. Thank you Daniel Oaks and all other contributors!

Also thanks to the IRCv3 working group for all the work on modernizing the IRC protocol!

License

ellidri is under the ISC license. See LICENSE for a copy.