r/coolgithubprojects • • 1h ago

Made a self-hosted Docker app that turns topics, PDFs, or YouTube videos into full courses (works with Ollama)

Been building this for a while now and figured I'd finally share it here to see what people think.

Whenever I tried using ChatGPT or Claude to actually learn a new subject, it always turned into one giant chat thread I'd never look at again. So I made a self-hosted app called Learning with AI that takes whatever you want to learn (a topic, a PDF textbook, your notes, or a YouTube video) and builds out a real course with modules, lessons, quizzes, flashcards, and small projects at the end of each module.

Everything runs in Docker Compose (amd64 and arm64). You can hook it up to Claude, OpenAI, or Gemini, or just point it at a local Ollama instance if you want to keep it completely offline. There's also an optional Kokoro TTS container that runs locally so it can read lessons out loud or generate two-host podcasts about a module that you can download to your phone.

A few other things I added along the way:

Repo is here: https://github.com/razorwill-cmd/learning-with-ai

1 Upvotes

2 comments sorted by

1

u/Tiny_Swordfish7288 1h ago

I like the idea of turning learning materials into something more structured than a long chat history. One challenge with AI-generated courses, though, is making sure the quizzes actually reveal what a learner understands versus what they have simply memorized. I’m exploring a related educational idea focused on identifying specific learning gaps. Have you considered tracking recurring mistakes across quizzes and using them to adjust the next lessons?

1

u/Sharp-Excuse-7782 59m ago

Yeah, that's actually one of the biggest things I tried to solve! Right now it tracks recurring missed quiz questions in a "Weak spots" list and feeds those gaps back into the prompt when generating upcoming lessons so the next lessons reinforce what you kept missing.

To get past pure memorization I also added a few things beyond multiple-choice quizzes: a "Teach it back" check (you explain the idea in your own words, typed or spoken, and it tells you what you nailed vs missed), a Socratic "Grill me" mock interview mode in the tutor, and a hands-on project at the end of every module.

Cool to hear you're building in the same space — what approach are you taking for spotting learning gaps?