Multi User eXchange: multi-channel groupchat component for XMPP (compatible with legacy MUC) written in Tcl on libtacky https://another.im
  • Tcl 95.3%
  • Python 2.1%
  • Shell 2%
  • Makefile 0.4%
  • Dockerfile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-23 12:42:45 +02:00
component mux 0.1.1 on libtacky develop 1badca51 (1.3.0-rc1 not tagged yet): the component reports 0.1.1 (mux --version), the image's OCI version label and the quadlet's image are dev.another.im/another-im/mux:0.1.1, CHANGELOG's Unreleased becomes 0.1.1 (xmpp:-only invite links, guest-<hex> names by default, -web/MUX_WEB as the policy form's web, the guest links e2e suite, the docs that follow them), README's status says 0.1.1 on the pin, operations.md names the pin, mux-policy-0's version note dates web to 0.1.1. 2026-11-23 12:42:45 +02:00
deploy mux 0.1.1 on libtacky develop 1badca51 (1.3.0-rc1 not tagged yet): the component reports 0.1.1 (mux --version), the image's OCI version label and the quadlet's image are dev.another.im/another-im/mux:0.1.1, CHANGELOG's Unreleased becomes 0.1.1 (xmpp:-only invite links, guest-<hex> names by default, -web/MUX_WEB as the policy form's web, the guest links e2e suite, the docs that follow them), README's status says 0.1.1 on the pin, operations.md names the pin, mux-policy-0's version note dates web to 0.1.1. 2026-11-23 12:42:45 +02:00
docs mux 0.1.1 on libtacky develop 1badca51 (1.3.0-rc1 not tagged yet): the component reports 0.1.1 (mux --version), the image's OCI version label and the quadlet's image are dev.another.im/another-im/mux:0.1.1, CHANGELOG's Unreleased becomes 0.1.1 (xmpp:-only invite links, guest-<hex> names by default, -web/MUX_WEB as the policy form's web, the guest links e2e suite, the docs that follow them), README's status says 0.1.1 on the pin, operations.md names the pin, mux-policy-0's version note dates web to 0.1.1. 2026-11-23 12:42:45 +02:00
libtacky@1badca5193 libtacky: the pin moves to develop 1badca51 (LibraryVersion 1.3.0-rc1, not tagged yet), the tree mux 0.1.1 is built on; WITH_MLS=1 as for 0.1. 2026-11-23 12:27:15 +02:00
tests e2e: test_guest_links' last case destroys the meetings the run made, the open one only where the rig has anonymous guests (ejabberd), so it passes on Prosody too, where it expected two destroys of one meeting. Prosody: test_guest_links 7 passed, 6 skipped (anonymousRig); ejabberd 13/13. 2026-11-23 12:42:39 +02:00
tools tools: rename-muc2-mux.sh says what libtacky needs after it -- the schema back in canonical form (tools/api/api.py format: the renamed types sort elsewhere), then make gen-api handbook check-api, as the throwaway tree of v1.3.0-beta6 showed (check-api clean after it, the test_mux* suites green). Comment only: the script's work is unchanged. 2026-11-23 05:33:52 +02:00
.gitignore muc2: the repository of Multi User Chat 2, a multi-channel group-communication component for XMPP written in Tcl on libtacky (the design: another-im's muc2-design.md of 2026-11-21): libtacky as the submodule libtacky/, pinned at v1.3.0-beta2 (99a29433, the integ/1.3 line both gateways build on), and the ignore list for dist/ and _build/ as the sibling components have them. The component itself follows in the next commits. 2026-11-21 13:40:12 +02:00
.gitmodules libtacky pinned at develop 410c99bf (1.3.0-beta3 plus the merge of integ/1.3 e4ce7510): develop is the 1.3 line now and carries tacky::xmpp::mucservice and the component's lease, so .gitmodules follows develop; dist/muc2 rebuilt on it, make test 226/226. 2026-11-21 15:43:08 +02:00
CHANGELOG.md mux 0.1.1 on libtacky develop 1badca51 (1.3.0-rc1 not tagged yet): the component reports 0.1.1 (mux --version), the image's OCI version label and the quadlet's image are dev.another.im/another-im/mux:0.1.1, CHANGELOG's Unreleased becomes 0.1.1 (xmpp:-only invite links, guest-<hex> names by default, -web/MUX_WEB as the policy form's web, the guest links e2e suite, the docs that follow them), README's status says 0.1.1 on the pin, operations.md names the pin, mux-policy-0's version note dates web to 0.1.1. 2026-11-23 12:42:45 +02:00
Dockerfile mux 0.1.1 on libtacky develop 1badca51 (1.3.0-rc1 not tagged yet): the component reports 0.1.1 (mux --version), the image's OCI version label and the quadlet's image are dev.another.im/another-im/mux:0.1.1, CHANGELOG's Unreleased becomes 0.1.1 (xmpp:-only invite links, guest-<hex> names by default, -web/MUX_WEB as the policy form's web, the guest links e2e suite, the docs that follow them), README's status says 0.1.1 on the pin, operations.md names the pin, mux-policy-0's version note dates web to 0.1.1. 2026-11-23 12:42:45 +02:00
LICENSE The build skeleton, as the sibling gateways have it minus their engines: make component packs component/ onto a copy of libtacky's dist/tackyd as the one executable dist/muc2, make test runs the unit suites of tests/unit/ one interpreter each in libtacky's build image with this checkout mounted, make image puts dist/muc2 on Debian slim with the data volume /var/lib/muc2; component/load.tcl sources the component's files in their order for main.tcl and the suites alike, component/util.tcl holds what every file uses (the log, an injectable clock, node accessors, the namespaces, the error rule's shorthand, base64url and a constant-time compare); the licence is GPL-3.0 like the siblings'. 2026-11-21 14:20:37 +02:00
Makefile libtacky: the pin moves to develop 54b3f69b, which has tacky::mls with the Delivery Service's half (WITH_MLS=1 its default), so 0.1's image serves MLS channels (the release review's J1-M1) 2026-11-23 07:30:43 +02:00
README.md mux 0.1.1 on libtacky develop 1badca51 (1.3.0-rc1 not tagged yet): the component reports 0.1.1 (mux --version), the image's OCI version label and the quadlet's image are dev.another.im/another-im/mux:0.1.1, CHANGELOG's Unreleased becomes 0.1.1 (xmpp:-only invite links, guest-<hex> names by default, -web/MUX_WEB as the policy form's web, the guest links e2e suite, the docs that follow them), README's status says 0.1.1 on the pin, operations.md names the pin, mux-policy-0's version note dates web to 0.1.1. 2026-11-23 12:42:45 +02:00

