Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

folio-frontend

folio Book Study Companion web SPA (Vite/React static build).

Repository

The web frontend for folio, the Book Study Companion. This package is the compiled single-page application: npm run build (tsc -b && vite build) emits the static dist/ assets, which are installed verbatim into $out.

The build is fully offline and hermetic. JavaScript dependencies are pinned by the committed package-lock.json (surfaced to Nix through npmDepsHash), and the TypeScript API bindings (schema.d.ts / openapi.json) are committed in the source tree, so the SPA compiles without contacting the folio backend.

The resulting static bundle is meant to be served by the folio backend: the NixOS folio module points FOLIO_STATIC_DIR at this derivation, and the backend serves it under /folio. It is also what the folio-desktop Electron shell loads.