Skip to content
Sozhan Natarajan
← Projects
Active Started Nov 2026

This website

A static portfolio and blog built with Astro and deployed to GitHub Pages by GitHub Actions. Content is typed, and it has full-text search, diagrams and generated social cards.

Problem
Earlier versions of this site were placeholder content or carried a heavy toolchain, and the live site had ended up blank.
Outcome
A content-first static site. Adding a post, note or case study means adding one Markdown file, and every pull request is checked by schema validation, a type check, a build and an internal link check.
Stack
  • Astro
  • TypeScript
  • Tailwind CSS
  • MDX
  • Pagefind
  • Mermaid
  • satori
  • GitHub Actions

Architecture

flowchart TB
  content["Markdown / MDX<br/>writing, notes, projects"] --> schema
  subgraph build["astro build"]
    direction TB
    schema[Zod schema checks] --> pages[Static HTML]
    pages --> extras["RSS, sitemap, llms.txt,<br/>OG images (satori)"]
  end
  extras --> pf["pagefind --site dist<br/>(search index)"] --> links[Internal link check] --> deploy["GitHub Pages<br/>(Actions artifact)"]

Decisions

The repository documents every significant decision as an architecture decision record. In short:

  • Astro, from the minimal official starter. Astro gives full layout control for case studies like this one and ships zero JavaScript by default. Starting from the official starter instead of a theme keeps the dependency tree small.
  • Typed content. Projects must declare a problem, an outcome and a stack, so every case study answers the same questions. A missing field fails the build.
  • No third-party requests. Fonts are self-hosted. Search (Pagefind) and diagrams (Mermaid) run in the browser from files on this site, and there is no analytics or tracking.
  • Static and boring to operate. There is no server, database or secrets. CI builds every pull request and deploys main to GitHub Pages.