MUX (Multi-User eXchange)

MUX (Multi-User eXchange) is the successor of MUC and MIX: an exchange is where many meet and talk, and a mux multiplexes a room's channels -- text, voice, later feeds -- into one place, over one component, for one membership. It was named gc3, then MUC2, now MUX (2026-11-23, docs/rename-mux.md); 0.0.1 and 0.0.2 were released as MUC2.

A group-communication component for XMPP: rooms that hold several channels (text, voice, feed), with persistent membership, named roles and invite links, served as an external component (mux.example.org) next to any ejabberd or Prosody. Plain MUC clients join its text channels as ordinary XEP-0045 rooms; MUX-aware clients get the rest. Written entirely in Tcl on libtacky, the same library the Another IM clients and the Telegram and Delta Chat gateways run on.

Status (2026-11-23): 0.1.1 (CHANGELOG), a patch of 0.1, the first release as MUX; MUC2 0.0.2 was the last under the old name (image dev.another.im/another-im/muc2:0.0.2). Text channels as XEP-0045 rooms over the shared MUC service, members, hats with permissions and per-channel overwrites, invites, knocks, MUC/Sub and mention delivery, retention and since-join history, a moderators' channel with the audit log and reports, admin commands, export/import, graceful stop, voice channels on LiveKit (camera and screen sharing), federation (remote users as occupants over s2s, checked against a second ejabberd in the e2e rig), guests and meetings (anonymous web users with an invite link; ejabberd), channels that declare what a client needs, and MLS channels with the component as the Delivery Service of mux-mls-1 (text, and voice frame keys; built WITH_MLS=1 on a libtacky whose tacky::mls has the service half, as the pin, develop 1badca51, has it; the component says at start mls: available or why not). Not yet: feed channels. Image dev.another.im/another-im/mux:0.1.1; a Podman quadlet is in deploy/.

