chore: restart the repository with a clean history
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s

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.
This commit is contained in:
fristy committed 2026-11-10 11:31:13 +03:00
commit 650807c1fb
438 files changed
+45070

No files matched your search

+56
View File
@@ -0,0 +1,56 @@
#!/bin/sh
set -eu
API="https://git.fristy.net/api/v1/repos/fristy/frislit/releases/latest"
BASE="https://git.fristy.net/fristy/frislit/releases/download"
say() { printf ' %s\n' "$*"; }
fail() { printf 'frislit: %s\n' "$*" >&2; exit 1; }
have() { command -v "$1" >/dev/null 2>&1; }
os=$(uname -s)
arch=$(uname -m)
case "$arch" in
x86_64|amd64) arch=x64 ;;
aarch64|arm64) arch=arm64 ;;
*) fail "unsupported architecture: $arch. frislit ships for x86-64 and ARM64." ;;
esac
[ "$os" = "Linux" ] || fail "unsupported operating system: $os. Build from source: https://git.fristy.net/fristy/frislit"
fetch() {
if have curl; then curl -fsSL "$1" -o "$2"
elif have wget; then wget -qO "$2" "$1"
else fail "curl or wget is required"
fi
}
if [ "$(id -u)" -eq 0 ]; then SUDO=""; elif have sudo; then SUDO="sudo"; else SUDO=""; fi
printf '\n frislit installer (%s %s)\n\n' "$os" "$arch"
tag=$(fetch "$API" /dev/stdout 2>/dev/null | sed -n 's/.*"tag_name":"\([^"]*\)".*/\1/p' | head -1)
[ -n "$tag" ] || fail "could not read the latest release from $API"
asset="frislit-linux-$arch"
say "Downloading $tag/$asset"
tmp=$(mktemp)
fetch "$BASE/$tag/$asset" "$tmp"
chmod +x "$tmp"
if [ -w /usr/local/bin ] || [ -n "$SUDO" ]; then
$SUDO install -m 755 "$tmp" /usr/local/bin/frislit
target=/usr/local/bin/frislit
else
mkdir -p "$HOME/.local/bin"
install -m 755 "$tmp" "$HOME/.local/bin/frislit"
target="$HOME/.local/bin/frislit"
case ":$PATH:" in *":$HOME/.local/bin:"*) ;; *) say "Add $HOME/.local/bin to your PATH" ;; esac
fi
rm -f "$tmp"
printf '\n Installed %s\n\n' "$target"
if have frislit; then say "$(frislit --version)"; else say "Open a new terminal to use frislit."; fi
say "Next: frislit login"
printf '\n'
+38
View File
@@ -0,0 +1,38 @@
$ErrorActionPreference = "Stop"
$Api = "https://git.fristy.net/api/v1/repos/fristy/frislit/releases/latest"
$arch = switch ($env:PROCESSOR_ARCHITECTURE) {
"AMD64" { "x64" }
"ARM64" { "arm64" }
default { Write-Error "unsupported architecture: $($env:PROCESSOR_ARCHITECTURE). frislit for Windows ships for x86-64 and ARM64."; exit 1 }
}
$release = Invoke-RestMethod -Uri $Api -UseBasicParsing
$base = "https://git.fristy.net/fristy/frislit/releases/download/$($release.tag_name)"
Write-Host ""
Write-Host " frislit installer (windows $arch)"
Write-Host ""
$msi = Join-Path $env:TEMP "frislit-$arch.msi"
Write-Host " Downloading frislit-$arch.msi ($($release.tag_name))"
Invoke-WebRequest -Uri "$base/frislit-$arch.msi" -OutFile $msi -UseBasicParsing
$setup = Start-Process msiexec.exe -ArgumentList "/i", "`"$msi`"", "/passive", "/norestart" -Wait -PassThru
Remove-Item $msi -ErrorAction SilentlyContinue
if ($setup.ExitCode -ne 0) {
Write-Host " The installer did not finish (exit code $($setup.ExitCode)), installing the plain binary instead"
$dir = Join-Path $env:LOCALAPPDATA "Programs\frislit"
New-Item -ItemType Directory -Force -Path $dir | Out-Null
Invoke-WebRequest -Uri "$base/frislit-windows-$arch.exe" -OutFile (Join-Path $dir "frislit.exe") -UseBasicParsing
$path = [Environment]::GetEnvironmentVariable("Path", "User")
if (($path -split ";") -notcontains $dir) {
[Environment]::SetEnvironmentVariable("Path", "$path;$dir", "User")
}
Write-Host " Installed $dir\frislit.exe"
}
Write-Host ""
Write-Host " Installed. Open a new terminal and run: frislit login"
Write-Host ""