• _hello
  • _about-me
  • _projects
  • _blog
  • _support
_contact-me
find me in:
@faeztgh
cd ../topics

AI

// 6 articles on AI by Faez Tgh — practical React, Next.js, TypeScript and web-performance write-ups.

01
seo featured

Generative Engine Optimization (GEO): SEO for AI Search

Jul 19, 2026· 6 min·1,153 words

Search stopped being ten blue links. Google's AI Overviews, ChatGPT, and Perplexity now synthesize answers and cite a handful of sources. GEO is the practice of becoming one of those sources — and it rewards the same fundamentals good SEO always did, plus a few new ones.

  • SEO
  • AI
  • Structured Data
read-postopen
02
typescript featured

Streaming AI Chat in Next.js with the AI SDK

Jun 14, 2026· 5 min·1,016 words

Bolting an LLM onto a Next.js app is easy to demo and easy to get wrong. Here's the shape of a streaming chat feature that survives contact with real users — plus the rate-limiting, error, and cost details the tutorials skip.

  • Next.js
  • AI
  • React
read-postopen
03
typescript

Getting Structured Output From LLMs Without the Guesswork

Jul 7, 2026· 5 min·965 words

Asking a model to 'reply in JSON' and hoping is how you end up parsing prose at 2am. Modern models expose schema-constrained output and tool calling that guarantee the shape — the trick is choosing the right one and validating anyway.

  • AI
  • LLM
  • TypeScript
read-postopen
04
general

A Practical Primer on Retrieval-Augmented Generation (RAG)

Jul 2, 2026· 6 min·1,201 words

An LLM only knows what it was trained on and what you paste into the prompt. RAG is how you give it your own knowledge — your docs, your data — without retraining anything. Here's the pipeline, end to end.

  • AI
  • RAG
  • LLM
read-postopen
05
typescript

Model Context Protocol (MCP), Explained for Web Developers

Jun 28, 2026· 6 min·1,186 words

Every AI tool used to invent its own way of plugging into your data. MCP is the attempt to standardize that connection — one protocol, many clients, reusable servers. Here's the mental model, minus the hype.

  • AI
  • MCP
  • TypeScript
read-postopen
06
typescript

YouTube Playback Controller: A Powerful Chrome Extension for Video Speed Control

Aug 20, 2025· 5 min·1,046 words

YouTube's built-in speed controls barely scratch the surface. This open-source Chrome extension brings precise slider control, per-channel automation rules, multi-profile presets, and even reverse playback to your browser toolbar.

  • Chrome Extension
  • YouTube
  • React
read-postopen

# other-topics

  • TypeScript20
  • JavaScript11
  • React8
  • Next.js6
  • Performance6
  • Generics4
  • SEO3
  • Type Safety3
  • Utility Types3
  • Architecture2
  • LLM2
  • Tooling2
  • Type System2
  • Union Types2
  • Web Standards2
  • Advanced Types1
  • Autocomplete1
  • Backend1
  • Chrome Extension1
  • Code Organization1
  • Conditional Types1
  • CSS1
  • Decorators1
  • Developer Experience1
  • Frontend1
  • Function Overloading1
  • Hooks1
  • Infer1
  • MCP1
  • Metaprogramming1
  • Namespaces1
  • Omit1
  • Pick1
  • RAG1
  • Responsive Design1
  • Structured Data1
  • Template Literal Types1
  • Type Guards1
  • Type Inference1
  • URL Parameters1
  • useEffect1
  • useLayoutEffect1
  • Web Vitals1
  • YouTube1