Skip to main content
Reggie Pangilinan
HomeBlogAbout
GitHubLinkedIn

© 2026 reggiepangilinan.com All rights reserved.

GitHubLinkedIn
Writing·15 articles·RSS

Blog Posts

Technical insights, tutorials, and thoughts on software engineering, leadership, and technology.

Showing 12 articles in Next.js
Adding AI-Powered Blog Search with Google Gemini in Next.js
December 3, 2026·Reggie Pangilinan

Adding AI-Powered Blog Search with Google Gemini in Next.js

A plain-English guide to how Gemini works, comparing Google search options, real-world free-tier traffic math, security guardrails, and how to scale without rewriting your site.

How we added an intelligent, Gemini-powered search bar to a Next.js + Contentful blog—covering AI basics for non-specialists, why hybrid search beat Google Search Grounding and Vertex AI Search, real-world free-tier traffic estimates, and built-in co...

Read article→
Running a Full Next.js Blog on Free Tiers: A Contentful + Netlify Case Study
December 3, 2026·Reggie Pangilinan

Running a Full Next.js Blog on Free Tiers: A Contentful + Netlify Case Study

How this entire personal website—hosting, headless CMS, image CDN, CI/CD, and bespoke hero posters—runs for roughly $1/month by paying only for the domain.

A data-backed case study breaking down Contentful Free, Netlify Free, and GitHub Free quotas (at the time of this writing), with real math on how many visitors, blog posts, and images a personal site can serve before ever paying a cent for infrastruc...

Read article→
Swiss Design Meets Punk Rock: How I Built an Automated Hero Poster System for My Blog
December 3, 2026·Reggie Pangilinan

Swiss Design Meets Punk Rock: How I Built an Automated Hero Poster System for My Blog

Ditching generic stock banners for bespoke 16:9 posters inspired by Swiss modernism, Saul Bass, and DIY punk zines—generated in code and synced automatically to Contentful.

A plain-English look at the HTML/SVG poster generator behind my blog hero images, a quick intro to the Swiss International Style and punk-zine energy that inspired it, and how every poster flows from Git to Contentful.

Read article→
Generative Engine Optimization (GEO) in Next.js 16: llms.txt, RSS, JSON-LD & Crawler Access
December 2, 2026·Reggie Pangilinan

Generative Engine Optimization (GEO) in Next.js 16: llms.txt, RSS, JSON-LD & Crawler Access

What GEO actually means, how AI search engines differ from classic Google Search, and the six upgrades I shipped so AI assistants can discover and cite my site.

A plain-English primer on Generative Engine Optimization (GEO) plus six concrete Next.js 16 upgrades: dynamic /llms.txt, /rss.xml, Person & WebSite JSON-LD, explicit AI bot rules, and non-JS visibility.

Read article→
Four Silent Sitemap & SEO Bugs I Found Auditing My Next.js 16 Blog
December 2, 2026·Reggie Pangilinan

Four Silent Sitemap & SEO Bugs I Found Auditing My Next.js 16 Blog

A quick primer on sitemaps, robots.txt, and canonical URLs—followed by four real indexing bugs I caught and fixed on reggiepangilinan.com.

What sitemaps, robots.txt, and canonical URLs actually do for search indexing—plus four silent SEO bugs I found and fixed auditing my Next.js 16 + Contentful blog.

Read article→
How My Related Posts Component Works (Zero Manual Maintenance, Driven by Tags)
December 2, 2026·Reggie Pangilinan

How My Related Posts Component Works (Zero Manual Maintenance, Driven by Tags)

Why I replaced manual cross-links with a tag-scored RelatedPosts component in Next.js 16—and the exact ranking logic behind it.

A breakdown of how RelatedPosts picks the top 3 related articles using case-insensitive tag overlap, recency tie-breaking, parallel fetching, and 24-hour ISR caching.

Read article→
Auto-Embedding GitHub Gists in Contentful Rich Text with Lazy-Loaded PrismJS
December 2, 2026·Reggie Pangilinan

Auto-Embedding GitHub Gists in Contentful Rich Text with Lazy-Loaded PrismJS

Paste a Gist link on its own line in Contentful and get syntax-highlighted code—without shipping a syntax highlighter to posts that don't need one.

How RichTextRenderer detects standalone GitHub Gist URLs in Contentful Rich Text and renders them via a custom GitHubGist component with dynamically imported PrismJS grammars.

Read article→
Client-Side QR Code Sharing and Smart Open Graph Cards in Next.js
December 2, 2026·Reggie Pangilinan

Client-Side QR Code Sharing and Smart Open Graph Cards in Next.js

Making articles effortless to share in person and crisp when pasted into LinkedIn, X, or Slack—with zero extra design work.

How I built PostShareBar (copy link, Web Share API, and downloadable client-side QR codes) alongside word-boundary SEO truncation and auto-cropped 1200×630 Open Graph cards.

Read article→
Instant Cache Updates Without Full Rebuilds: On-Demand ISR with Contentful Webhooks in Next.js 16
December 2, 2026·Reggie Pangilinan

Instant Cache Updates Without Full Rebuilds: On-Demand ISR with Contentful Webhooks in Next.js 16

How a single /api/revalidate endpoint keeps 24-hour cached blog posts, the blog index, and sitemaps fresh the second you click Publish.

Wiring Contentful webhooks to Next.js 16 on-demand ISR on Netlify: slug sanitization, secret-safe logging, cascading revalidatePath() calls, and a 24-hour safety net.

Read article→
Building a Git-to-Contentful Blog Draft Pipeline with GitHub Actions
December 2, 2026·Reggie Pangilinan

Building a Git-to-Contentful Blog Draft Pipeline with GitHub Actions

Write in Markdown, commit local diagrams, and let GitHub Actions sync unpublished drafts to Contentful—then auto-archive once published.

How I built a Git-first blogging workflow with GitHub Actions and Contentful Management API: per-post folders, deduplicated image uploads, upsert-by-slug, and automatic archiving.

Read article→
Setting Up Contentful Draft Preview in Next.js 16 (and the Gotchas Along the Way)
December 2, 2026·Reggie Pangilinan

Setting Up Contentful Draft Preview in Next.js 16 (and the Gotchas Along the Way)

How I wired up Next.js Draft Mode, Contentful's Preview API, and Contentful Studio's iframe preview on Netlify—without weakening security headers.

Adding Contentful Draft Preview to a Next.js 16 + Netlify site—including the iframe CSP, SameSite cookie, and unpublished asset gotchas that tripped me up.

Read article→
How I Built My Personal Website (and Why I Only Pay for the Domain)
December 2, 2026·Reggie Pangilinan

How I Built My Personal Website (and Why I Only Pay for the Domain)

Under the hood of reggiepangilinan.com: Next.js 16 hybrid rendering, Contentful workflows, CSS Modules, and keeping everything comfortably on free tiers.

How reggiepangilinan.com is architected with Next.js 16, React 19, Contentful, Netlify, and CSS Modules—plus the real trade-offs I ran into along the way.

Read article→