跳到正文
DEV Community· Haoua Tamaivou·· 5 小時前AI 評分43

Lazy Study Buddy:離線 AI 學習工具

LAZY STUDY BUDDY

AI 導讀

作者開發 Lazy Study Buddy,讓學生貼上筆記後生成摘要和測驗題,並可點擊題目查看答案,支援英文或法文。工具以 Gemma 3:1B 在本機透過 Ollama 執行,無須連接互聯網;作者的筆記在測試中約 7s 完成處理。測驗根據摘要生成,小型模型亦可能出現事實錯誤,答案應對照課程資料核實。

正文

Cover image for LAZY STUDY BUDDY

Haoua Tamaivou

Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady Submission 🦥

What I Built

Lazy Study Buddy: a tool for students who would rather not re-read pages of notes before an exam. You paste your notes, and it writes a short summary and quiz questions, in English or French. Tap a question to reveal its answer. It runs entirely on your own computer, so nothing needs internet and your notes never leave it.

Who would use it: students with expensive or unreliable internet, and anyone studying for a course or certification. I'm studying network engineering and cybersecurity, and I built it to turn my own study notes into practice questions.

Demo

It runs locally, so there is no deployed link. Here it is working:

Offline test, with the internet turned off and the network showing "Not connected":

It took about 7s seconds seconds on my laptop using Gemma 3:1B .

Code

https://github.com/Queeninherprime/hacktoberfest_2026/tree/main/week-3-lazy-study-buddy

https://github.com/Queeninherprime/hacktoberfest_2026/tree/main/week-3-lazy-study-buddy

How I Built It

How I Built It

  • Model: Gemma 3 [1B / 4B], an open-weight model from Google, running locally through Ollama.
  • Backend: a small Python server using only the standard library, so there is nothing to install.
  • Frontend: plain HTML and JavaScript that loads nothing from the internet.
  • Reading long notes: a small model on a small laptop can't read long notes at once, so the app works in steps. It splits the notes into chunks of about 1,800 characters, summarises each chunk, merges those points into one short summary, and then writes the quiz from that summary in a fixed Q1: / A1: format that the app parses into tap-to-reveal cards.
  • AI assistance: I built this with an AI assistant (Claude), then tested and published it myself.

What I noticed when testing.The first time i tried testing without pulling ollama gemma AI model could not function. Because the quiz is written from the summary and not from the full notes, details that don't make it into the summary can't be quizzed. A small model can also make factual mistakes, so answers should be checked against your course material.

Why Does Open Innovation Matter?

  • It works offline. The model lives on the laptop, so a student can revise anywhere without data.
  • It keeps notes private. Course notes, and anything personal in them, never leave the computer.
  • It costs nothing to run. No subscription and no per-use fee.
  • I can change how it works. I can swap the model, change the prompts, or tune the quiz format, and I'm not tied to one provider.

Prize Categories

來源:DEV Community · dev.to