Skip to main content

Building a Portfolio Site That Actually Ships

How a weekend deadline, boring tech choices, and a Cloudflare Tunnel turned a side project into something real

Published 7 min readMarkdown
Building a Portfolio Site That Actually Ships

Building a Portfolio Site That Actually Ships

Every engineer I know has abandoned at least one portfolio site. You spin up a new project, spend three hours picking fonts, build half a landing page, and then... it sits there. You tell yourself you'll finish it next weekend. You won't.

I've done this multiple times. The difference this time is that qmaki.dev actually exists on the internet, with real content, deployed on Vercel, and I'm writing this post from it. Here's what changed.

The Graveyard Problem

I've had portfolio sites in various states of decay since I started in tech. The pattern was always the same: start ambitious, get bogged down in design decisions, lose momentum, abandon. The repo sticks around as a monument to good intentions.

The core issue was never technical ability. It was scope. I'd plan a full CMS, a custom design system, dark mode with five theme variants, a blog engine from scratch. Basically I was building a product when I needed a page.

Every abandoned portfolio site started as "this will only take a weekend." The problem was never the weekend. It was the scope.

What Actually Worked: Constraints

This time I gave myself a weekend. Not "I'll work on it over the weekend" - an actual deadline. Saturday morning to Sunday night. Whatever state it was in by then, that's what ships.

The stack was deliberately boring. Next.js 16, Tailwind, Vercel. No custom CMS. No database. Content lives in a YAML file. If I want to change my bio, I edit a string and push. That's it.

I also made one rule that sounds small but changed everything: no unsplash hero images that I'd spend an hour picking. The visual identity would come from the site itself, not stock photography arranged to look impressive.

A clean desk setup with a single monitor - the kind of environment where weekend projects actually get finished

The Interesting Parts

Simplex Noise Background

The homepage has this subtle animated dot grid that drifts using 3D simplex noise. The core loop is tight:

function draw() {
  t += 0.003;
  ctx.clearRect(0, 0, w, h);
  ctx.fillStyle = "rgba(228, 228, 228, 0.06)";

  for (let gy = SPACING / 2; gy < h; gy += SPACING) {
    for (let gx = SPACING / 2; gx < w; gx += SPACING) {
      const ox = noise3D(gx * 0.008, gy * 0.008, t * SPEED) * DRIFT;
      const oy = noise3D(gx * 0.008 + 100, gy * 0.008 + 100, t * SPEED) * DRIFT;
      ctx.beginPath();
      ctx.arc(gx + ox, gy + oy, DOT_R, 0, Math.PI * 2);
      ctx.fill();
    }
  }
  raf.current = requestAnimationFrame(draw);
}

Each dot shifts position based on its grid coordinates fed through createNoise3D() from the simplex-noise library, with time as the third dimension. The whole grid breathes. It's maybe 50 lines of canvas code but it gives the page more life than a static gradient ever could. The rest of the site uses a CSS mesh background - just enough visual texture without the performance cost of running canvas on every page.

Content as Data

Everything user-facing lives in strings.yaml - headings, project descriptions, bio text, button labels. The components are pure layout:

export function getStrings(): Record<string, unknown> {
  if (cache) return cache;
  const file = fs.readFileSync(
    path.join(process.cwd(), "content/strings.yaml"),
    "utf8"
  );
  cache = yaml.load(file) as Record<string, unknown>;
  return cache;
}

Then a helper for dot-notation access anywhere in the app:

export function t(key: string): string {
  const keys = key.split(".");
  let val: unknown = getStrings();
  for (const k of keys) {
    if (val && typeof val === "object" && k in val) {
      val = (val as Record<string, unknown>)[k];
    } else return key;
  }
  return typeof val === "string" ? val : key;
}

So a component just calls t("blog.heading") and the string comes from YAML, not hardcoded JSX. It also means I could add i18n later with zero component changes, though I probably never will. Some things you just can't shake from enterprise development practices.

The Play Page

