Tin Hat / Run a server

Your own Tin Hat server

Host Tin Hat for your group on a computer you already have: the spare that runs your Minecraft server, your gaming PC, a home server or a NAS. About 25 minutes from download to your first message, and a setup page in your browser does the hard parts.

Version 0.3.21 Chat, voice, video, screen share Friends join with an invite link End-to-end encrypted

Before you download

Am I ready?

A few quick questions. You'll get the right download, what will work on your setup, and what to expect. Nothing you pick leaves this page.

Pick a computer

Four ways to run it

Same server either way. Pick the one that matches the computer you have.

Tin Hat Server for Windows

Your gaming PC, or a Windows spare that already runs game servers.

  • A normal installer; the server runs quietly in the background
  • Starts with Windows, capped so your games keep their memory
  • Windows 11 (Home or Pro)

Linux install script

A Linux machine of your own: the spare that hosts your Minecraft server, a virtual machine or a rented server.

  • Two commands; it leaves the machine's name, its network addresses, SSH and your firewall settings alone
  • Debian 13 or Ubuntu 24.04, 64-bit Intel/AMD or ARM
  • Checks first that the ports it needs are free

Docker Compose

Your NAS or homelab already runs Docker: Unraid, TrueNAS SCALE, Synology, Portainer, CasaOS.

  • One compose file, docker compose up -d
  • Updates with docker compose pull and up -d; a bad version goes back by itself
  • Can sit behind your own reverse proxy

Virtual machine image

You already run Proxmox, Unraid, TrueNAS, a NAS, or VirtualBox / Hyper-V / VMware.

  • Import the image, start it, open the setup page
  • Proxmox, Unraid, TrueNAS (qcow2), VirtualBox and VMware (VMDK), Hyper-V (VHDX)
  • The network must be bridged, not NAT

A USB installer that turns a spare PC into a dedicated server is planned for after the first release. Macs aren't supported yet: a virtual machine image for Apple silicon Macs (UTM, Parallels, VMware Fusion) is coming. Windows 10 isn't supported: it lacks the network mode the Windows version needs.

Who's joining

Your home, or friends anywhere

You choose during setup. Most groups want friends anywhere.

People in my home

Everyone connects on your home Wi-Fi. Nothing is opened to the internet.

Address
home.local (you pick the name)
Certificate
The server makes its own; each device trusts it once
Router
Nothing to change
Needs
Nothing extra

Friends anywhere

Friends connect from their own homes, phones and Wi-Fi.

