/stack
The website's parts list.
Everything involved in making and serving this site, agents included. The short version: pages are static first, changes are agent-assisted (the expensive autocomplete is supervised), and a deploy is a directory swap.
The page you get
The browser gets static HTML first. JavaScript adds the theme toggle, route transitions, and decorative canvases; every page reads fine with it switched off.
There's no UI framework in the browser (React already packed its shit), only small vanilla controllers.
- Astro(opens in new tab) (a framework that renders components to static HTML)7.4
Builds every route and component into static HTML. The content survives without JavaScript, while small controllers opt into interaction where it earns the bytes.
- TypeScript(opens in new tab) (JavaScript with static type checking)7.1 beta via tsrs
Types the browser controllers, content helpers, and Astro config. tsrs, a Rust port of the TypeScript 7 compiler, checks it against Astro's strictest preset; there's no React or JSX runtime between the DOM and the canvas code.
- Tailwind CSS(opens in new tab) (a build-time utility CSS compiler)4.3
Compiles the layout utilities around the shared design tokens. The identity lives in perceptual color variables and local component CSS; there's no prebuilt component theme underneath it.
- Archivo + Martian Mono(opens in new tab) (font files containing a continuous range of weights)variable fonts
Archivo carries prose and headings; Martian Mono handles metadata, code, and chrome. Both are bundled locally through Fontsource, so rendering doesn't wait for a third-party font host.
- browser APIs
Draw the survey lattice and hero glyph, and animate route and theme changes. With reduced motion set, the canvases don't start and the theme toggle skips its transition.
Words, diagrams, and artifacts
Notes and project records stay in the repository. The build turns them into ordinary pages and renders the diagrams, highlighted code, and share images before deployment.
- MDX(opens in new tab) (Markdown that can embed components)astro integration 8.1
Stores notes and project write-ups with typed Astro collections. Content remains diffable text; components are reserved for annotations and shared presentation.
- unified + remark + rehype(opens in new tab) (syntax-tree tools for parsing and transforming content)build pipeline
A remark plugin estimates reading time, while rehype plugins add heading links, label external links, and render diagrams and code blocks. All of it runs during the build.
- Shiki(opens in new tab) (a syntax highlighter powered by editor grammar files)4.6
Highlights code at build time through rehype-pretty-code, with github-light and github-dark-default as the two themes. CSS picks the active palette when you switch themes.
- Mermaid(opens in new tab) (text syntax that compiles into diagrams)build-time SVG
Turns authored diagrams into inline SVG during the build. There's no Mermaid runtime in the browser; the finished SVG picks up the page colors automatically.
- Playwright(opens in new tab) (a browser automation library)1.65
Drives headless Chromium at build time to render Mermaid diagrams and the Open Graph cards, then again in test:build to check the built HTML with JavaScript off. The production page never downloads it.
The workshop
Human and agent edits land in the same Git history and go through the same checks and review. Agents get tools and context.
- OpenAI Codex(opens in new tab) (yes, this page is self-reporting)coding agent
Investigates the repository, implements changes, and runs the local verification loop.
- coding agent
Handles implementation, review, and hard technical questions. A second model is useful for disagreement.
- Bun(opens in new tab) (a JavaScript runtime, package manager, and script runner)1.4.4
Installs dependencies from the lockfile and runs the repository scripts. The post-build steps run on Node, because Bun hung launching Chromium on Windows.
- Vite+(opens in new tab) (a toolchain for linting, formatting, testing, and Vite builds)1.6
Lints, formats, type-checks the TypeScript files, and runs the tests. bun run check chains it with tsrs, Knip, and Prettier, and agent changes pass the same command.
- source checks
Knip finds unused files, exports, and dependencies; Prettier formats the .astro templates that Vite+ skips.
- Git + Forgejo(opens in new tab) (version control plus self-hosted Git collaboration software)version control
Forgejo at git.kleb.sh hosts the repository and its pull requests. Agent-written code gets no special status: it's an ordinary diff in an ordinary pull request.
From commit to stoewer.one
The deployed site is a directory of files. Each release is built in full, copied as a unit, and switched with one symlink.
- HTML + assets
Emits one HTML file per route, content-hashed assets under /_astro/, the notes RSS feed, sitemap files, and the 404 page. There's no database or server process to keep alive.
- Brotli + gzip(opens in new tab) (HTTP content-compression formats)compression
precompress.mjs writes quality-11 .br sidecars at build time whenever they save space. nginx serves them once ngx_brotli is installed and brotli_static on is uncommented in the vhost; until then, and for clients without Brotli, it gzips responses on the fly.
- nginx(opens in new tab) (a web server)static origin
Terminates TLS, redirects the old domains to stoewer.one, caches hashed assets as immutable, and maps clean routes to their HTML files. Unknown paths return the real 404 page instead of falling through to a single-page-app catch-all.
- Atomic releasesfilesystem deployment
Copy each complete build into a timestamped release directory and repoint the current symlink. Rollback points current at the previous release and reloads nginx.