I added a Dots and Boxes game because portfolio sites are boring and I wanted at least one page that was fun to visit. It's a full canvas game with three AI difficulty levels - the hard mode actually uses minimax with alpha-beta pruning. Is this relevant to my career? Not really. Does it make the site memorable? I think so. When someone's clicked through their tenth "Hi, I'm a software engineer" landing page, the one with a working game in it tends to stick (I hope).

A game board mid-play - not from the site, but the vibe is right

Auth-Gated Tunnel Home

This is my favorite part. The site has Google OAuth locked to a single email via NextAuth. Public visitors see the portfolio. But when I'm logged in, the nav grows extra links that nobody else sees. One of them points to a Cloudflare Tunnel that routes back to a Mac Mini I run at home. Whatever project I'm working on, I start it on a port and the tunnel just points there. From any browser, anywhere in the world, I get the live dev server - hot reload, real data, the works. It looks like a normal portfolio site to everyone else. To me, it's a front door to whatever I'm building.

The Cloudflare Tunnel piece is dead simple. A cloudflared daemon runs on the Mini and maintains a persistent outbound connection to Cloudflare's edge. No port forwarding, no dynamic DNS, no firewall holes. Traffic hits Cloudflare, gets routed through the tunnel, lands on localhost. The auth on both ends (NextAuth on the site, Cloudflare Access on the tunnel) means the only person who can walk through that door is me.

I basically turned my portfolio site into a VPN with better UX.

Decisions I'm Happy With

DecisionWhyAlternative I Skipped
YAML for contentEdit a string, push, done. No CMS login.MDX, Contentlayer, headless CMS
Hashnode for blogGraphQL API, editorial layout adapts to post countSelf-hosted MDX blog engine
Instrument Serif + InterPersonality without overdesignSystem fonts, full monospace
No project screenshotsConsistent cards when half the work is internalMismatched image/no-image grid
Mobile-first validationTested on real devices throughout"I'll fix mobile later"
Single dark themeShipped fast, looks good4-theme system (built and deleted)

YAML over MDX for content. MDX would've been the "proper" choice for a blog. But I don't want to think about component imports in my writing. Hashnode handles the blog posts - the site pulls them via their GraphQL API and renders an editorial layout that adapts based on post count. When there are no posts yet, you get a subtle animation instead of an empty page.

Instrument Serif for headings. I almost went with a system font stack everywhere. Glad I didn't. Pairing a serif heading font with Inter for body text gives the site personality without feeling overdesigned. Small typography decisions like this are where most developer portfolios fall flat - they either go full monospace (we get it, you code) or pick something aggressively creative that makes the content hard to read.

No project screenshots. The projects section describes what I built with tags and text. I could've added screenshots or mockups, but most of my significant work is internal tooling at AWS that I can't show. Rather than having half the cards with images and half without, I kept it consistent. The accent strip and hover animations give each card enough visual weight.

Mobile from the start. I've been burned enough times bolting responsive design onto a desktop-first site. This time I validated mobile throughout - the hamburger menu, the responsive project grid, making the canvas game playable on touch. Testing on a real phone as I built each section instead of hoping the Chrome devtools simulation would be close enough.

Testing on a phone in hand - the real mobile QA

What I'd Do Differently

The theme system was a detour. I originally built four full themes with a toggle, realized I was bike-shedding, stripped it all out, and kept one dark theme. That was probably two hours I didn't need to spend. The lesson: if you catch yourself building infrastructure for a personal site, stop and ship what you have.

Four themes sounded cool in theory. In practice it was two hours of CSS variables I deleted on Sunday night.

The Real Lesson

The site shipped because I treated it like a product with a deadline, not a passion project with infinite runway. Twenty-six commits over a weekend. Most of them aren't pretty. The code has rough edges I'll clean up incrementally.

But it's live. It has my work on it. When someone googles my name, they find a real site instead of a LinkedIn profile. That's the bar, and it's lower than most engineers think.

The best portfolio site is the one that exists.

No comments yet. Be the first to comment.