Command Line & Building
The xlx-observatory Command
The package runs the dashboard as a systemd service, so you rarely need to run it yourself. It takes three options:
| Option | Meaning |
|---|---|
-config FILE |
The settings file. The default is /etc/xlx-observatory/xlx-observatory.ini. |
-version |
Print the version and exit |
-init-hash |
Create the directory key file if it is missing, print its path and exit. See Calling Home. |
For example, to check which version is installed:
xlx-observatory -version
The Service
| Task | Command |
|---|---|
| Start it, and at boot | systemctl enable --now xlx-observatory |
| Restart after changing settings | systemctl restart xlx-observatory |
| See whether it is running | systemctl status xlx-observatory |
| Read its log | journalctl -u xlx-observatory |
| Follow its log | journalctl -u xlx-observatory -f |
The log is short: what it is listening on, calling home starting, and problems reading xlxd's files, the monitor or the directory.
calling home every 10m0s, directory hash /etc/xlx-observatory/callinghome.hash
xlx-observatory 1.0 listening on 127.0.0.1:8090
Building
Most installs don't need this: the package is in the Packet Warriors repository (see Installation). Build it yourself for another architecture, or to change the code.
XLX Observatory is written in Go and needs Go 1.24 or later. It has no dependencies outside the Go standard library, and everything the pages use (styles, fonts, logos, flags) is built into the program.
Get the source:
git clone https://github.com/jxmx/xlx-observatory.git
cd xlx-observatory
| Command | What it does |
|---|---|
make build |
Builds build/xlx-observatory |
make test |
Runs go vet and the tests |
make podman-deb |
Builds the Debian package in a container, into ../_debs |
make deb |
Builds the Debian package on this machine |
Debian Packages
make podman-deb builds the package for Debian 13 (trixie) inside a
container, so the build machine needs only Podman. The package lands in
_debs, next to the source directory.
To choose the architecture, release or container engine, run the build script directly:
builder/localbuild.sh -a arm64 # build for arm64
builder/localbuild.sh -e docker # use Docker instead of Podman
builder/localbuild.sh -o trixie # the Debian release (the default)
The architecture defaults to the build machine's own, amd64 or arm64.
Building for the other one runs under qemu emulation, which is slow and
needs:
sudo apt install qemu-user-static
make deb builds on the current machine instead of in a container. It
needs debhelper, devscripts and Go 1.24 or later installed.
License
XLX Observatory is GPL-3.0-or-later. The callsign prefix table and the flag images come from the xlxd dashboard, also GPL-3.0. The IBM Plex fonts are under the SIL Open Font License.