Live since

This Website

My developer portfolio and blog. Built with the Astro framework and deployed to a self-managed Hetzner VPS. The entry point to all my web content.

This Website on a phone
What it does

What the Site Does

Blog post titled Responsive Hexagonal Grids with a box listing the three posts in its series, marked Now reading
01

Posts That Come in Series

Longer topics are split into series. Each post shows where it sits, and the build fails if a published series skips a part.

The Scratch app card on the apps page with its description and a screenshot
02

Every App in One Place

Each app gets a card with a screenshot, a link to the live site, and a link to its blog post when one is published.

Career page listing technologies grouped as fluent and proficient
03

Skills Grouped by Fluency

Technologies are grouped by how well I know them, from tools I use daily to ones I'm still exploring.

By the numbers

At a Glance

9+posts
6+apps
7+sites behind one NGINX
1VPS
How it's built

From Markdown to alexandershank.com

  1. Markdown and MDXValidate Content Collections
  2. Astro BuildStatic HTML, Optimized Images
  3. rsyncCopy to VPS
  4. NGINXPodman, Let's Encrypt

Built with

AstroTypeScriptMDXNGINXPodmanLet's EncryptUmamiPostgreSQL
Key takeaway

You don't need a complex cloud environment to serve quality content and feature-rich web apps.

Build Notes

Challenges, learnings, and what's next

Challenges

  • Each new subdomain requires expanding the Let's Encrypt certificate with all existing domains explicitly listed. There is no true wildcard cert with the HTTP-01 (webroot) challenge.
  • Early deploys used rsync to replace nginx.conf, which gave the file a new inode. The NGINX container's bind mount kept reading the old file until a full restart. Deploys now write through the existing inode, so a plain reload picks up the change.

Learnings

  • Astro's content collections, schema validation, and draft system make it straightforward to manage the blog content lifecycle without a CMS.
  • A systemd timer is a clean, reliable alternative to cron for recurring tasks like certificate renewal.
  • Self-hosting analytics took one container, a Postgres database, and an NGINX proxy block.
  • Many simple bots do not run JavaScript, so JavaScript analytics filters out a portion of bot traffic.
  • One Postgres instance serves Umami and two Scratch apps, each with its own role and database.

Next

  • Set up a CI/CD pipeline to automate builds and deployments instead of running deployment scripts from my local machine.
  • Explore the DNS-01 Let's Encrypt challenge to get a true wildcard certificate, eliminating the need to explicitly expand the cert for each new subdomain.
  • Explore high availability setups, if I ever need them.
Keep exploring

More Apps