Tin Hat / Run a server / The guest room
The guest room
One optional room for friends without an account. Send its link; they type a name and wait at the door until someone in the room lets them in. About 12 hours later their temporary account is closed.
For a friend without an account. Your server has one optional room for guests. You send its link, your friend types a name and waits at the door, and someone in the room lets them in. About 12 hours later their temporary account is closed.
What it is
Every Tin Hat server can have one Guests room, off until someone turns it on. It has one guest link. Whoever opens it types a name and waits; they get in only when someone in the Guests room lets them in. A guest gets a temporary account that works only in the Guests room and its call.
- No sign-up, no app: the link opens in a current browser, on a phone too.
- You decide who comes in: a guest waits at the door until someone in the Guests room lets them in or turns them away.
- Only the Guests room: a guest account can't join your other rooms, start a direct message or invite anyone. Your server's own rules stop it, whatever an app tries.
- No earlier history: guests see only what's said after they come in.
Turn it on
In Tin Hat: Settings → Guests → Turn on the guest room. The first time, a server admin turns it on; the server makes the Guests room and puts them in it. After that, server admins and the Guests room's moderators can turn it on and off and make a new link.
Anyone on your server can join the Guests room from the room list. Everyone in it, apart from guests, sees who's waiting, can copy the link and can let people in, so be in it when you expect someone.
The guest link
While the guest room is on, its bar says Guest room is on with Copy guest link. Send that link the way you'd send anything: a text, an email, a message in another app. It looks like https://yourname.tinhat.me/call/?g=…. Whoever has it can pass it on, so if it went further than you meant, make a new link.
A home-network server (yourname.local): guests have to be on your home network, and their device has to trust the server once first (open http://yourname.local and follow the two steps). From outside, use a server that's reachable from anywhere.
At the door
- Your friend opens the link, sees your server's name and Guests, types a name and presses Knock.
- The people in the Guests room get a notice: Ana is waiting to come in as a guest. In the room, under its bar: Ana is waiting, with Let in and Turn away.
- Let in, and your friend's page opens Tin Hat in the browser, straight into the Guests room. Tell them to keep the waiting page open: it has two minutes to pick up its way in. Turn away, and the page says nobody let them in this time.
A knock waits 10 minutes; after that your friend knocks again. Up to 20 people can wait at once, and one internet connection can knock 5 times in 10 minutes. If the server restarts while someone waits, they knock again.
Inside
A guest can chat, share pictures and files, and join the call in the Guests room, like anyone else there. Their name shows as they typed it, with (guest) after it. Their temporary account is closed after about 12 hours (the server checks every 10 minutes), or as soon as you turn the guest room off: they're taken out of the room and its call. What they wrote and shared stays in the Guests room, like anyone's messages.
A new link
New link replaces the link at once: the old one stops working, and anyone still waiting with it is told the link isn't open any more. Guests who are already in stay.
Turn it off
Turn off closes the door: the link stops working, whoever waits is turned away, and the guests are taken out of the room and its call, their temporary accounts closed (if part of that fails for a moment, the server tries again by itself). The Guests room itself stays, with its messages. Turning it on again makes a new link; an old link never comes back.
Questions
Do guests need the Tin Hat app?
No. The link opens in a current browser and the guest uses Tin Hat in that tab. Nothing is installed, and their temporary account is closed after about 12 hours.
Can a guest read our other rooms?
No. A guest account can only join the room it was let into. It can't join another room even with its address, can't be invited elsewhere, and can't start a direct message. Your server enforces this itself.
Are guests' messages encrypted?
Not end-to-end, on purpose: a guest's brand-new device couldn't read anything said before its keys reached everyone else's devices. Everything said there stays on your server, like any room's messages, and guests only see what's written after they came in. Your private rooms and direct messages are end-to-end encrypted, and guests can't get into them.
What if nobody's around when someone knocks?
They wait up to 10 minutes, then their page says to knock again. The people in the Guests room got the notice, so whoever sees it first can let them in.
Why doesn't the old link work any more?
Someone made a new link, or turned the guest room off and on again. Ask whoever sent it for the current one.