Skip to content

Binary, script or go install

hytte is one static binary with everything embedded: the web app, fonts, icons and a pure-Go SQLite. It needs no runtime dependencies. cloudflared is optional (see Quick tunnels).

Terminal window
curl -fsSL https://raw.githubusercontent.com/hytte-chat/hytte/main/install.sh | sh

The script picks the right download for your OS and CPU (amd64, arm64, armv7), checks it against the release’s checksums.txt and, if cosign is installed, verifies the signature of checksums.txt too. It installs to /usr/local/bin (with sudo if needed), or to ~/.local/bin when neither root nor sudo is available.

Variable Meaning
HYTTE_VERSION A release tag such as v0.1.0 (default: the latest release)
HYTTE_INSTALL_DIR Where to put the binary

Prefer to read it first? It’s short:

Terminal window
curl -fsSLO https://raw.githubusercontent.com/hytte-chat/hytte/main/install.sh
less install.sh && sh install.sh

Every release has archives for:

OS amd64 arm64 armv7
Linux ✓ ✓ ✓
macOS ✓ ✓
Windows (.zip) ✓ ✓
FreeBSD ✓ ✓

…plus .deb and .rpm packages (Debian, RPM and systemd), checksums.txt and its signature.

Terminal window
sha256sum --ignore-missing -c checksums.txt

The checksums are signed with cosign keyless signing from the release workflow, so you can check that the file came from hytte’s GitHub Actions:

Terminal window
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp '^https://github.com/hytte-chat/hytte/' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
checksums.txt

With Go 1.26+:

Terminal window
go install hyttechat.com/hytte@latest # installs to $(go env GOPATH)/bin
go run hyttechat.com/hytte@latest -t # or build and run in one go
Terminal window
git clone https://github.com/hytte-chat/hytte && cd hytte
go build -ldflags "-X main.version=$(git describe --tags)"
Terminal window
hytte -v
hytte -h

Next: HTTPS, a tunnel or a reverse proxy, because the browser needs a secure address. Then create the first account with hytte -u NAME.