3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00
Go to file
Jeremy Latt 5e6fa07975 Merge pull request #12 from jlatt/on-restart
notify clients when the server shuts down
2014-03-02 11:36:45 -08:00
irc notify clients when the server shuts down 2014-03-02 11:36:00 -08:00
.gitignore remove unnecessary ignores 2014-02-09 21:07:58 -08:00
config.json add comments explaining config file 2014-02-25 09:35:55 -08:00
ergonomadic.go properly persist channels 2014-02-25 15:57:35 -08:00
LICENSE MIT license 2014-02-25 09:54:14 -08:00
README.md readme 2014-02-27 11:07:24 -08:00

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.

Whats with the name?

“Ergonomadic” is an anagram of “Go IRC Daemon”.

Installation

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.

ergonomadic -genpasswd 'hunter21!'

Running the Server

ergonomadic -conf '/path/to/config.json'

Helpful Documentation