Install
Install Triage from the timmo pacman repository, as a Home Assistant app or container, with mise, or from a release.
Triage is a single Linux binary for x86_64 and aarch64. The server also comes as a container image and a Home Assistant app.
Arch Linux
Packages are published to the unofficial timmo pacman repository. Add it before the other repository sections in /etc/pacman.conf:
[timmo]
SigLevel = PackageRequired DatabaseOptional TrustedOnly
Server = https://packages.timmo.dev/$arch
Then install one of the two packages:
| Package | Built from |
|---|---|
triage-bin |
The latest release |
triage-git |
Every push to main |
sudo pacman -Syu triage-bin
Both install the triage command, shell completions and three user services: triage-agent.service, triage-server.service and triage-worker.service. None is enabled on install, since each machine takes on different roles. On upgrade, the package restarts the ones that are running.
Home Assistant
The Home Assistant app runs the server on Home Assistant OS, for amd64 and aarch64. Add this repository to the app store:
or add all my apps at once. Add one or the other, not both: Home Assistant treats them as different apps, so moving between them starts with empty settings and data.
Then install Triage, set its admin token and start it. See Run a server.
Container
ghcr.io/timmo001/triage runs the server, for amd64 and arm64. See Run a server.
Debian, Ubuntu and Fedora
Each GitHub release has .deb and .rpm packages:
# Debian and Ubuntu
sudo apt install ./triage_<version>_amd64.deb
# Fedora
sudo dnf install ./triage-<version>-1.x86_64.rpm
mise
mise can install the release binary on any distribution, and keep it up to date:
mise use -g github:timmo001/triage
Update it with mise upgrade. This installs only the triage command, without completions or services. To run the agent, copy triage-agent.service to ~/.config/systemd/user/ and point its ExecStart at the mise shim:
ExecStart=%h/.local/share/mise/shims/triage collect --follow --upload
then run systemctl --user daemon-reload.
Release archive
Each release also has a triage-<version>-linux-<arch>.tar.gz archive with the binary and the agent skill in skills/. Put the binary somewhere on your PATH:
tar -xzf triage-<version>-linux-x86_64.tar.gz
install -Dm755 triage ~/.local/bin/triage
Release assets come with a SHA256SUMS file and a Sigstore bundle. Releases are built by a shared workflow in timmo001/workflows, so name it as the signer when you check an asset:
gh attestation verify triage-<version>-linux-x86_64.tar.gz --repo timmo001/triage --signer-repo timmo001/workflows
Build from source
You need mise, which installs the pinned Bun and Node versions:
git clone https://github.com/timmo001/triage.git
cd triage
mise install
mise run build
The binary is written to dist/triage.
Install the web UI as an app
Behind HTTPS, such as through Caddy or Cloudflare, or on the same machine at localhost, your browser offers to install the web UI as an app, with a banner and an Install button in its header. Its page also loads offline. Over plain HTTP on a network address the browsers don’t allow either, so it stays a normal page.
After the server is updated, an open page reloads itself onto the new version. If that doesn’t work, a banner offers a Reload button.
Next steps
- Run a server.
- Add the machines to collect from.