johnnie harmernotes

Building this site

#meta #astro #aws

This site is a digital garden: notes, projects and experiments, published while they’re still growing. Here’s how it’s built.

The look

I wanted it to feel like a terminal workspace (tmux, htop, Midnight Commander) rather than a shell prompt. So the page is a set of boxed panes with their titles cut into the border, an htop-style meter in the vitals pane, and a nav bar along the bottom.

Press 1 to 4 to jump between sections, h to go home, or ? to see every key. It all works with a mouse or touch too.

The font is IBM Plex Mono throughout. The palette is called Oxblood: a near-black red background, warm off-white text, coral for anything you can act on and brass for meters. Every text colour passes WCAG AA contrast.

The stack

Piece What I used
Site Astro, static output, markdown in the repo
Hosting Private S3 bucket behind CloudFront
Region eu-west-2 (London)
DNS, TLS Route 53 and an ACM certificate
Infra Terraform, applied from a reviewed plan
Deploys GitLab CI

Notes like this one are markdown files. A merge request builds the site to check it; merging to main publishes it.

Deploys without keys

The pipeline never holds AWS keys. GitLab gives each job a short-lived signed token, and AWS swaps that token for one-hour credentials on a single role. The role only accepts tokens from this project’s main branch, and it can only write to the site’s bucket and clear the CDN cache.

What’s next

  • Projects and an About page.
  • A live weather pane fed by my own weather station.
  • A Lab for experiments, starting with a full weather view.

You can follow along with the RSS feed.

keys

h
home
1
notes
2
projects
3
lab
4
about
?
this list
esc
close