TDG
Recorded lectures turned into study material with sources.
Status: Deployed on a VPS, in use and evolving
Since Jul 2026
Personal project. Code generated by AI agents under my direction.
- Next.js
- React
- NestJS
- PostgreSQL
- Prisma
- Python
- LLM APIs
- RAG
- Docker
How a lecture gets processed
Pick a stage to see what it produces. The content is a made-up example to illustrate the flow.
1/5
Video
The recorded lecture joins the job queue.
- lecture-07.mp4
- 1 h 32 min
- queued
The problem
A course with many recorded lectures is hard to revise: you have to rewatch videos, take notes by hand and remember which lecture covered what.
What it is
A private web application, with manually created users, that organises lectures by teacher and course and offers guided study, mistake review, progress tracking and a chat over the content that shows which lecture and minute each answer comes from.
How it works
Lectures come in from Google Drive or YouTube. A local worker downloads and transcribes the audio and uploads the transcript; a coordinator on the VPS processes jobs in order and resumes completed stages if something fails. The pipeline chunks transcripts while keeping timestamps, analyses them with language models via API (DeepSeek) and generates embeddings. The chat retrieves excerpts through lexical, vector or hybrid search and, by default, builds the answer deterministically from them; there is also an optional AI mode.
My role
I conceived, defined and drive the project. The code was generated by AI coding agents (Claude Code, Codex, OpenCode) under my direction: I decide what gets built, how the work is split up and what gets fixed, and I validate the result. I didn’t write its code by hand, and I haven’t reviewed every part of its internal architecture in depth. I use it to study and keep improving it: over 1,100 commits since July 2026.
Features
- Ingestion from Google Drive and YouTube, with local download and transcription.
- Transcripts chunked with timestamps.
- Summaries, notes, flashcards and practice exams.
- Mistake review and progress tracking.
- RAG chat (lexical, vector or hybrid search) that cites lecture and minute.
- Long-running jobs that resume from the last completed stage.
Challenges
- Splitting work between a local machine (download and transcription) and a server.
- Long-running jobs that must resume without rerunning the whole pipeline.
- Answers grounded in the lecture content, with their sources.
- Giving agents enough context for the result to stay coherent.