Official website and documentation hub for Sphido—a minimal Node.js static site generator. The site is built with Sphido itself, styled with Tailwind CSS, and deployed to GitHub Pages.
Source code for the website sphido.cz.
Requirements
- Node.js (the CI workflow uses Node 25; any current LTS or recent release should work)
- pnpm — version is pinned in
packageManagerinsidepackage.json. With Node 16.13+, enable it via Corepack:corepack enablethencorepack preparewill pick up the declared version when you runpnpmin this repo.
Install dependencies
pnpm installProduction build
Generates HTML via index.js and writes compiled CSS to public/sphido.css.
pnpm run buildEquivalent individual steps:
pnpm run build:html # static pages into public/
pnpm run build:css # Tailwind: src/sphido.css → public/sphido.cssLocal development
Rebuild when content/ or src/ change, and serve public/:
pnpm run devServe an already-built site without watching:
pnpm run serveDeploy
The site is built in CI and deployed to GitHub Pages. For a manual deploy to the gh-pages branch (requires git remote setup):
pnpm run deploy