Skip to content
Stack&Skill

Loading search…

Colophon

How this site is built

A publication for engineers should be able to show its own work. Here is the stack, the pipeline an article goes through, and the rules we hold ourselves to.

The stack

stack.md
framework
Next.js 16 (App Router), React 19, TypeScript# pages render on the server; most need no JavaScript to read
hosting
Vercel, functions in Frankfurt (fra1)# next to the database, close to European readers
database
PostgreSQL on Neon (Frankfurt), Prisma 7# one source of truth, schema changes as migrations
accounts
Better Auth: email and password, GitHub, Google# sessions in our own database
articles
Markdown → unified (remark, rehype), sanitized# no MDX: an article can never run code
code
Shiki through rehype-pretty-code, on the server# highlighted HTML, no highlighter shipped to you
math
KaTeX, on the server# formulas arrive as HTML and MathML
styles
Tailwind CSS 4, light and dark themes# one set of design tokens, AA contrast in both
fonts
Newsreader, IBM Plex Sans, JetBrains Mono# self-hosted by next/font: no font requests to Google
email
Resend# the weekly digest and account email, opt-in only
tests
Vitest: unit tests and a real PostgreSQL suite# lint, types, and tests pass before anything ships

The rules

  1. Reading needs nothing

    Articles are HTML from the server. Highlighting, math, sidenotes, and the incident timeline are done before the page reaches you, and the sidenotes open with a checkbox, not a script. JavaScript adds likes, bookmarks, and search; the text never waits for it.

  2. Static first, fresh enough

    Pages are cached at the edge and rebuilt when something is published, or at most an hour later. A reader's request rarely touches the database.

  3. Nothing executable in an article

    Every article goes through GitHub's sanitization rules: scripts, event handlers, iframes, inline styles, and javascript: links are removed. A strict Content-Security-Policy limits scripts to this site, Vercel's analytics, and the Cloudflare check on sign-up forms.

  4. Yours to take elsewhere

    Every article is available as Markdown (add .md to its address). The RSS feed carries the full text of recent articles, /llms.txt indexes the site for tools, and printing an article gives you clean pages with every link spelled out.

  5. Keyboard and screen readers

    Press ? for shortcuts (j/k move through lists, / searches). Every control has a visible focus ring and a name, and motion stops when your system asks it to.

  6. Measured, in public

    The footer shows what the page you're on cost to load, measured by your own browser: bytes, requests, and seconds. If a change makes it heavier, you'll see it there before we do.

Want to use these blocks in your own article? Start at Write for us.

Keyboard shortcuts

Reading

Next article (older)
j
Previous article (newer)
k

Search

Search articles
/
Command palette (⌘ K on a Mac)
Ctrl+K

Go to

Home
gthenh
All articles
gthena
Topics
gthent
Learning paths
gthenp
Reading list
gthenr
Leaderboard
gthenl

Help

Show these shortcuts
?