mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
56 lines
1.3 KiB
Markdown
56 lines
1.3 KiB
Markdown
# Ergonomadic
|
|
|
|
Ergonomadic is an IRC daemon written from scratch in Go. Pull requests
|
|
and issues are welcome.
|
|
|
|
## Some Features
|
|
|
|
- follows the RFC where possible
|
|
- JSON-based configuration
|
|
- server password
|
|
- channels with many standard modes
|
|
- IRC operators
|
|
- TLS support (but better to use stunnel with proxy protocol)
|
|
- haproxy PROXY protocol header for hostname setting
|
|
- passwords stored in bcrypt format
|
|
- channels that persist between restarts (+P)
|
|
|
|
## Why?
|
|
|
|
I wanted to learn Go.
|
|
|
|
## What's with the name?
|
|
|
|
"Ergonomadic" is an anagram of "Go IRC Daemon".
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
go get
|
|
go install
|
|
ergonomadic -conf '/path/to/config.json' -initdb
|
|
```
|
|
|
|
## Configuration
|
|
|
|
See the example `config.json`. Passwords are base64-encoded bcrypted
|
|
byte strings. You can generate them with the `genpasswd` subcommand.
|
|
|
|
```sh
|
|
ergonomadic -genpasswd 'hunter21!'
|
|
```
|
|
|
|
## Running the Server
|
|
|
|
```sh
|
|
ergonomadic -conf '/path/to/config.json'
|
|
```
|
|
|
|
## Helpful Documentation
|
|
|
|
- [RFC 1459: Internet Relay Chat Protocol](http://tools.ietf.org/html/rfc1459)
|
|
- [RFC 2811: IRC Channel Management](http://tools.ietf.org/html/rfc2811)
|
|
- [RFC 2812: IRC Client Protocol](http://tools.ietf.org/html/rfc2812)
|
|
- [RFC 2813: IRC Server Protocol](http://tools.ietf.org/html/rfc2813)
|
|
- [IRC/2 Numeric List](https://www.alien.net.au/irc/irc2numerics.html)
|