Landing page of portuus.de with service overview and live status
https://portuus.de
- Astro 30.8%
- Nix 30.6%
- CSS 20%
- TypeScript 17.9%
- JavaScript 0.7%
| .forgejo | ||
| nix | ||
| public | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| astro.config.mjs | ||
| flake.lock | ||
| flake.nix | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
portuus-website
Landing page of portuus.de, built with Astro.
Development
nix develop
npm install
npm run dev
Services, projects and game servers live in src/data/services.ts, contact details in src/data/contact.ts.
Status
The NixOS module nixosModules.status checks systemd units or URLs every minute and serves the result as /status.json. The page loads it and shows an Online/Offline badge per card. Check ids must match the id fields in src/data/services.ts.
Build
nix build
After changing dependencies, update npmDepsHash in nix/package.nix:
nix run nixpkgs#prefetch-npm-deps -- package-lock.json
The site is deployed by the portuus NixOS config via the portuus-website flake input.