small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
README.md

albedo.sh #

The site project publishes Albedo's landing page and builds its user documentation as static HTML.

  • index.html is the landing page with local assets and fonts.
  • build-docs.mjs reads the repository's docs, checks sidebar coverage, and writes site/docs with search assets and the API reference.
  • package.json defines npm run docs to build the documentation and npm run dev to preview the site through vite.config.js.

Build and deployment #

Run npm ci and npm run docs in this directory before deployment. Every page in the repository's docs directory needs an entry in the builder's sidebar. The build fails when a page has none.

npm run dev serves the site and /docs/, rebuilds documentation on edits, and shows build failures in Vite's overlay. docs-lake.js draws the documentation background. The pages follow the system's light or dark theme. The landing page uses Paper Mono under the OFL and still images when JavaScript is off.

The docs workflow does this on every push to main: it runs test/docs_drift.py, which checks the links, commands, flags, defaults and paths the pages name against the tree, builds the site, and deploys it when the repository has a WISPCTL_APP_PASSWORD secret. To deploy by hand, run wispctl deploy okami.mom --path site --site albedo --yes from the repository root. .wispignore keeps the sources and node_modules out of the deploy. The albedo.sh domain points at the albedo site.