// how heysam.org works

About this site

A small site, built the way I like to build bigger ones: compiled, boring to run and inexpensive.

Right now

$ heysam status

version   v2.10.1 (6fea424)
built     2026-11-06 21:58 UTC
uptime    0s
memory    19.1 MB of 209.8 MB (peak 19.1 MB)
binary    26.6 MB
region    dfw (Dallas)
machine   28709d4f662918
time      2026-11-12 19:40:38 UTC

Uptime starts when the machine wakes up for a visitor, so a short uptime usually means you woke it.

The stack

  • Written in Rust with Loco, a Rails-like framework, and rendered on the server with Tera templates.
  • Styles, scripts, fonts and images are embedded in the binary, each with a hash of its contents in its URL, so browsers cache them for a year and fetch only what changed.
  • SQLite for storage, on a persistent volume. Messages from the contact form are saved there, then emailed through Resend.
  • Styled error pages for every status code. Try /coffee.
  • Terminal friendly: curl heysam.org prints my résumé.

Where it runs

  • One shared-CPU Fly.io machine with 256 MB of memory in Dallas, close to home in Austin.
  • The machine sleeps when nobody's visiting and wakes up on the next request.
  • Page views are counted with Umami, which uses no cookies and doesn't track you across sites. It also counts a few clicks: games started and won, résumé downloads, and links to other sites.