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 2 articles in Security
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→
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→