Crates.io | ellidri |
lib.rs | ellidri |
version | 3.0.0-beta |
source | src |
created_at | 2020-02-18 20:20:37.878975 |
updated_at | 2020-04-10 20:49:11.986001 |
description | Your kawaii IRC server |
homepage | https://git.sr.ht/~taiite/ellidri |
repository | https://git.sr.ht/~taiite/ellidri |
max_upload_size | |
id | 210429 |
size | 263,957 |
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
.
Supported extensions: account-notify
, away-notify
, batch
,
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.
Prerequisites:
sqlite
feature is enabled)postgres
feature is enabled)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
.
ellidri must be started with a configuration file, for example:
# 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
motd_file custom_motd.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
.
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
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!
ellidri is under the ISC license. See LICENSE
for a copy.