finds.dev← search

// the find

leerob/next-mdx-blog

★ 7,558 · TypeScript · updated May 2026

Next.js + MDX blog template with Tailwind CSS and TypeScript.

A minimal Next.js blog template from Vercel's DX lead, using MDX for content and Tailwind for styling. Aimed at developers who want a clean starting point they can deploy to Vercel in one click and own completely.

The file-system routing approach for posts (app/n/1, app/n/2) keeps the setup dead simple — no CMS, no content layer abstraction to fight with. MDX means your posts are just files with React components when you need them. Coming from leerob, the Next.js patterns here reflect current App Router idioms rather than pages-era habits. The optional Postgres redirect table is a practical touch for managing URL changes without 404s.

Post routing uses numeric directories (app/n/1/) with no slug support — not viable for a real blog with meaningful URLs. There's no frontmatter convention, no tag or category system, and no pagination, so you'll be bolting on basics before publishing post five. The 'optional' Postgres integration is Vercel Postgres specifically, which locks you to their platform. Test coverage is nonexistent, which is fine for a template but worth knowing if you plan to extend it heavily.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →