That quote I half-remember at 2am? I can find it now. A broke college student built a free, local AI pipeline called "gemma-brief" to solve the problem of having no time to watch educational YouTube videos. The system runs overnight on a base MacBook Air, automatically downloading, transcribing, and summarizing new videos into structured PDF briefs delivered via Telegram, allowing the user to quickly review content and search for specific quotes. The project is open-source and uses entirely local tools like yt-dlp, Whisper, and Gemma 4 E4B via Ollama, with zero cloud costs or API dependencies. I'm a broke college student. Base MacBook Air. No API budget. Constantly behind. I follow too many YouTube channels. Research, tech, founders, stuff that actually matters. But I'm in class, I'm studying, I'm sleeping. By the time I get to a video it's been 3 days and I've already forgotten why I saved it. And rewatching to find that one quote I half-remember? Not happening. The problem isn't that the content isn't good. The problem is I don't have time to absorb it. And when I do sit down, I can't remember what I already learned. I needed something that could do the watching while I slept, and have answers ready when I woke up. So I built gemma-brief. It monitors the YouTube channels I care about, downloads new videos overnight, transcribes them locally with Whisper, summarises everything with Gemma 4 E4B running on Ollama, enriches with Wikipedia for context, and drops a formatted PDF into my Telegram. Every morning when I wake up, my briefs are waiting. And if I half-remember something from last week, I just ask. Zero cloud. Zero cost. Runs on my base MacBook Air while I sleep. A fully local intelligence pipeline that turns YouTube uploads into structured briefs. On autopilot, overnight. The flow: gemma-brief yt-dlp pulls the audioThe brief is the same structure every time: TL;DR → The Thesis → Key Quotes → Wikipedia Context. I can read it in 2 minutes over coffee and know whether it's worth a full watch. And there's a /explain command. Ask anything, like "/explain gemini spark" , and it searches across every brief I've ever received and returns the exact voice clip with the timestamp. Not a text answer. The actual moment from the actual video. Stack: gemma4:e4b via OllamaThis is what lands in my Telegram every morning. Three real briefs from three real channels, generated overnight, zero input from me. Fireship brief PDF Two Minute Papers brief PDF Google I/O brief PDF Every brief follows the same structure: TL;DR, The Thesis, Key Quotes, Wikipedia context on every person and company mentioned. I can read any of them in under 2 minutes and know if the video is worth going back to. The Telegram bot also takes commands: /explain topic searches everything you've ever received and returns the exact voice clip with the timestamp. Not a summary. The moment./list shows all your briefs/search query full text search across your entire vaultgithub.com/amadeobonde/gemma-brief Open source. Clone it, point it at your channels, run gemma-brief run . Gemma 4 E4B is doing all the thinking, entirely on my machine. The 32K context window is what made this viable. A 45-minute video transcribes to ~8,000 words. Gemma 4 reads the whole thing in one shot and produces a structured brief without me chunking anything or setting up retrieval pipelines. response = ollama.chat model='gemma4:e4b', messages= { 'role': 'user', 'content': BRIEF PROMPT.format transcript=transcript, title=title } No LangChain. No vector DB. No API key. The model runs locally via Ollama and the output parses cleanly into PDF sections. I also use Gemma 4 for /explain . Given a query and a set of brief excerpts, it identifies the most relevant moment and returns it with the timestamp. 32K context + local inference = no API costs, no rate limits, no data leaving my Mac The E4B variant was the right call. Fast enough to process a full channel's weekly uploads in a nightly batch, small enough to run on a base M-series MacBook Air, smart enough that I actually trust the summaries. I set it to run at 2am. By 8am, everything's been processed. I wake up, check Telegram, spend 10 minutes reading briefs instead of 3 hours watching videos I might not even finish. It's not about being lazy. It's about being realistic. There's too much good content and not enough hours. I was either missing things entirely or watching at 2x speed and retaining nothing. Both felt like failure. gemma-brief changed the equation. Now I can follow 10 channels seriously, actually remember what I learned, and go deep on the stuff that's worth it. No paid API, no cloud subscription, no machine I can't afford. It runs while I sleep. The answers are there when I wake up. Built for the Gemma 4 Challenge on DEV.to.