Skip to content

4 September 2026·2 min read

How I Built ckgiri.com

A personal site in a day, the ship ugly first way: Next.js 16, Markdown, 3D book covers rendered in a headless browser, and deploys on every push.

This site went from a single page to its current shape in one day, in small public steps. That is the whole idea behind my motto: ship ugly first, then make it better while real people can see it. Below is what sits under the hood, and why I chose it.

The Stack

  • Next.js 16 with the App Router and Cache Components. Every page is prerendered to static HTML at build time.
  • Tailwind CSS 4 for styling, with a small set of colour and type tokens.
  • Vercel for hosting. Every push to main on GitHub deploys to production within a couple of minutes.
  • Space Grotesk, Inter and JetBrains Mono for headings, body text and code.

There is no database and no CMS. For a personal site, that is a feature: nothing to patch, nothing to back up, nothing to go down.

Content Lives in Code

All the text on the site sits in one TypeScript file. Products, books, open-source packages and the tech stack are typed data, and the pages render from it. Adding a package means adding one object, and the type checker tells me if I forget a field.

Blog posts, like this one, are plain Markdown files with a little front matter. They are rendered to HTML at build time, so a post costs nothing at runtime.

3D Book Covers Without a 3D Tool

My books needed covers that look like real books, not flat Amazon thumbnails. Instead of reaching for a design tool, I built the 3D mockup in HTML and CSS: a perspective transform, a page block on the side, studio lighting on the cover and a soft shadow. Each book's thickness comes from its real page count.

A headless browser then renders each book into a transparent PNG, which is what you see on the books page. The process is repeatable, so a new book is one command away.

Small Habits That Matter

  • Dependency cooldown. When I added the Markdown library, the latest release was a day old. I pinned the previous release, which had been out for a week. Hijacked npm releases are usually caught within days, so waiting is cheap insurance. It is the same idea behind my package freshgate.
  • Static by default. Pages are prerendered, unknown URLs return a real 404, and books and posts carry structured data so search engines understand what they are looking at.
  • Tags for every release. Each meaningful version of the site is tagged in Git, so I can always see what changed and roll back.

What Is Next

More writing, here. I want to share notes on architecture, eCommerce, AI adoption and shipping products: what worked, what didn't, and why.

If you have a question or an idea, write to me at hello@ckgiri.com.

Newsletter

Get New Posts by Email.

New posts on building, shipping and leading tech teams, sent to your inbox. No spam, and you can unsubscribe any time.

Keep Reading