Skip to content
slopscale
Esc
↑↓navigate↵open⌘Jpreview
On this page

Build from source

Build slopscale from source with Go, a C compiler for SQLite and Bun for the admin console, or through the Nix flake, with steps for OpenBSD.

Slopscale is built with a current Go, a C compiler (the SQLite driver is C compiled through cgo) and Bun for the admin console. make build builds the server; run make web first so the binary embeds the console and its SSH terminal, or the binary serves a page saying the console is missing. The Nix flake (nix develop) provides the whole toolchain at the versions CI uses. See Contributing for more information.

Release binaries are published for Linux only (amd64, arm64 and armv7, statically linked); macOS and FreeBSD are built from source this way or through the Nix flake.

OpenBSD

Install from source

# Install prerequisites: Go, git, GNU make and a C compiler (clang ships
# with the base system; the SQLite driver is C compiled through cgo)
pkg_add go git gmake

git clone https://github.com/aislopware/slopscale.git

cd slopscale

# optionally checkout a release
# option a. you can find official release at https://github.com/aislopware/slopscale/releases/latest
# option b. get latest tag, this may be a beta release
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)

git checkout $latestTag

# gmake build passes the compiler flags from sqlite.cflags that the server expects
gmake build

# make it executable
chmod a+x slopscale

# copy it to /usr/local/sbin
cp slopscale /usr/local/sbin

Last updated on September 27, 2026

Was this page helpful?