Back to Projects

GiaoAnNhanh

AI lesson-plan generator for Vietnamese teachers that fills the school's own .docx template instead of imitating it.

Jul 2026 – in development
Solo developer

Technologies Used

Next.js 15TypeScriptSupabaseDrizzle ORMBetter AuthOpenAICloudflare R2PayOS

Project Overview

Teachers set up a class once with the school's Word template, subject, grade and shared material; after that every lesson needs only a title and produces a submission-ready lesson plan in the school's exact format. The model generates content only, as structured JSON constrained to the slots detected in the template, and a merge engine writes it into a clone of the original .docx, reusing the template's own paragraph and run styles.

Key Features
  • Template slot detection for school .docx lesson-plan formats
  • OpenAI structured outputs for content, Vision for OCR of reference material
  • DOCX/PDF/PPTX parsing for textbooks and teaching guides
  • Per-class settings and standing instructions
Technical Challenges
  • Keeping formatting 100% faithful to each school's template while the AI only fills content
  • Writing lesson activities as table rows when the template lays them out as a table

Need something similar built?

I take on freelance Next.js and full-stack projects, from MVPs to AI features in existing apps.