Tutorial

How to Build a Self-Hosted Dashboard with Homer

Why this matters

Most dashboards are someone else’s idea of what you should care about. They show you a weather widget, a news feed and a row of buttons for services you do not run.

Homer is a list of links in a YAML file. That is the whole product, and the reason it is worth having is that it cannot rot: it is a static page, it renders in a browser, and the only thing to maintain is the file.

The second reason is the memory. Homer is the lightest thing in the stack described below by an order of magnitude — one megabyte against a search engine’s 180 — which means you can put one on a box that is already full.

What I tested on

  • OS: OpenCloudOS 9.6 (kernel 6.6.119-49.23.oc9.x86_64)
  • Homer: 3.x, the single-page version
  • Runtime: Docker 29.9.2 with Compose v5.6.1
  • Hardware: 2 vCPU / 3.5 GB RAM / 60 GB xfs
  • Duration: set up in October 2026

the stack, running: homer is the first line, one megabyte of memory

How I tested

I measured it the way you would care about: the memory the container actually uses while serving requests, which is the number in the second screenshot. It sits at about 1 MB — the lighttpd process and nothing else, because there is no application server behind it.

I also spent a while working out why a Homer page can render blank while every file is in place, which is the subject of the section below.

Step 1: The compose file

services:
  homer:
    image: b4bz/homer:latest
    container_name: homer
    restart: unless-stopped
    ports:
      - "127.0.0.1:8081:8080"
    volumes:
      - ./homer:/www/assets

Two details in that volume line are the whole article.

The mount point is /www/assets, not /var/www/assets. The image serves whatever is in /www/assets, and if you mount elsewhere the container starts happily and serves its own demo configuration instead of yours. You get a working page with the wrong links and no error to explain it.

The mount is not read-only. Homer writes into the directory it is serving, so a :ro mount leaves it unable to start. If your compose file has :ro on that volume and Homer logs an error about writing, that is why.

Step 2: The layout

Homer 3 is a single-page app. The page you get is a shell — an index.html that loads a JavaScript bundle, and the bundle reads your configuration in the browser and draws the links. There is no server-side rendering and no build step on the server.

That means the directory has to look like this:

homer/
├── index.html
├── assets/
│   ├── config.yml
│   ├── icons/
│   └── manifest.json
└── resources/
    ├── index-XXXXXXXX.js
    └── ...

The resources/ directory is the compiled bundle, and it is not something you write by hand. The project publishes it as an archive:

curl -sLO https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip
unzip homer.zip -d homer/
rm homer.zip

Unpack that, then put your own config.yml into homer/assets/ — the archive ships config.yml.dist, which is the demo, and your file replaces it.

Step 3: The configuration

# homer/assets/config.yml
title: Homelab
subtitle: Services running on this box

links:
  - name: SearXNG
    url: http://127.0.0.1:8080
    icon: fas fa-search
    description: Private metasearch
    tags: search
    status:
      url: http://127.0.0.1:8080
      method: GET
      expected: 200

  - name: This site
    url: https://homelabspot.com
    icon: fas fa-globe
    description: homelabspot.com
    tags: public

The status block is what turns the page from a list into a dashboard. Homer fetches that URL from your browser and shows a dot: green for the expected code, red for anything else. It is the browser doing the checking, not the server, which means the status reflects what your own network can see — which is usually what you want, and occasionally not.

Note that the status URL does not have to be the same as the link. The link goes where a human wants to go; the status URL is the cheapest endpoint that proves the service is alive. For a service behind authentication, point it at an endpoint that returns 401 rather than the page that returns 200 to a logged-in browser.

Step 4: Bring it up

docker compose up -d
docker compose ps
curl -s -o /dev/null -w "status=%{http_code}\n" http://127.0.0.1:8081/

If you get a 200 and a blank page, the cause is almost always one of the three above: the mount is at the wrong path, the mount is read-only, or config.yml is in the directory root instead of assets/. Homer does not complain about any of them, because from its point of view it is serving exactly what it was told to serve.

What it costs

ServiceMemory
homer1.07 MB
miniflux12.3 MB
postgres37.5 MB
searxng177.1 MB
linkding203.8 MB

the stack, running: homer is the first line, one megabyte of memory

The image is 24 MB on disk and the container uses about one megabyte of memory while serving. There is no database, no runtime, no background task. Restarting it does not lose anything, because everything it knows is in a file.

Everything else in that table has a guide of its own: SearXNG is the heavy one at 177 MB, Linkding sits at 204 MB, and Miniflux comes in at 12 MB.

Pros and cons

Pros:

  • One YAML file, and the page is a static file
  • Around one megabyte of memory
  • Status checks for every link, with the expected status code configurable
  • Icons from Font Awesome, and tags for filtering
  • Editing config.yml and reloading is the entire update procedure

Cons:

  • No authentication — it must not be exposed directly
  • The status check runs in your browser, so it says nothing about the server
  • Homer 3 is a single-page app, which means it is useless without JavaScript and slow to open on a poor connection
  • The directory layout has to be right, and getting it wrong produces a blank page rather than an error

Best for / Skip if

Best for: anyone running more than three services who wants one page with the addresses on it, and who does not want a database or a runtime to maintain.

Skip if: you need authentication, or you need the dashboard to tell you something you cannot see by opening the services yourself. Homer shows you what you told it to show; it does not discover your services, and it does not report on anything you did not list.

Alternatives

  • Dashy — a React dashboard with widgets, configurable layout and themes; considerably heavier and more capable
  • Heimdall — the older style of dashboard, closer to a launcher than a link list
  • Grafana — if you actually want graphs and alerts, use the monitoring stack; Homer is not a substitute for it

Verdict

Homer is the cheapest useful thing you can put on a server, and it earns its place by doing one thing without complaint. It has kept my services reachable without me touching them, and it costs one megabyte.

References

FAQ

Do I need a domain?

No, it works on localhost or any internal IP.

Can I password-protect it?

Not natively; put it behind a reverse proxy with basic auth or a VPN.

Does it need a database?

No. Homer builds static HTML from a YAML file, so there is no database and no container that holds state. Restart it and nothing is lost, because everything it knows is in that file.

Henry Xiang

I keep self-hosted services alive for a living — backups, docs, monitoring, the boring parts that break at 3am. Everything here runs on my own hardware first.