Luke Cheng

luke-cheng.github.io

This project is a 100% client-side, zero-backend personal portfolio application built with Next.js, Tailwind CSS, and DOMPurify. It leverages Chrome’s built-in On-Device AI (LanguageModel / Gemini Nano Prompt API) to dynamically read a /public/portfolio.md file and generate all site navigation, tab views, and search query responses on the fly directly inside the user’s browser.

Why Let Prompt API output Raw HTML + DOMPurify over JSX?