Skip to content

Selfhost 0.1.2

Choose a tag to compare

@veryCrunchy veryCrunchy released this 26 Sep 07:05
· 1 commit to main since this release

Selfhost 0.1.2

This release adds configurable dashboard listener addresses for reverse proxies on other hosts, VMs and LXCs.

Dashboard binding

  • selfhost serve --bind IP --port 8372 selects a listener address. The default remains 127.0.0.1.
  • selfhost dashboard install --bind IP preserves the listener in the persistent service. Dashboard update restarts retain it too.
  • Non-loopback listeners require a configured HTTPS public address, identity provider and explicitly authorized administrators before startup.
  • Local recovery and local sessions now check the actual TCP peer. Forged localhost or forwarding headers do not grant local access.
  • The dashboard shows its listener address, and domain instructions use the selected backend IP.

Configure and verify identity login locally first. Use a private or VPN address for a remote proxy, restrict backend traffic to the proxy, preserve the public Host header and encrypt the connection between servers. 0.0.0.0 listens on all IPv4 interfaces; it does not configure a firewall or enable TLS on the backend.

selfhost serve --bind 10.20.0.10 --port 8372

Replace the example IP with an address assigned to your Selfhost machine. A private-IP listener prints the public sign-in address and local recovery instructions instead of an unusable localhost link.

Install or update

npx selfhost@0.1.2 --help
pnpm dlx selfhost@0.1.2 --help
cargo install selfhost --locked --version 0.1.2

Direct installation without npm or Cargo:

curl --proto '=https' --tlsv1.2 -fsSL https://github.com/Obiente/selfhost/releases/download/v0.1.2/install.sh | sh -s -- --version 0.1.2

Windows PowerShell:

& ([scriptblock]::Create((Invoke-RestMethod https://github.com/Obiente/selfhost/releases/download/v0.1.2/install.ps1))) -Version 0.1.2

To replace a direct installation, stop its dashboard first and add --force or PowerShell -Force. The installer verifies checksums and keeps the previous binary as a backup. Select the same custom installation directory if you used one. Automatic staged activation through selfhost update remains specific to official Cargo installations.

Native downloads support Windows, Linux and macOS on x64 and ARM64. Verify them against BINARY-SHA256SUMS; SHA256SUMS covers the npm and Cargo archives. Native binaries are not yet signed or notarized.

Read the dashboard hosting guide and installation guide.