StudyInk - my lecture slides, rewritten as a study book by Gemma on my laptop
Description and use
StudyInk turns lecture decks into structured, scan‑ready study notes using Gemma 4 locally, eliminating cloud costs.
Problem
Students need concise, scan‑ready study notes from large lecture slide decks, but slides are designed for presentation, not revision.
Outcome
StudyInk transforms lecture decks into a structured, scan‑ready study book on the student’s laptop, eliminating cloud costs and providing instant slide references.
Workflow
- Drop a .pptx or .pdf deck into StudyInk
- LibreOffice headless converts .pptx to PDF
- PyMuPDF extracts slide text, speaker notes, and a small picture of each slide
- StudyInk identifies figures by detecting images and vector shape clusters
- Gemma 4 (E4B) classifies each figure crop (diagram, flowchart, table, chart, screenshot, or decorative) and extracts text if needed
- Gemma 4 writes concise notes: gist, short points, step flows, comparison tables, captions, index cards, sticky notes, and self‑check questions
- Each point is footnoted with the source slide number; clicking opens the original slide
- The notebook is stored in IndexedDB; the uploaded deck is deleted from temp storage
- StudyInk runs as a native Mac app with a bundled Node runtime; it starts Ollama if needed and unloads the model on exit
Evidence
Drop in a lecture deck (.pptx or .pdf) and it becomes a chapter of a study book
Gemma looks at every figure. This is the vision half of Gemma 4. For each crop it decides: diagram, flowchart, table, chart or screenshot (keep it, and caption it)
Every point has a footnote. Gemma tags each point with the slide it came from ([s12]), and the book turns that into a numbered footnote. Click one and the actual slide opens
- Record date: 2026-10-13T07:41:03.934Z