Self Host Wizard Docs

What Self Host Wizard is

One Ubuntu server you own, running mail, calendars, files, CRM, tasks and more for every company you run, managed by one command-line tool.

Self Host Wizard turns one Ubuntu server into the office tools a small company usually rents per person: mail, calendars and contacts, shared files, a CRM, tasks, a wiki, a password vault, a help desk and more. The installer runs on an Ubuntu 24.04 server, Arm or Intel/AMD.

The project's own code is under the Apache-2.0 licence. Every app it runs keeps its own licence; each app page lists it.

One box, many companies

One install serves several companies at once. A person who runs three businesses puts all three on the same box: each company gets its own domains, its own people and teams, and its own shared calendars and folders. One person can belong to more than one company.

The box keeps what it should be in one file, /etc/thx/state.json: the public IP, the domains, the companies with their teams, and which apps are enabled. People are not in that file; they live in the directory (LLDAP).

The parts

  • **thx**, the command-line tool. Every change to the box is a thx command, and sudo thx apply makes the box match the state file. Running it a second time changes nothing.
  • Pieces. Each app is a piece: a folder with a piece.toml, a Docker Compose project and a README. The apps page lists all of them with their memory limits.
  • The directory and the one login. LLDAP holds every person and group; Authelia is the sign-in page every app uses. See single sign-on.
  • Caddy owns ports 80 and 443 and gets every certificate.
  • Home, the web app at app.<apps domain>: the launcher people open every day, the admin panel and the first-run set-up wizard.

What one box gives you

The project's own box is an Arm server with 2 cores, 12 GB of memory and 200 GB of block storage, and that is the size everything here is measured against. Everything runs inside that. Every company on the box shares the same two cores, and nobody has yet measured how many people they carry, so this documentation gives no user count.

Your box runs on your own server, in your own account: you look after it, and if that account is closed, everything inside it goes too. Read backups before you put real work on it.

What it is not

It is not everything the paid suites are. Storage is shared: 200 GB for everyone together. There are no per-device app passwords: phones and mail clients use the person's office password. Sign-in is one factor, a password: Authelia's access rules are one_factor today. Backups are not built yet.

Where to go next

  1. Install it on an Ubuntu 24.04 server.
  2. Add a company and a domain.
  3. Set up mail and the relay.
  4. Add people.

Every page in this documentation ends with the list of files in the selfhostwizard repository its facts come from. The command reference is generated from the thx usage text itself.

Facts on this page come from these files in the selfhostwizard repository:

  • cmd/thx/main.go
  • internal/state/state.go
  • internal/steps/all.go
  • internal/stats/stats.go
  • pieces/home/README.md
  • docs/pieces.md
  • LICENSE
  • pieces/authelia/README.md

Updated