NixLabConnectionconnecting
ProjectsProject
web /

dreamstop.openfp.net

publicguest

dreamstop.openfp.net, the website and user manual of dreamstop, a language for continuous disambiguation

git clone git@nixlab.openfp.net:web/dreamstop.openfp.net.git
19f5b440f892495e9417f13eefeecef62e883230/BUILD.md

Building dreamstop.openfp.net

The page's package lives in dreamstop-openfp-net-web/, with the flake, stylesheet, images, manual and annotated prose at the top level.

Build, serve and check

Run these in the repository root.

nix build

builds the served directory into result/: index.html, the client bundle site.js and its .gz, the kit's static files and fonts under design-kit/, dreamstop.css, codepoints.css, dreamstop.svg, og.png, and the user manual as manual/dreamstop.pdf. Nothing built is committed.

nix build .#manual

builds only the manual. Its source is manual/dreamstop.typ and the files beside it, in Typst, rendered with the design kit's theme by typst-doc. The accent colour is the one accent setting in manual/style.typ. The build also generates codepoints.typ from the table of layer colours that codepoints.css comes from. It colours every code in the manual and lists the layers for the manual's reference.

The manual is written in Typst, not Inkwell, by the owner's ruling of 2026-12-06 that it be built with the design kit's Typst theme, as the Vortex manual is.

nix run .#serve

serves that directory on http://127.0.0.1:8000/.

nix flake check

runs the kit's checks on the page (render, CSP, links, reading without JavaScript, hydrate, bundle, card, pins and generated files), with the page's own expected links, text and preview tags. It also runs these:

  • manual-says checks that the manual PDF holds its reference of the codes.
  • card-copy checks that the card says the tagline and shows dreamstop.svg. The package must build under werrorwolf, and the Nix must be formatted.

packages.<system>.default, design-kit-miso, manual and dreamstop-openfp-net-web too.

nix develop gives a shell with cabal and node for the package.

Regenerating the Horizon files

horizon.vx declares what the page needs beyond the horizon-javascript package set for GHC 10. cabal.project, horizon.lock and nix/horizon/ are generated from it by horizon-gen-nix 0.35.0.0 and are not edited by hand. After changing horizon.vx or the package's .cabal file, run this in the repository root:

nix run 'git+https://nixlab.openfp.net/horizon/horizon-gen-nix?ref=refs/tags/0.35.0.0' -- horizon.vx