Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FrostLinux

Linux gaming guides for gacha games — Proton, Heroic, Steam and community launchers.

Built with Astro + Starlight.

Branches

Branch Purpose
main Full site — every tracked game, the Nadare page and the gameplay page.
launch Launch-ready subset — only guides flagged launch = true, without the Nadare or gameplay pages.

main deploys to GitHub Pages via .github/workflows/deploy.yml.

git checkout launch   # switch to the launch variant

Quick start

npm ci
npm run dev     # http://localhost:4321
npm run build   # -> dist/
npm run preview

Adding a game guide

Create src/content/docs/guides/<slug>.md. Front matter drives the compatibility table on /games/ and the homepage grid — a guide only shows up there when game is set.

Field Notes
game Display name. Required for the entry to appear in the game lists.
status works, untested, drafted-from-video, needs-fix or broken.
launcher steam, heroic, faugus, lutris, twintail, heroic-or-faugus or "".
onSteam Whether the game is on Steam.
image Card image (16:9), relative to public/ (e.g. /images/nikke/thumb.webp).
heroImage Optional wide banner shown at the top of the guide page (e.g. /images/nikke/hero.webp).
steamAppId Steam app id — enables the ProtonDB button, the "ProtonDB says it works" badge and the scripts/fetch-images.py art pull.
nadare Shows the Nadare badge/callout.
draft true hides the page from production builds.

wip: true keeps an unfinished page out of the A–Z guide menu and the completed cards. It remains available under “Guides in preparation”. Pair it with noindex: true and pagefind: false. Compatibility (status) and written-guide completeness (wip) are independent. Keep historical instructions in retired-guides/, outside the published content tree, and redirect old URLs.

Set reviewed to the actual editorial review date. Record lastTested, testedDistro and testedRunner only when supported by real test evidence; do not infer a test date from a git commit or a wording change.

Launch checks

npm run test
npm run check
npm run build:public

The public build uses https://frostlinuxdev.github.io and links to the dedicated site at https://nadare.app. Ensure that site is publicly reachable before publishing. The LAN Docker compose overrides both origins with the previews. check-launch.mjs --public rejects LAN preview URLs in generated public HTML. The current release is looked up at build time and again when the AppImage link is clicked. A direct HTML link to the build's known version works without JavaScript or when the API is unavailable; its version is displayed explicitly. Update src/data/nadare-release.json after a new release for offline builds. Do not download release assets to validate the links; use release API metadata.

The launch branch above is historical; current launch fixes are based on main. Pushing main to GitHub publishes it; local commits and preview rebuilds do not authorise that push.

Images

Cards are 16:9 WebP. Two helpers fetch art (both idempotent; --force to overwrite):

  • scripts/fetch-images.py <image-dir> <steam-appid> [--name "Game Name"] — official art. Prefers SteamGridDB (public endpoint, no key) for a curated 1920x620 hero plus a 920x430 card, then falls back to Steam's library_hero / background_raw. Pass none as the appid for games that are not on Steam, and --no-sgdb to use Steam art only. Writes hero.webp (banner) and thumb.webp (16:9 card).
  • scripts/fetch-thumbs.py <slug> <youtube-id> — YouTube thumbnail fallback for games that are not on Steam.

Adding news

Create src/content/docs/news/<slug>.md:

---
title: "Arknights: Endfield is now on Steam"
description: "One-line summary shown on the news list."
date: 2026-10-16
draft: true
---

Body goes here.

It appears automatically on /news/, newest first. Don't set game: on news posts.

Site configuration

Site-wide links (Discord, GitHub, YouTube, Nadare) live in src/site.config.mjs. Legacy URL redirects live in redirects.json.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages