Skip to main content
•
2 min read

Portfolio Nano

Portfolio Nano is this site. It is a deliberately small personal portfolio: Astro renders every page at build time, Caddy serves the result, and the browser gets HTML, a little CSS and no application framework.

The constraints were simple — pages that stay readable on a slow connection, content that works without JavaScript, and a build small enough to hold in your head.

What it does

  • Content as files — projects and work are Markdown and MDX with Zod-validated frontmatter; a wrong field fails the build instead of the page.
  • Markdown twins — every project and work page has a .md sibling, served when a client sends Accept: text/markdown, so agents and curl get clean text.
  • Social cards without a service — 1200×630 Open Graph images rendered at build time from SVG through Sharp.
  • Feeds and discovery — RSS for projects and work, plus a sitemap with real lastmod dates.
  • No tracking — no analytics, no cookies, no third-party scripts, and no access log at the reverse proxy.
  • Alternative networks — the same static tree is reachable over Tor, I2P and Yggdrasil.

Under the hood

  • Astro 7 with static output and MDX content collections
  • Tailwind CSS v4 through @tailwindcss/vite
  • Caddy for TLS, compression, security headers and content negotiation
  • A hash-based Content Security Policy generated at build time
  • Sharp for the Open Graph cards, Vitest for the unit tests

Source

The code is published read-only at public.omerduran.dev/omer/portfolio-nano: MIT for the code, CC BY-NC 4.0 for the writing.