The Bugnet web pages: the session page, where a person reads what happened in a sandbox run from a link and a key, and the bugnet.sh site.
packages/brand: design tokens (tokens.css), the self-hosted fonts, the logo and icon, and the contrast check every colour pair must pass.packages/session-page: the session page: it reads a session link and its key, asks the sessions route, and shows the running or ended session with its map and commands.pnpm devbuilds it and serves it with a fake sessions route, printing one link per sample scenario.packages/site: the bugnet.sh site, a Next.js static export toout/, without/headers.txtholding each page's security headers.pnpm dev:siteruns it; start the fake stats feed withpnpm --filter @bugnet/site exec tsx scripts/fake-stats.ts(port 8461). Its pages are/,/cloud,/docs,/stats,/pitch,/termsand/privacy./cloudshows one card per server the router can start a package on, from the feed'sservers[]./docsis one Markdown file per page incontent/docs, listed inlib/content/docs.ts; the legal text is incontent/legal./pitchis the pitch deck (components/pitch), noindex and not in the sitemap. Prices come only from the live/api/statsfeed; until it answers, skeletons hold their place.- The docs pipeline: before
next build,pnpm buildwrites the search index (public/search-index.json),/llms.txt,/llms-full.txtand one/docs/<page>.mdper page (scripts/llms.ts) and the share images;scripts/postbuild.tsthen writes each page's CSP. The landing's install lines are read fromcontent/docs/install.md. - Deploying bugnet.sh: the Caddy config, systemd unit and deploy script live in the private
bugnet-sh/internalrepository, underdeploy/website.
pnpm install
pnpm test # vitest
pnpm typecheck # tsc in every package
pnpm lint # eslint and prettier --check
pnpm format # prettier --write
pnpm contrast # WCAG contrast of every text/surface token pair
pnpm dev # session page dev server
pnpm dev:site # site dev server; /api/stats goes to 127.0.0.1:8461
pnpm build # build every packageRebuild the fonts with packages/brand/scripts/fonts.sh; sources and licenses are in
packages/brand/fonts/SOURCES.md.
In the main Bugnet repository: the session page in docs/website/session-page-ui.md and
docs/website/session-page.md; the site and stats page in docs/website/site-and-stats.md; the
landing in docs/website/landing-v2.md; the docs' look, Markdown syntax and build rules in
docs/website/docs-v3.md; the decisions, /cloud and live prices among them, in
docs/founder-decisions/website.md.