Skip to main content

What's under the hood of this website

· 2 min read

A short tour of the stack behind andrewhorbach.com: what it is built with and where it runs.

The After Hours 3D room

Stack​

  • Docusaurus 3 + React 18 + TypeScript in a pnpm monorepo (sites/tech). Docs, blog and travel webtoons, in English and Russian.
  • Mermaid, KaTeX, giscus as Docusaurus plugins. Comments and reactions live in GitHub Discussions.
  • Three.js r160 draws the 3D engineer's room on the home page. It is not an npm dependency: the module is vendored next to the scene and embedded through an iframe, so the engine and the Web Audio lifecycle stay isolated from the articles.
  • Playwright for tests, Taskfile for local commands.

Infrastructure​

  • Cloudflare Pages serves the static build. Its configuration is managed with Terraform.
  • Cloudflare CDN serves room media from media.andrewhorbach.com; the origin is S3.
  • Pages Function /api/events receives room interactions (CV opened, clip played) and writes them to Cloudflare Analytics Engine, with no cookies.
  • Cloudflare Worker gives retired articles the right HTTP status.
  • GitHub Actions runs typecheck, build and Playwright on every PR.

Architecture​

Comments and reactions