In a box: the image runs its own voice server (livekit-server) and a general TURN server (eturnal), started and supervised by the component, their secrets made once into its store. One container beside ejabberd or Prosody gives voice channels and relayed 1:1 calls with nothing else to deploy but a TLS proxy for the voice signalling: the component hands out TURN credentials over plain XEP-0215 on its own JID, which libtacky's clients ask for when their own server offers none (Prosody without a TURN module). A LiveKit of your own still works (-voice external); see docs/in-a-box.md and the ports below.

For users

  • A room is a place, not a chat. Think of a TeamSpeak server or a Discord guild: it has an owner, admins, moderators, members, and inside it channels. You join the room once; you are a member whether you are online or not.
  • Channels are text (a chat), voice (a standing call you drop into, with camera and screen sharing) or a feed (posts with comments and reactions). A channel can be open to every member, limited to people who wear a given role ("support", "team"), or invite-only.
  • Roles are hats: the room owner names them, orders them and says what each may do (post, pin, moderate, mute, invite, speak in voice, publish to the feed). Moderators get timeouts, bans that cover the whole room, slow mode, a report inbox and an audit log that is just another hidden channel.
  • Invite links are xmpp: URIs (xmpp:room@mux.example.org?join;password=…), with an expiry, a use count, a preview card, and a role the link grants. A link can be revoked; a banned person cannot use one. MUX hands out no https links: the web app opens xmpp: links as the browser's handler for them.
  • Guests and meetings. Send a link and anyone joins from the web without an account, as a guest with fewer rights than a member and nothing kept after they leave; the meeting template makes a room with one call and that link (needs ejabberd with anonymous login, docs/guests.md).
  • Your existing client keeps working. Conversations, Dino, Gajim, Monal and every other MUC client can join a text channel, read history, react, reply, correct and be moderated. They cannot create rooms, join voice or read feeds, and they never see a channel that is end-to-end encrypted.
  • Encryption in MUX-native text channels is MLS (RFC 9420), one group per channel, with the component ordering the handshake. Voice media goes through a LiveKit server and is not end-to-end encrypted in this version (voice#e2ee none, and clients say so); keys passed through the channel's MLS group come with MLS.

For client developers

The wire is standard XMPP wherever a XEP exists; the component's own pieces are few and live under https://ns.another.im/mux/*, each specified in docs/protocol/.

You want You speak
find the service and its public channels XEP-0030 disco like any MUC service (disco#items on the domain lists public text channels), XEP-0128 forms, XEP-0433 search
see a room's channels and get told when they change the room JID is a pubsub service; its XEP-0503 space node (urn:xmpp:spaces:0) lists channels as XEP-0402 <conference> items with a small https://ns.another.im/mux/0 extension (kind, position, category)
join a text channel as a plain MUC XEP-0045 with XEP-0421 occupant ids, XEP-0313 MAM, XEP-0359 stanza ids, XEP-0424/0425 retraction and moderation (tombstones, never deletion), XEP-0317 hats, XEP-0463 affiliation versions, XEP-0410 self-ping, XEP-0486 avatars, XEP-0500 slow mode, XEP-0444/0461/0308 as usual
join the room, not just a channel one IQ <join xmlns='https://ns.another.im/mux/0'/> to the room: you get your occupant id, your effective permissions and your subscriptions; presence is optional afterwards
get messages while not "in" the channel ejabberd's MUC/Sub wire (urn:xmpp:mucsub:0) on every text channel, delivered to your bare JID so your server stores and pushes it
invite someone XEP-0488 tokens in the password key of a ?join URI, plus a preview IQ; XEP-0249 and mediated invites still work
know what a member may do hats carry permission sets; your self-presence and the join result carry <permissions xmlns='https://ns.another.im/mux/perm/0'/>; per-channel overrides are one IQ
join voice <join xmlns='https://ns.another.im/mux/voice/0'/> to the voice channel (disco: conference/audio-video, the #info form) returns a LiveKit URL and token whose grants follow your permissions; who is in the call is the pubsub node …/voice/0#participants on the channel, readable by everyone who sees it without joining the media; <state/> for your mute and hand, <moderate/> for moderators (server mute, deafen, disconnect, ban, move, stage speaker), all enforced at LiveKit (mux-voice-0.md)
get TURN for a 1:1 call when your server has none XEP-0215 (urn:xmpp:extdisco:2) on the service's JID: <services/> lists the bundled TURN server with REST-style credentials for 12 hours, for the service's local users (mux-turn.md)
report a member or a room the inbox Group Chat Reporting (urn:xmpp:gcreport:0) with XEP-0377's <report/>; moderators read reports and an audit line per action in the room's hidden moderation channel (https://ns.another.im/mux/audit/0)
choose how much history a channel keeps history (shared or since-join) and history-days in the channel's settings form and its disco form
read a feed channel XEP-0060 on the channel JID: a XEP-0472 feed node, XEP-0277 comment nodes, XEP-0470 reactions, XEP-0442 archive

Design rules that shape what you will see on the wire:

  • Every text channel is one bare JID (myproject.dev@mux.example.org); the room JID (myproject@mux.example.org) is also the room's default text channel, so any invite link lands in a chat a MUC client can open. Do not parse JIDs for structure; disco and the space node tell you.
  • One occupant id per person per room, shared by all its channels, on both the MUC face and the native face.
  • The component never trusts a client's own <occupant-id/>, <nick/> or <stanza-id/>; it stamps them itself.
  • Real JIDs are shown only to members holding view-jids in that channel (admins and owners by default), on every face: presence, muc#admin and XEP-0463 lists, MUC/Sub affiliation events, hat lists. This deviates from XEP-0045, where every moderator sees them in a semi-anonymous room: a MUC moderator here (anyone with kick or manage-messages) sees them only with view-jids.
  • Rooms are created explicitly (ad-hoc command or IQ), never by a presence to a new JID. Who may create is the component's policy, published in its disco#info.
  • Nothing is asked of your home server. That is the lesson of MIX.

How it relates to MUC, MIX, GC3 and New MUC

MUC (XEP-0045) stays as the compatibility face, in full. MIX (XEP-0369) gave the ideas of persistent membership, pubsub-backed structure and stable participant ids, but needed every home server to change, so it never shipped; MUX takes the ideas and drops the requirement. The XSF community's "GC3" notes (Matthew Wild, Jonas Schäfer, Kevin Smith) settled many of the same questions; MUX follows their agreed points and Jonas's element names where they fit. "New MUC" (Dave Cridland, 2026) used the shortname MUC2 for a narrower proposal that Council sent back; MUX is a successor that keeps its requirement list (this project was called MUC2 too until 2026-11-23, which clashed with it). The aim is a ProtoXEP once two implementations exist.

The code

One executable, dist/mux: the component's Tcl (component/) appended to libtacky's tackyd, the interpreter with libtacky inside. State is SQLite (or PostgreSQL in a cluster); several instances share it and one holds the component connection at a time through a lease. Builds and tests run in libtacky's container image: make component, make test. Layout and build model follow the sibling gateways tackygram and deltagram, minus their engines: MUX has no foreign protocol to wrap, so there is no second language.

License: see LICENSE.

The code by component, generated by tools/stats.py (make stats; the coverage column by make coverage-all):

component language what it is code tests coverage
store Tcl store.tcl: the SQLite store, its schema, migrations and fencing (§10) 1,369 467 100.0 % procs
access Tcl access.tcl: who may do what: the permission catalogue, built-in hats, the evaluation, the hierarchy, the legacy projection (§4.1-4.3) 332 179 100.0 % procs
rooms and addressing Tcl rooms.tcl: rooms and channels created, updated, destroyed; addr.tcl: slugs, aliases, gone; policy.tcl: who may create (§2.1, §5.1) 827 244 100.0 % procs
pubsub Tcl pubsub.tcl: the room as a pubsub service, the XEP-0503 space node (§2.3) 323 153 100.0 % procs
members Tcl members.tcl: the native join and leave, subscriptions, participants, summary, nick (§3); guests.tcl: guests (docs/guests.md G3) 640 933 100.0 % procs
invites Tcl invites.tcl: XEP-0488 tokens with MUX's extensions, preview (§5.3) 344 250 100.0 % procs
hats Tcl hats.tcl: the XEP-0317 commands, overwrites, catalogue (§4.4) 361 223 100.0 % procs
archive and audit Tcl archive.tcl: retention and the since-join floor (§6.5); audit.tcl: the moderators' channel, audit lines, Group Chat Reporting (§4.4, §4.5) 462 399 100.0 % procs
text channels Tcl textchannel.tcl: a text channel as an XEP-0045 room, the backend of libtacky's mucservice (§6); register.tcl: jabber:iq:register, the knock form; mucsub.tcl: MUC/Sub and XEP-0452 passive delivery (§3.4) 1,357 1,323 100.0 % procs
voice channels Tcl voice.tcl: voice channels: the token, the occupancy node, reconciliation, moderation at the SFU (§7); livekit.tcl: JWTs and LiveKit's RoomService over Twirp 1,147 1,178 100.0 % procs
the box Tcl box.tcl: livekit-server and eturnal run and supervised by the component, their secrets and files; extdisco.tcl: XEP-0215 TURN credentials on the service (docs/in-a-box.md) 531 747 --
service and main Tcl service.tcl: setup, the iq dispatcher, warm-up, disco (§2.2); main.tcl: options, the component; standby.tcl: the lease (§10); util.tcl, load.tcl 863 232 100.0 % procs
operations Tcl ops.tcl: the administrators' commands, freezing, the graceful stop; options.tcl: options and -config; backup.tcl: a room's export and import (docs/operations.md) 1,032 556 100.0 % procs
everything else make, Dockerfile, sh, Python, Tcl the Makefile, Dockerfile, test harness and tools/ 2,245 6,048 --
total (without everything else) Tcl 9,588 9,588 6,884 Tcl 100.0 % procs

code: lines without blanks and comments; libtacky is not counted, and the everything else row is not in the total. tests: test lines per component (COMPONENTS in tools/stats.py). coverage: procedures of component/ called by the unit suites or by the component under the e2e (ejabberd), from the make coverage-all run on 2026-11-22 at commit 55095c6.

9,588 lines of code (Tcl 9,588), 6,884 lines of tests, 601 test cases defined. Coverage: Tcl 100.0 % procs (make coverage-all on 2026-11-22 at commit 55095c6).

suite family files cases
unit (fakepeer): store 1 39
unit (fakepeer): access 1 18
unit (fakepeer): rooms and addressing 1 28
unit (fakepeer): pubsub 1 16
unit (fakepeer): members 2 53
unit (fakepeer): invites 1 21
unit (fakepeer): hats 1 21
unit (fakepeer): archive and audit 2 30
unit (fakepeer): text channels 3 74
unit (fakepeer): voice channels 1 48
unit (fakepeer): the box 2 28
unit (fakepeer): service and main 2 20
unit (fakepeer): operations 3 37
e2e: dist/mux on ejabberd and Prosody, libtacky's client (tests/e2e/) 12 168
total 33 601

cases: the tests a tcltest suite defines (a test in a loop counts once). make stats regenerates these numbers; the coverage comes from the last make coverage-all, its full report (with the procedures never called) in _build/cov/REPORT.md.

The e2e suites' results on each server, from the last make e2e there:

e2e suite server passed failed skipped run
test_e2e.tcl ejabberd 10 0 0 2026-11-23, 9502f84
test_extdisco.tcl ejabberd 4 0 2 2026-11-23, 9502f84
test_guest_links.tcl ejabberd 13 0 0 2026-11-23, 9502f84
test_guests.tcl ejabberd 10 0 0 2026-11-23, 9502f84
test_legacy.tcl ejabberd 51 0 2 2026-11-23, 9502f84
test_mls_client.tcl ejabberd 4 0 0 2026-11-23, 9502f84
test_mls.tcl ejabberd 10 0 0 2026-11-23, 9502f84
test_native2.tcl ejabberd 18 0 0 2026-11-23, 9502f84
test_native.tcl ejabberd 16 0 0 2026-11-23, 9502f84
test_s2s.tcl ejabberd 10 0 0 2026-11-23, 9502f84
test_voice_client.tcl ejabberd 13 0 0 2026-11-23, 9502f84
test_voice.tcl ejabberd 5 0 0 2026-11-23, 9502f84
test_e2e.tcl Prosody 10 0 0 2026-11-23, 9502f84
test_extdisco.tcl Prosody 5 0 1 2026-11-23, 9502f84
test_guest_links.tcl Prosody 7 0 6 2026-11-23, 9502f84
test_guests.tcl Prosody 7 0 3 2026-11-23, 9502f84
test_legacy.tcl Prosody 49 2 2 2026-11-23, 9502f84
test_mls_client.tcl Prosody 4 0 0 2026-11-23, 9502f84
test_mls.tcl Prosody 9 0 1 2026-11-23, 9502f84
test_native2.tcl Prosody 18 0 0 2026-11-23, 9502f84
test_native.tcl Prosody 16 0 0 2026-11-23, 9502f84
test_s2s.tcl Prosody 0 0 10 2026-11-23, 9502f84
test_voice_client.tcl Prosody 13 0 0 2026-11-23, 9502f84
test_voice.tcl Prosody 5 0 0 2026-11-23, 9502f84

e2e: each suite's own totals in the last make e2e on that server (date, commit); "-" a suite that did not finish. Skipped cases are known findings or need a feature the tree lacks (the finding constraint, which MUX_E2E_FINDINGS=1 runs, and audit).

Building and running

Everything builds and tests in libtacky's container image (podman or docker):

goal does
make component (make build) dist/mux: libtacky's tackyd (built WITH_MLS=1; WITH_MLS=0 for none) with component/ appended
make test the unit suites (tests/unit/test_*.tcl), SUITES=test_access.tcl for one
make stats, make stats-check README's generated numbers rewritten, or checked for staleness
make coverage-all the unit suites and the e2e recording the procedures they call; the figures into README
make e2e end to end: dist/mux on libtacky's ejabberd rig, then on its Prosody rig, driven by libtacky's own client (tests/e2e/: the plain-MUC suite, the legacy MUC conformance suite, the native suites); E2E_SERVER=ejabberd or prosody for one rig, E2E_PORT_BASE (63000) for its ports, E2E_LIBTACKY for another libtacky checkout's client, E2E_SUITES for some suites (test_voice.tcl and test_voice_client.tcl run on the component's builtin livekit-server, E2E_LIVEKIT=1 on one in a container beside the rig; test_extdisco.tcl on its builtin eturnal, E2E_TURN); README's e2e rows follow
make image the runtime image: dist/mux on Debian slim with livekit-server and eturnal (pinned), data volume /var/lib/mux
make clean dist/, _build/ and the submodule's build
mux --version the component's version and libtacky's
mux stop -data DIR the running instance stops gracefully (332 to its occupants, the lease released); SIGTERM to the image does the same
mux export, mux import one room out of a store as JSON lines, and into another (backups of a room, moving it between services)
mux export-secrets, mux import-secrets the box's secrets (LiveKit's key pair, the TURN secret) out of a store and into another
mux rotate-secrets -data DIR fresh box secrets in a stopped instance's store, taken at its next start (the ad-hoc rotate-secrets does it live)
mux -domain mux.example.org -data /var/lib/mux

The secret is COMPONENT_SECRET in the environment; MUX_DOMAIN, MUX_SERVER, MUX_HOST, MUX_PORT and MUX_CREATION_TOKENS stand in for their options. Voice channels run on the image's own livekit-server (-voice builtin, the default there; clients connect to -livekit-url, default wss://sfu.<server>, your TLS proxy to 127.0.0.1:7880) or on a LiveKit of your own: MUX_LIVEKIT_URL (what clients connect to), MUX_LIVEKIT_KEY and MUX_LIVEKIT_SECRET (MUX_LIVEKIT_API when its RoomService is elsewhere), which make it -voice external; with neither a voice channel says voice#transport none. TURN for 1:1 calls is the image's eturnal (-turn builtin), its credentials over XEP-0215; -public-ip names the host's public address to both (the builtin TURN needs it, or -turn-host). The ports to open, with the defaults:

what port open to
voice signalling and API (LiveKit) TCP 127.0.0.1:7880 your TLS proxy (wss://sfu.<domain>)
voice media (LiveKit) UDP 50000-50200, TCP 7881 everyone
TURN for voice (LiveKit's own; voice participants only) UDP 3478, TLS 5349 with -tls-cert everyone
TURN for 1:1 calls (eturnal) UDP 3479, TLS 5350 with -tls-cert, relay UDP 50201-50400 everyone

The rest (who may create rooms, room and invite limits, the rules URL, -lease sqlite or -lease file for active and standby instances, of which only the lease holder connects) is in the header of component/main.tcl; -config FILE takes them all from a JSON or key = value file (never the secret). Configuration, the administrators' ad-hoc commands (list, inspect, freeze, delete and hand over rooms, the creation policy, statistics, the voice and TURN servers), the box's servers, stopping, backups and upgrades: docs/operations.md. Where each part of the design lives: docs/files.md.