Back to services

Ergo

Modern IRCv3 server written in Go, combining the features of an ircd, a services framework, and a bouncer.

View alternatives to Ergo
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Ergo (formerly Oragono) is a modern IRC server written in Go. It is a fork of the Ergonomadic IRC daemon and is open source under the MIT license. Its design is built around four core principles:

  • Easy to set up and use
  • All-in-one: a single program acts as an IRC server, a services framework and a bouncer, with built-in account management, message history storage and multi-client support
  • Up-to-date IRCv3 support that tracks the latest specifications, so it can serve as a reference implementation of IRCv3
  • Highly customizable: it uses a YAML configuration file and supports reloading at runtime (rehash)

Key Features

  • Built-in services: NickServ manages user accounts, ChanServ handles channel registration, and HostServ provides custom hostnames (vanity hosts)
  • Bouncer-style features: stores and replays message history, and lets multiple clients use the same nickname at the same time
  • Native TLS/SSL: supports client certificates, and both the server configuration and TLS certificates can be hot-reloaded
  • Authentication: supports SASL authentication, and LDAP through the ergo-ldap plugin
  • Multilingual interface: a default language can be set for the whole network
  • Internationalized nicknames and channel names: optional support for UTF-8 characters according to RFC 8265 (PRECIS)
  • Security and privacy: can require SASL for all logins, hide user IPs (cloaking), and run as a Tor hidden service
  • Administration: an extensible IRC operator (oper) permission system; support for ident lookups and automatic connection limits; a unified ban system, UBAN, can ban IPs, network ranges, masks and registered accounts, while remaining compatible with KLINE/DLINE
  • Password security: passwords are stored as bcrypt hashes

Target Users and Use Cases

Ergo suits communities, open source projects and teams that want to run their own IRC network, as well as client developers who need to test IRCv3 features. Because it ships with account services and history playback, you don't need to deploy separate services such as Anope or Atheme, or a separate bouncer such as ZNC, which makes deployment and maintenance simpler.

Installation and Deployment

Binary package: download the latest release from GitHub Releases, extract it, and run:

cp default.yaml ircd.yaml
vim ircd.yaml  # edit the configuration as needed
./ergo mkcerts
./ergo run

For production deployments (for example with systemd and a proper TLS certificate), see the productionizing section of the official administrator manual.

Docker: the official image is published at ghcr.io/ergochat/ergo, and the distrib/docker directory in the repository provides a Dockerfile and a docker-compose example.

Distribution packages: community-maintained packages are available for Arch Linux (AUR) and Gentoo Linux.

Building from source: install a recent version of Go, clone the repository, then run git checkout stable and make. All dependencies are bundled in the repository (vendored), so the build doesn't need to download dependencies from the internet.

Usage Tips

  • Users can register their current nickname with /msg NickServ register <password>, then enable automatic SASL login in their client
  • Register a channel with /CS REGISTER #channel; the channel will remember its owner, topic and mode settings
  • Generate a password hash for use in the configuration file: ergo genpasswd

Notable Points

  • The official public test instance is testnet.ergo.chat: TLS port 6697, plaintext port 6667. You can use it to try Ergo out or to test client code
  • Release tags and binaries are GPG-signed
  • The project provides a manual for administrators (MANUAL) and a guide for end users (USERGUIDE)
  • Development emphasizes standards compliance, and the website has a dedicated Specs page