◌ freeness

Publishing

The site, docs and installer are versioned in this repository. GitHub Pages serves the static output, including public installer downloads. GitHub releases retain the same build artifacts. The repository can remain private on a GitHub plan that supports Pages for private repositories.

Preview

npm ci --ignore-scripts
npm run site:build
python3 -m http.server 8788 --directory dist/site

Edit site/index.html and site/style.css for the landing page, docs/*.md for documentation, and scripts/install.sh for /install. The build copies these explicitly; repository files, configuration keys, logs and local caches are never deployed.

Release

Update the matching versions in Cargo.toml, package.json, packages/tui/package.json and the lockfiles. Commit, run verification, then push a vX.Y.Z tag. The Publish workflow builds macOS/Linux archives for arm64/x86-64, includes the compiled TUI and locked production dependencies, generates SHA-256 manifests and uploads a draft release. It publishes only after all uploads succeed. Its successful completion triggers the Site workflow, which publishes those downloads with the docs and landing page.

The installer verifies every archive before extraction. It rejects path traversal, links and special files, and refuses to overwrite an unrelated launcher. Node bootstrap downloads are pinned by version and checksum. Updates preserve provider configuration and sessions.

The Site workflow also deploys changes from main, retaining and verifying all stable release archives so pinned installs and cached manifests continue to work. It skips deployment before the first release. Both workflows support manual dispatch. Dispatch Publish on main to validate all four packages without creating a release; select a version tag to publish. Existing releases are never overwritten.

Pages setup

In repository Settings → Pages, set Source to GitHub Actions and Custom domain to freeness.dev. The domain also lives in site/CNAME. On Cloudflare, use DNS-only apex A records for GitHub Pages: 185.199.108.153, 185.199.109.153, 185.199.110.153, 185.199.111.153. Add a DNS-only CNAME for www pointing directly to xprilion.github.io. GitHub redirects www.freeness.dev to the primary domain and provisions a certificate for both names. Enable Enforce HTTPS once the certificate is ready.

The workflows use the built-in GITHUB_TOKEN with job-specific permissions. No Cloudflare token or model API key is needed. The github-pages deployment environment should allow deployment from main. Verify /, /docs/, /install, /releases/latest.json and an installed archive after publishing. Source files and local configuration are excluded from the Pages artifact; only dist/site is uploaded.