Back to services

ZNC

Advanced IRC bouncer.

View alternatives to ZNC
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We couldn't retrieve the official website this time, so the following is compiled from publicly available knowledge about ZNC. For specific details, please refer to the official Wiki.

Introduction

ZNC is a long-established open-source IRC bouncer written in C++ and licensed under Apache 2.0. It typically runs on an always-on server and stays connected to IRC networks on the user's behalf. The user's IRC client connects to ZNC rather than directly to the IRC server. As a result, when a client disconnects, shuts down, or the user switches devices, their nickname and channel state are unaffected, and any messages missed in the meantime are saved and replayed the next time they connect.

Key Features

  • Always online: Maintains the connection to the IRC network for the user, so nicknames and joined channels are never lost.
  • Message playback buffer: Channel messages and private messages received while the client is offline are buffered and automatically replayed upon reconnection.
  • Multiple users and networks: A single ZNC instance can serve multiple users, and each user can connect to multiple IRC networks at the same time.
  • Multiple simultaneous clients: Several devices, such as a computer and a phone, can attach to the same session at once, with state kept in sync.
  • Modular extensions: Ships with a large number of modules and supports writing modules in C++; with modpython, modperl and others, you can also write plugins in Python or Perl.
  • Web admin interface: The webadmin module provides a web interface for managing users, networks, and module configuration.
  • Secure connections: Supports SSL/TLS encryption and IPv6, as well as authentication methods such as SASL.

Target Users and Use Cases

  • Open-source community members and developers who need to stay in IRC channels long term
  • Users who switch between multiple devices and want an unbroken chat history
  • Administrators who want to provide a centralized IRC bouncer service for a team or friends

Core Strengths

  • A mature, stable project with plenty of community experience and extensive documentation
  • Low resource usage, making it well suited to running long term on a VPS, home server, or Raspberry Pi
  • A rich module ecosystem that lets you extend functionality as needed
  • Follows the standard IRC protocol, so most common IRC clients can connect to it

Installation and Deployment

  • Package managers: ZNC is available in the repositories of most Linux distributions and BSD systems, for example apt install znc on Debian/Ubuntu.
  • Building from source: Download the source from the official website and compile and install it yourself.
  • Container deployment: The community provides Docker images, which make deployment fairly convenient.

On first use, you can run znc --makeconf to launch the configuration wizard, then follow the prompts to set the listening port, username, password, and the IRC networks to connect to. After that, set the server address in your IRC client to ZNC's address and port, and authenticate with your ZNC account.

Technical Requirements

  • An always-on host (Unix-like systems such as Linux, BSD, or macOS)
  • OpenSSL support if you want encrypted connections
  • The corresponding runtime environment installed if you want to use Python or Perl modules

Notable Characteristics

  • ZNC is only a relay layer for IRC connections and is not a chat client itself, so you still need an IRC client to use it
  • It can work with some IRCv3 features to improve the multi-device experience