Playing on a LAN

On a trusted local network you do not need Bakery. Start a director on one machine:

tompouce-director --listen 0.0.0.0:7420 --insecure-lan \
    --node-name living-room \
    --lobby living-room=<26-char-base32-room-id>

The wildcard listener advertises an available private IPv4 address and an available IPv6 address. A specific address restricts the listener and announcement to that family.

Find the room

On each client, press F2 and type:

/collab scan
/collab scan 1
/collab join 1

/collab scan lists nearby directors with their name and fingerprint. The scan uses mDNS first and a bounded UDP fallback. IPv4/IPv6 and mDNS/UDP announcements for the same director fingerprint and port are flattened into one result, preferring mDNS and then IPv4.

/collab scan 1 selects the first director and fetches its room list. Public lobbies show their room id; private rooms show invite required and must be joined with an invite link.

Encryption on the LAN

Public lobbies are plaintext. Private rooms remain end-to-end encrypted: code, nicks, invites and sample metadata are sealed before they leave the client. LAN control traffic uses ws://, so use a trusted network and do not expose the director to the internet.