Source of the Open Firewall Manager website, built with Astro and Starlight and hosted on GitHub Pages at https://ofmproject.org.
Requires Node.js 22 or later.
npm install # creates package-lock.json on first run; commit it
npm run dev # http://localhost:4321
npm run build # static output in dist/
npm run preview # serve the built site locally
.
├── .github/workflows/deploy.yml # build and deploy to GitHub Pages
├── public/
│ ├── CNAME # custom domain
│ └── favicon.svg # adapts to light and dark mode
├── src/
│ ├── assets/ # logo (light and dark)
│ ├── content/docs/index.mdx # the one-pager
│ └── styles/theme.css # brand colours and fonts
└── astro.config.mjs # site settings
astro.config.mjs and can be enabled again once documentation pages are added.src/styles/theme.css only.Every push to main builds and deploys the site through GitHub Actions. In the repository settings under Pages, the source must be set to GitHub Actions.