digitalitem went from “no site” to “bilingual site with a working signup backend” in a day, on a $5-class VPS, with an entirely open-source stack. This post is the full blueprint — opinionated on purpose, because at the validation stage the best stack is the one that’s already running.

The stack

  • Hugo (Go) for the site itself — a single binary that turns Markdown into a fast static site. No database, no runtime, nothing to patch at midnight.
  • PaperMod, a popular MIT-licensed theme — clean typography, dark mode, and built-in language switching.
  • One small Go API (~150 lines, standard library only) for the single dynamic feature: newsletter signups and live counters, stored in a plain JSON-lines file you can back up by copying it.
  • nginx in front: serves the static files, proxies /api/* to Go, picks your language from Accept-Language.
  • systemd keeps the API alive. That’s the whole infrastructure.

Bilingual as a first-class citizen

i18n is done by content folders: content/en/… and content/zh/…. Every page has a mirrored counterpart, the language switcher is automatic, and the root URL redirects by browser language. Writing a bilingual post means writing two Markdown files — no translation framework, no key files.

Curated “picks” are just Markdown too: one file per link with a short note, and embeds for X posts, Facebook posts, YouTube or Bilibili are one shortcode away.

What it costs to run

Memory: the whole thing idles at a few dozen MB. Ops burden: near zero — static files don’t crash. Money: whatever the VPS already costs. The expensive resource at this stage was never hosting; it’s content, and this stack keeps everything else out of the way.

The real scale now (2026-10)

Three months in, the numbers:

MetricValue
Pages41 articles × 2 languages + 108 skills × 2 languages
Sitemap URLs289 per language
Build time~1 second (Hugo incremental)
Static size~20 MB (108 OG images + 77 skill zips)
Runtimestatic site + one Go service (subscription API)

It hasn’t grown more complex — that’s evidence the choice was right.

Three traps we hit

  1. Caching: JS changes didn’t apply because the CDN served cached files. Now every static asset uses fingerprinted names.
  2. Metadata quotes: a skill description from GitHub contained double quotes; pasting it into YAML broke the whole build. All values are escaped now.
  3. Rootless Docker permissions: in rootless mode, container uids map differently, so certs and static files must be owned by the mapped uid or nginx can’t read them.

When to upgrade

Specific triggers, not vibes: when adding posts through files becomes the bottleneck → add a CMS (Decap, or move to Ghost). When signups cross the hundreds → add double opt-in and a real email service. When traffic saturates the box → put a CDN in front, which is nearly free for a static site. Until then, every hour spent on infrastructure is an hour not spent finding out if anyone cares.

At the validation stage, boring technology isn’t a compromise. It’s the strategy.

See where this stack goes

Subscribe for the next build notes — and the post where we admit what broke first.