COLOPHON / HOW THIS SITE IS BUILT

This website is
an engineering project too

None of the numbers below are typed by hand. They are counted from the repository on every build, so they change with the code.

Built
110Indexed pages
11Case studies
54Unit tests
22Browser checks
8Runtime dependencies

01 / PIPELINE

From source to browser

Content, media, and code move through separate pipelines and meet at build time as static pages.

  1. SOURCE

    Sources

    Essays are drafted and reviewed in Notion; only entries marked approved are synced.

    • Notion API
    • Typed TS data
    • Git history
  2. PIPELINE

    Build scripts

    Media scripts use sharp to produce desktop and mobile variants at fixed sizes with art-directed crops.

    • sharp
    • WebP variants
    • Art direction
  3. RENDER

    Server rendering

    The App Router statically generates every page per language; metadata, hreflang, and the sitemap share one source.

    • Next.js App Router
    • React Server Components
    • Static generation
  4. CLIENT

    Browser

    JavaScript ships only where interaction needs it; 3D canvases load on demand.

    • Interactive islands
    • Lazy three.js
    • Consent-gated analytics

02 / SERVER FIRST

Server by default

Components are Server Components unless they genuinely need state or browser APIs.

48 Server components · 66%

25 Client components · 34%

Counted from the "use client" directive at the top of each .tsx file in the repository.

03 / STACK

Stack, and why

Framework
Next.js · React16.2.6 · 19.2.6
Server Components keep most pages free of client JavaScript while allowing local interactivity.
Language
TypeScript5.9.3
Projects, essays, and media are typed, so a missing field in any language fails the build.
Styling
Tailwind CSS · CSS Modules4.2.1
Global design tokens drive light and dark themes; page styles stay scoped in modules.
Graphics
three.js · Canvas0.185.1
The knowledge graph and spatial scenes render in WebGL, dynamically imported to stay off the critical path.
Content
Notion API
Writing stays in a familiar tool; publishing goes through an approval status and a sync script.
Hosting
Vercel
Static pages are served from the CDN; Open Graph images are generated at build time.

04 / DECISIONS

A few engineering trade-offs

01 / I18N

Three languages, written—not machine-translated

Simplified Chinese, Traditional Chinese, and English are each written natively. Every route is generated per language and declares hreflang in both the page and the sitemap.

02 / PRIVACY

Analytics off by default

Visitor analytics and performance monitoring do not load until a visitor opts in, and query strings and fragments are stripped before anything is sent.

03 / MOTION

Motion defers to the OS

25 modules respond to “reduce motion”; the 3D canvas stops its render loop during pointer or keyboard interaction and when paused.

04 / VERIFY

Tests guard the content

54 node:test cases check routes, data shapes, and rendered output; 22 Playwright scripts verify layout and interaction in a real browser.

Want to read the code?

More of my code is on GitHub. If an implementation detail interests you, I’m happy to talk it through by email.

GitHub See projects →Get in touch →