ProjectsProject Detail

ZnPedia

JavaScript, React and Next.js courses in Roman Urdu and English: 175 chapters from a first variable to a shipped app, with an AI tutor that answers from the course.

ZnPedia landing page with a Roman Urdu headline and a code sample

The Brief

Learn to ship in the language you think in.

Most web development material assumes English. ZnPedia teaches the same path in Roman Urdu and English side by side: 47 JavaScript chapters, 37 on React, 34 on Next.js and 57 on best practices, each one with a definition, code, common mistakes and a quick revision.

Every page has an AI tutor. It searches the course with a small BM25 ranker tuned for Roman Urdu and English, then asks Gemini to answer from those chapters, so replies stay on the material instead of drifting.

Technical Architecture

Next.js + MDX

350 MDX files (175 chapters in two languages) rendered with next-mdx-remote, language routing under /[lang], per-chapter OG images and TechArticle structured data.

AI tutor

Hand-written BM25 retrieval over the course, a Gemini model fallback chain, an IP rate limit and chat history kept in the browser.

No heavy deps

A custom syntax tokenizer highlights code without Shiki or Prism, and search runs on a per-language JSON index loaded in the browser.

ZnPedia home page

A docs layout that feels like a course

Sidebar, table of contents and next and previous links keep long material easy to move through. Each course has its own colour, so JavaScript, React and Next.js are told apart at a glance, in light or dark mode.

Content

175 chapters · 2 languages

Courses

JavaScript · React · Next.js · Best Practices

ZnPedia course cards with chapter counts
Role

Product Engineer (design, build, release)

Client

Personal product

Date

2026

Collaborators

Solo build

Next Project

Daily Routine

View next