Skip to content

Installing HomeBox

A verified download, one secret the program insists on, and three settings that decide where your inventory lives.

HomeBox is distributed from the project's GitHub releases page as an archive per operating system. The lab installed 0.27.1 (released 2026-10-23) on 64-bit Linux, and the steps below are the ones it ran; Windows and macOS archives differ only in the shape of the download.

Get it, and check it

  1. Download the archive for your system — the lab's was homebox_Linux_x86_64.tar.gz, about 39 MB — and the release's checksums.txt alongside it.
  2. Verify the checksum before you unpack anything:

sha256sum -c checksums.txt

The lab's answer was homebox_Linux_x86_64.tar.gz: OK (transcript t00). This is the step that proves the file on your disk is the file the project published; skipping it is trusting every network between you and GitHub. 3. Unpack. Inside is a single file, homebox. That is the whole program.

Most readers will instead run the official Docker image, which wraps the same binary; everything after this chapter is identical either way, because the settings below are the program's own, passed as environment variables in both worlds.

The secret it will not start without

A fresh start stops dead with an error worth meeting in a guide rather than at midnight:

panic: auth.api_key_pepper must be set to at least 32 bytes;
generate with `openssl rand -base64 48` and provide via
HBOX_AUTH_API_KEY_PEPPER. Rotating it invalidates all issued API keys

The pepper is a server-side secret used when issuing API keys (chapter 13). Generate one, keep it with your other configuration, and treat it like a password: the message tells you the cost of changing it — every API key you have handed out stops working.

The settings that matter

HomeBox is configured by environment variables, each also available as a command-line flag (homebox --help lists the full set; the lab's copy is transcript t01). Four decide where things live:

Setting Default What it decides
HBOX_WEB_PORT 7745 the port the web pages and API answer on
HBOX_WEB_HOST all interfaces bind to 127.0.0.1 if a reverse proxy or tunnel fronts it
HBOX_DATABASE_SQLITE_PATH ./.data/homebox.db where the database file sits
HBOX_STORAGE_CONN_STRING + HBOX_STORAGE_PREFIX_PATH file:///./ + .data where uploaded documents are stored

The lab ran with the port set to its assigned test port and every path pointed inside one folder, so the whole install could be picked up and examined (transcript t21 shows the result: one database file and its journals, nothing else). On your own machine the defaults are fine; what matters is that you can answer "where is the database, and where are the documents?" — chapter 14 will ask.

Start it, then check the status address:

curl http://127.0.0.1:7745/api/v1/status

A healthy reply names the version, as the lab's did: "version":"0.27.1", "health":true (transcript t03). The program also creates the database and runs its migrations on first start — the startup log's roll of OK migration lines is normal, not noise.

The check for this chapter: the status address answers, and you can name the folder that holds homebox.db. Chapter 4 makes the first household in it.