eris - IRC Server / Daemon written in Go
This project and repository is based off of ergonomadic and much of my original contributions were made in my fork of ergonomadic but the upstream project was ultimately shutdown.
This repository intends to create a new history and improve upon prior work.
In philosophy and rhetoric, eristic (from Eris, the ancient Greek goddess of chaos, strife, and discord) refers to argument that aims to successfully dispute another's argument, rather than searching for truth. According to T.H.
The connotation here is that IRC (Internet Relay Chat) is a place of chaos, strife and discord. IRC is a place where you argue and get into arguments for the sake of argument.
So eris is an IRC daemon written from scratch in Go to facilitate discord
and have arguments for the sake of argument!
Pull requests and issues are welcome.
Discussion at:
Or (not recommended):
$ go get github.com/prologic/eris
$ cat > ircd.yml <<EOF
network:
name: Test
server:
name: Test
listen:
- ":6667"
EOF
$ eris
If you want TLS (recommended) then:
$ go get github.com/prologic/mksslcert
$ mksslcert
This generates a self-signed cert cert.pem and key.pem into the $PWD.
Then add a tlslisten block to your config:
server:
tlslisten:
":6697":
key: key.pem
cert: cert.pem
$ go install github.com/prologic/eris
$ eris --help
See the example ircd.yml. Passwords are base64-encoded
bcrypted byte strings. You can generate them with the mkpasswd tool
from prologic/mkpasswd:
$ go install github.com/prologic/mkpasswd
$ mkpasswd
Self-signed certificates can also be generated using the mksslcert tool
from prologic/mksslcert:
$ go install github.com/prologic/mksslcert
$ mksslcert
To run simply run the eris binary (assuming a ircd.yml in the current directory):
$ eris
Or you can deploy with Docker using the prebuilt prologic/eris:
docker run -d -p 6667:6667 -p 6697:6697 prologic/eris
You may want to customize the configuration however and create your own image based off of this; or deploy with docker stack deploy on a Docker Swarm clsuter like this:
$ docker stack deploy -c docker-compose.yml eris
Which assumes a ircd.yml coniguration file in the current directory which Docker will use to distribute as the configuration. The docker-compose.yml (Docker Stackfile) is available at the root of this repository.
There are a number of supported accompanying services that are being developed alongside Eris:
eris is licensed under the MIT License.
Content type
Image
Digest
Size
6.2 MB
Last updated
over 5 years ago
docker pull prologic/eris