Address
crew.tinhat.me; friends just type crew
Certificate
A real one from Let's Encrypt; no trust step on any device
Router
Three ports, opened automatically on most routers
Needs
A server code (while names are new) and internet that allows incoming connections (5G home internet and Starlink usually don't)

The name can't change later: it's part of everyone's address, like @alex:crew.tinhat.me (the server can still move to a domain of your own, and everyone then signs in again). How friends anywhere works. Own a domain, or already run a reverse proxy? Setup has a third choice, My own domain (advanced): your own domain.

What it needs

Hardware and internet

The setup measures the computer and your connection, and tells you what will work before anything is installed. These are the rough numbers.

MinimumComfortableWhy
Memory2 GB free4 GB freeThe chat server and its database
Storage20 GB, an SSD60 GB+, an SSDMessages, photos and files people share. SD cards and USB sticks are too slow for the database
Processor2 cores, any PC from the last 10 years4 coresCalls are forwarded, never re-encoded, so they're light
NetworkWi-Fi (Windows and Linux)A network cableCalls are smoother on a cable. A server installed from the USB stick needs one
Upload (friends anywhere)10 Mbit/s50 Mbit/s+Every camera in a call goes out to everyone else: see the table below

How many people fit in a call

Your uploadOn camera at onceIn a voice callTypical for
10 Mbit/s212Starlink, some 5G home internet
20 Mbit/s317Many cable plans
40 Mbit/s424Faster cable plans
100 Mbit/s737Fiber
500 Mbit/s1580+Fast fiber

Each camera is about 1.5 Mbit/s, sent to each other person, kept under 70 % of your upload. Voice is about 1/30 of that. Small video tiles get a smaller version, so real calls usually fit more people than this.

After setup

Running it is a dashboard, not a terminal

Invite links

Make an invite in the dashboard and send the link. It fills in the code; your friend picks a username and they're in.

Health and network

Every part of the server, the memory and storage it uses, and whether friends outside can reach it, with the fix when they can't.

Connect servers

Link up with a friend's Tin Hat server with a code. Both owners agree, and either can disconnect any time.

Questions

Good to know

Is it free?

Yes. You run it on your own computer; the only cost is that computer's electricity, a few dollars a year for a spare mini PC. A tinhat.me name is free too.

Can people on my server talk to people on another Tin Hat server?

Yes, when both owners agree: Dashboard → Network → Other Tin Hat servers. Either side can disconnect at any time.

Who can read our messages?

Calls, direct messages and private rooms are end-to-end encrypted: the server passes them along without being able to read them. Public channels inside a space and #general aren't, so people who join later can read what was said before, and neither is the guest room; those stay on your server. Tin Hat runs no central chat server: your chats are on your own server, on your computer or one you rent from a hosting company. The Tin Hat names service knows only your server's name, its public address, its version and a 90-day log of changes and checks. What you're trusting has the details: what runs, what leaves your home, and what happens if Tin Hat goes away.

What happens when the server's computer is off?

Chat and calls pause for everyone until it's back. Messages people type meanwhile wait in their apps and send when it returns. That's why a spare that stays on is the best home for a server.

Does it slow down my games?

Hardly. The server is light when idle, and the Windows version caps its memory so games keep theirs. Hosting video calls uses your upload, though, so a big call while you game online can add lag on slower connections.

What if my internet is 5G home internet (T-Mobile, Verizon, AT&T Internet Air) or Starlink?

Those usually share one public address between many homes ("carrier NAT"), so friends outside can't reach a server in your house directly. The setup checks this and tells you for sure. A server for the people in your home still works. For friends anywhere, run it on a small rented server instead (a VPS, about $5–12 a month) with the Linux script, or let a friend with cable or fiber host it. Sorry: a Tin Hat relay that would carry friends' connections into homes like yours costs more to run for everyone than we can pay, so there isn't one for now. More.

Can I use my own domain?

Yes. At setup, choose My own domain and type the full address, like chat.example.com. With your domain's DNS at Cloudflare, Porkbun, deSEC or DuckDNS, you paste an API token and the server gets its own certificate (with Cloudflare it also keeps the domain pointing at your home). Nothing depends on tinhat.me, and friends type the whole domain. Choose the address with care: it's part of every account. Moving to another domain later works from the dashboard, but everyone then signs in again. Your own domain.

I already run nginx, Caddy, Traefik or Nginx Proxy Manager

Keep it. Choose My own domain → My own reverse proxy (it handles HTTPS): your proxy keeps port 443 and its certificate and sends the domain to the Tin Hat server's port 8080 on your home network. Calls don't go through the proxy; the server asks your router only for TCP 7881 and UDP 7882. The setup's last page and the dashboard give you the settings for all four, ready to copy. On the same Linux machine as Tin Hat, at home or on a rented server? Install with --behind-proxy and Tin Hat leaves ports 80 and 443 to your proxy. Behind your own reverse proxy.

Can I run it on a VPS or my own Linux server?

Yes, with the Linux script: Debian 13 or Ubuntu 24.04 on a 64-bit Intel/AMD or ARM machine, with ports 80, 443, TCP 7881 and UDP 7882 free for it. Game servers like Minecraft or Valheim are fine next to it, and so is your own reverse proxy holding 80 and 443 (install with --behind-proxy). On a VPS, choose Friends anywhere or My own domain at setup and open those ports in your provider's firewall. Tin Hat Server on Linux · on a rented server.

How do updates work?

By themselves, at night when nobody's in a call, or with one click in the dashboard. Every update is signed and checked first, and the server makes a safety copy and goes back to it by itself if the new version doesn't start properly. You can switch automatic updates off. With Docker Compose you update it yourself with docker compose pull && docker compose up -d; the manager's own image then comes by its tag from GitHub's registry (more).