Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
3.2 KiB
🚀 Installation
frislit consists of the server (Node.js) and the CLI (a single Rust binary called frislit).
🐳 Docker
docker run -d \
--name frislit \
--restart always \
-p 127.0.0.1:8080:8080 \
-v frislit-data:/app/data \
-e FRISLIT_BASE_DOMAIN=frislit.example.com \
-e FRISLIT_PUBLIC_URL=https://frislit.example.com \
-e FRISLIT_TRUST_PROXY=true \
fristy/frislit:latest
Then open https://frislit.example.com/@frislit and follow the setup wizard.
Important
Mount
/app/data. That volume holds your admin account, the settings you change in the web UI and the generated CLI token - without it they are gone when the container is recreated.
📦 Docker Compose
services:
frislit:
image: fristy/frislit:latest
restart: always
ports:
- "127.0.0.1:8080:8080"
volumes:
- frislit-data:/app/data
environment:
FRISLIT_BASE_DOMAIN: frislit.example.com
FRISLIT_PUBLIC_URL: https://frislit.example.com
FRISLIT_TRUST_PROXY: "true"
volumes:
frislit-data:
Prefer a file? Mount a config.yml to /app/data/config.yml instead of setting environment variables (see
Configuration). Environment variables always win over the file.
Note
Both examples above put a proxy in front, so they bind to
127.0.0.1and setFRISLIT_TRUST_PROXY, which makes frislit believe theX-Forwarded-*headers it receives. frislit can hold its own certificate instead and bind 443 itself; see HTTPS.
Then open https://frislit.example.com/@frislit and run the setup wizard, or skip it by mounting a config.yml
with baseDomain and publicUrl already filled in. Accounts and everything you change in the web UI live in the
mounted volume (see Configuration).
⌨️ CLI
One line on Linux:
curl -fsSL https://git.fristy.net/fristy/frislit/raw/branch/main/packaging/install/install | sh
And on Windows:
irm https://git.fristy.net/fristy/frislit/raw/branch/main/packaging/install/install.ps1 | iex
The script downloads the latest release from this repository: it runs the MSI installer on Windows, and puts the plain
binary in /usr/local/bin (or ~/.local/bin) on Linux. macOS is not built by this fork; build from source with
cargo build --release --manifest-path cli/Cargo.toml.
Manual download
Every release on https://git.fristy.net/fristy/frislit/releases carries the CLI binaries
(frislit-linux-x64, frislit-linux-arm64, frislit-windows-x64.exe, frislit-windows-arm64.exe), the MSI
installers (frislit-x64.msi, frislit-arm64.msi) and the frislit-cli-*.deb / frislit-cli-*.rpm packages.
There is no apt or rpm repository.
Updating
frislit update
Replaces a plain binary in place, or downloads and runs the new installer on Windows. When frislit came from a package manager it says so and leaves updating to it. The CLI checks for a new release once a day and mentions it in the terminal UI, the desktop app shows an Update and restart button under Settings.
Then log in:
frislit login
Or open the desktop app with frislit gui and link the device there. frislit links register makes frislit://
links open in it.
Continue with the CLI guide.