Skip to content

Offline LAN chat

War rooms happen when the network is the problem. Cylora's companion runs a chat room on your local network that works with the internet unplugged — and links straight to the work.

LAN chat room with messages, a reply and a linked task

Host and join

Start the companion with npm run companion. It binds to your LAN address only, prints a room code and an invite link, and serves the chat page itself, so phones and laptops on the same network can join from a browser.

Reconnect without losing messages

Messages are numbered by the host. When a device drops off and comes back it receives exactly what it missed, in order, without duplicates; messages typed while offline wait in an outbox and send once.

Rooms, replies and unread

Multiple rooms, replies with quotes, unread counts and a “new messages” marker, visible connection status, and links to tasks in your Cylora project.

Scoped and sanitised

Only devices on the bound subnet can connect, wrong room codes are rate-limited, the host can remove members and rotate codes, and messages are plain text with control characters stripped.

Manual join when discovery fails

Companions announce themselves over UDP multicast where the network allows it. Where it doesn't, type the host's address and port into any browser.

Limits worth knowing

  • Traffic on the LAN is plain HTTP; use it on networks you trust.
  • Physical two-device verification on an air-gapped network is still outstanding — see the guide's verification notes.
  • Browsers block an https page from talking to a LAN http address; use the companion's own page or run Cylora locally.