Charlotte, NC
ProjectsApril 1, 2026

blakemccarn.dev

Tap to enlarge, then pinch to zoom
This is the site you're looking at right now. It's a Next.js portfolio and blog deployed to AWS using SST v4, with Cloudflare managing DNS records and CloudFront handling SSL via ACM. The whole thing is infrastructure-as-code, supports throwaway stages, and a production deploy is one make deploy that usually finishes in under a minute. I built it because I wanted a place to write about the things I'm building and a portfolio that reflects how I actually work. That meant deploying it the same way I'd deploy a client project, not just pushing to a hosting platform and calling it done. The deployment stack is straightforward but production-ready:
  • SST v4 manages the infrastructure as TypeScript code
  • AWS hosts everything: Lambda for server-side rendering, S3 for static assets, CloudFront as the CDN
  • Cloudflare manages DNS records (proxy disabled; SSL terminates at CloudFront via ACM)
  • SST Secrets manage the GitHub token and analytics ID
  • AWS SSM Parameter Store holds the Cloudflare provider credentials that the deployment wrapper passes to SST
That's the core of it. SST handles the Lambda function packaging, S3 bucket creation, CloudFront distribution, and Cloudflare DNS record management. A named non-production deployment gets the generated AWS URL, while production gets the real domain. During sst dev, Next.js runs locally and connects to the stage's linked resources. The openNextVersion pin is the one line I'd point anyone else at. SST builds Next.js through OpenNext, and SST's default OpenNext v3 calls an internal image-loading function with the signature Next.js 16.2.6 changed. Every /_next/image request came back as a 500, so anything rendered through next/image, my avatar included, failed to load in production. OpenNext v4 handles the new signature. I pin an exact version instead of taking SST's default because the adapter decides how the whole app is packaged for Lambda, and I want an adapter upgrade to get the same build-and-check as a Next.js upgrade. The Cloudflare provider version is pinned in the same file. The site started from the Magic Portfolio template and still uses its Once UI components. Blog posts live in src/app/blog/posts/ and project pages in src/app/work/projects/, both as .mdx files, while my bio, work history and skills sit in one content.tsx file. The sitemap is built from both folders and the RSS feed from the blog posts, so publishing is just adding a file. MDX gives me React components inside markdown when a page needs more than prose, and the diagrams come from an images list in each page's frontmatter, rendered as a carousel above the text. Most of what I've done to the template since is deletion. It came with a gallery, a newsletter form, per-route toggles and a client-side password gate, and I wasn't using any of them. The password gate was the clearest case. It hid pages in the browser, but the content still shipped in the React Server Components payload, so it never protected anything. Removing it deleted two API routes, the password branch of the route guard and an SST secret. The route guard itself went later, along with the route toggles. The ESLint config went too. Next.js 16 dropped next lint, the only thing that ran it, so Biome became the only linter and formatter. npm run lint runs Biome, npm run typecheck runs tsc --noEmit, and those two plus npm run build are the whole local check. The diagrams follow one convention. Each SVG is drawn at 1200x720 and ships with a -static copy without the animated request flow. The carousel picks the file by name alone, with no per-image config: the static one when the visitor asks for reduced motion, the animated one otherwise. Phones get the same diagram as a desktop, and a tap opens the lightbox, where pinch or scroll zooms in on the detail. The server HTML and visitors without JavaScript get the static file, and the carousel switches once the browser reports the motion setting. Each diagram is built from an HTML source in diagrams/, embeds the Geist fonts it uses, and follows the site's light or dark theme. I could have deployed this to Vercel in five minutes. But there are a few reasons I went the SST + AWS route: Practice what I preach. I build AWS infrastructure for clients every day. My own portfolio should reflect that. Using SST v4 for a relatively simple site gave me hands-on time with the framework's Next.js integration and Cloudflare provider before recommending it to anyone else. Isolated stages. sst dev runs the Next.js process locally while deploying the supporting resources needed for that stage. When I need a shareable preview, sst deploy --stage staging creates a separate deployment without touching production. Each stage incurs the normal cost of the AWS resources it creates. AWS-native deployment target. The site runs on Lambda, S3, and CloudFront instead of a proprietary application runtime. Replacing SST would still require rebuilding the infrastructure definition, but it would not require moving the application away from AWS-specific hosting primitives. Separate application and deployment credentials. The GitHub token and analytics ID are SST Secrets. Cloudflare provider credentials stay in encrypted SSM parameters and are exposed only to the deployment process. None of those values are committed to the repository. I wrote a longer field report on the framework in What SST v4 Gets Right for Full-Stack AWS Applications, including the sst dev model, stage behavior, state, secrets, and the upgrade trade-offs.
  • Next.js 16 (App Router) for the frontend
  • React 19 for the component layer
  • Once UI component library and design system
  • MDX for blog posts and project pages
  • SST v4 for infrastructure-as-code deployment
  • AWS (Lambda, S3, CloudFront) for hosting
  • Cloudflare for DNS management
  • Google Analytics via @next/third-parties for lightweight traffic visibility
  • GitHub for source control

Related projects

Solomon Thrift Store Pricing

A phone-first pricing app for a ministry thrift store, grounded in completed sales and manager review, and simplified after a backtest on real staff prices.

Tracecheck

Evidence-backed code review for AI coding agents, with exact source references, independent Jev judgments, and explicit limits on what a review can prove.

Obsidian Vault RAG

Open-source retrieval for Obsidian vaults, with local search, a shared MCP service, project-scoped profiles, and source-checked citations for AI agents.

Rollo Label Printer

Personal label-printing tool that finds the real shipping label inside messy return PDFs and images, normalizes it to 4x6, and prints through direct IPP.

Garmin MCP Server

Open-source MCP server that exposes 34 Garmin Connect health and fitness tools to any AI assistant, with parallel fetching and Docker support.

Charlotte Wire & Cable

Full-stack business website for a specialty wire distributor: searchable catalog, admin dashboard, and serverless AWS infrastructure via SST.

Paperless OCR Enhanced

Open-source Paperless-ngx companion service that uses LLM vision models to repair weak OCR and improve downstream document search.

Paperless Knowledge Graph

A knowledge graph over my Paperless-ngx archive that answers plain-language questions with citations and, in its audited modes, checks every claim against the original OCR.

RapidEPR

I founded RapidEPR, an AI tool that writes military evaluations and award citations for five services, and grew it from a personal project to over 500,000 users.