System Architecture & Pipeline
Client-side audio demuxing and slide keyframe extraction via HTML5 Canvas & Web Workers reduces network upload payloads by 96% (from 4GB down to ~20MB).
High-concurrency AssemblyAI Universal-2 engine with dynamic key rotation pool, speaker diarization, and word-level timestamp alignment.
Google Gemini 2.5 Flash curriculum planning pass followed by holistic synthesis merging audio transcripts with client-side OCR keyframes.
Client-rendered vector diagrams (Mermaid.js), mathematical proofs (KaTeX), statistical charts (Vega-Lite), and slide hotspot overlays at 99.9% lower cost than raster generation.
Decoupled Cloudflare R2 asynchronous job buffering surviving client disconnects, paired with a persona-driven Socratic RAG conversational tutor.
AST markdown parsing with mistletoe, converting formulas to native Word MathML (.docx), publication-ready PDFs, and interactive GFM.










