I built a local study app with Claude Code that remembers every mistake I make
I study economics part-time and watch recorded lectures in short sessions. A 90-minute lecture used to take me 3.5 hours: pause, write, rewind, summarize. So I built myself a study app with Claude Code.
Press record on any lecture playing on the Mac and you get:
- A Hebrew transcript, made on-device with
whisper.cpp(large-v3-turbo). Audio never leaves the machine; the transcript (and any slides you attach) is sent to Claude to write the summary, quiz and problems. - A summary that teaches the material from zero, written by the Claude CLI.
- A quiz per lecture and flashcards with SM-2 spaced repetition.
- A practice engine: Claude writes problem templates, the app rolls new numbers every time, so you can't memorize answers. It stores your confidence on every answer and brings back the ones you got wrong while feeling sure.
What actually makes it stick
The thing I learned building it: reading a summary feels like studying, but it isn't. The practice part is what actually makes it stick.
Stack and code
Stack: Swift + ScreenCaptureKit for system audio, whisper.cpp, Claude CLI, SQLite (FTS5), Next.js. It's built for Hebrew (UI, transcription and summaries); switching whisper's language is one flag in lib/transcribe.ts.
Code (MIT): https://github.com/yogev-fratti/smart-yogi (Record only lectures you're allowed to record, for personal study.)
Happy to hear what you'd add. This post was drafted with help from Claude, based on my own experience building and using the app.
Comments
No comments yet. Start the discussion.