IRC
IRC
Start with meaning, then move to detail.
This lesson explains IRC as part of using Hermes through messaging channels. You will learn what it does, when it matters, and the smallest safe test that proves it works.
If you are new, do not memorize names. Focus on three questions: what problem does this solve, what access does it need, and how can you verify the result?
For practice, inspect the first example, identify its effects, run it on test data, and compare the result with the source claim.
For advanced readers, inspect Prerequisites, Configure Hermes, Option A — gateway-config.yaml, then verify failure modes and version compatibility.
Prepare the channel account and understand allowlists and secret storage.
A clear outcome before you read.
- Understand IRC without assumed prior knowledge.
- Separate the source description from what still needs testing in your environment.
- Read the first command and identify its inputs and outputs before copying it.
Short definitions before the details.
- Gateway
- The process that connects Hermes to channels such as Telegram or Discord and routes messages.
What does the source say, and in what order?
- 01Prerequisites
Start here to understand the core idea or structure.
- 02Configure Hermes
Read this after the foundation, then connect it to the previous step.
- 03Option A — gateway-config.yaml
Read this after the foundation, then connect it to the previous step.
- 04Option B — environment variables
Read this after the foundation, then connect it to the previous step.
- 05Access control
Read this after the foundation, then connect it to the previous step.
- 06Channels vs. DMs
Read this after the foundation, then connect it to the previous step.
- 07Run the gateway
Read this after the foundation, then connect it to the previous step.
- 08Notes
Finish here to verify the result and special cases.
Copy only after you understand the effect.
gateway:
platforms:
irc:
enabled: true
extra:
server: irc.libera.chat
port: 6697
nickname: hermes-bot
channel: "#hermes"
use_tls: true
server_password: "" # optional server password
nickserv_password: "" # optional NickServ identification
allowed_users: [] # empty = allow all, or list of nicks
max_message_length: 450 # IRC line limit (safe default)hermes gateway startRead the first command and identify its inputs and outputs before copying it.
Match every command to your installed Hermes version, review the files and accounts it can reach, and use non-sensitive data for the first test. If this explanation differs from the source, the official source wins.