跳到正文
DEV Community· Shivani Pal·· 4 小時前AI 評分41

LazyStudy AI:Hacktoberfest 第 3 週 DEV 挑戰作品

LazyStudy AI : Hacktoberfest Week 3 DEV Challenge

AI 導讀

LazyStudy AI 是為 Hacktoberfest 開源 AI 挑戰第 3 週打造的本地學習助手,可把課堂筆記轉成摘要、記憶卡、測驗及複習計劃。它預設使用開放權重模型 qwen2.5:3b,筆記不會離開個人裝置;模型下載少於 2GB,需 4GB RAM。作者稱,工具約 5 至 10 秒可生成記憶卡和測驗,每次學習約省下 40 分鐘準備時間。

正文

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady

What I Built
As a student, I noticed a frustrating pattern during exam season: I was spending hours just organizing, highlighting, and formatting my study material before I ever began actually studying. Manually making flashcards or typing up practice quizzes takes a lot of mental energy, and by the time everything is set up, you are already tired.

I built LazyStudy AI to handle that tedious prep work. It is a lightweight, human-centered study assistant that turns raw lecture notes or textbook passages into four focused study aids:

Smart Summary: Extracts high-impact takeaways, core definitions, and structured overviews without hallucinating details outside the provided notes.
Active Recall Flashcards: Creates atomic question-and-answer pairs with a 3D flip view, keyboard navigation (Space to flip, arrows to navigate), shuffle controls, and mastery tracking.
Practice Quiz: Builds 4-option multiple-choice questions that hide answers until you submit, followed by clear explanations of why the right option holds.
Quick Revision Plan: Splits material into manageable 25 to 35 minute study blocks with an interactive checklist and an explicit reminder that it is an automated suggestion, not an exam guarantee.
Students and self-learners get to be a little lazier with their administrative chores so they can spend their remaining focus on real understanding.

Demo
Live Web App: https://shivv2430.github.io/LazyStudy_AI/
Quick Test: The live demo includes pre-loaded sample notes (Computer Science, Biology, and Psychology) and a built-in simulation mode, so you can test all four tools instantly in your browser without needing anything installed.
Code

LazyStudy AI

Your notes. Less effort. More learning.
A lightweight, local-first AI study assistant built with open-weight models for the Hacktoberfest Open-Source AI Challenge (Week 3: Slow and Steady).

Live Demo GitHub Repository License: MIT

🌐 Live Deployment URL: https://shivv2430.github.io/LazyStudy_AI/
(Includes instant Demo Mode simulation so reviewers and students can explore all four study tools directly in their browser without installing anything).


1. Project Overview

Students frequently spend more hours copying, formatting, and reorganizing their study material than actually engaging in active learning. Existing commercial AI tools often demand expensive recurring subscriptions, gatekeep features behind proprietary API quotas, and transmit private student notes—including unpublished dissertations, assignment drafts, and lecture slides—to remote corporate servers.

LazyStudy AI is an open-source, human-centered study companion designed by students, for students. It automates repetitive study preparation by converting unorganized notes into:

  1. Smart Summaries — Crisp overviews, definitions, and hierarchical markdown bullet points.
  2. Active Recall Flashcards — Interactive 3D flip cards with…

Repository link: https://github.com/shivv2430/LazyStudy_AI

Video Link : https://drive.google.com/file/d/1_8dYBpQfmC3jeChCQYaq09YwcOdrxoDS/view?usp=drive_link

How I Built It
The app is built around open-weight models and local inference:

Local Inference Engine: Ollama running locally on http://127.0.0.1:11434.
Default Model: qwen2.5:3b, an open-weight instruction model that offers reliable structured reasoning and clean JSON output on standard consumer laptops (under 2GB download and 4GB RAM).
Backend Gateway: A Node.js and Express server that handles prompt structuring, JSON schema validation, markdown code fence stripping, and file upload parsing (.txt and .md files up to 250KB). The server communicates with Ollama locally and protects student privacy by never logging private notes.
Frontend: React 18, Vite, Tailwind CSS, and Lucide React icons. I chose a warm academic paper color palette (#FAF8F5) with deep navy text instead of bright neon gradients or generic AI decorative blobs.
Configurability: You can switch models between Qwen 2.5, Gemma 2, or Llama 3.2 by changing a single environment variable (OLLAMA_MODEL) without touching the frontend code.
Why Does Open Innovation Matter?
Students frequently work with sensitive material: unpublished thesis drafts, university lecture slides under strict copyright, or personal essays. Sending all of that raw text to closed cloud AI APIs creates several problems:

Privacy and Data Ownership: When using closed APIs, you have to trust that your notes are not being retained or used for training. With local open-weight models, your raw study notes never leave your personal machine.
Cost and Accessibility: Commercial tools charge recurring monthly subscriptions or bill per token. Students on tight budgets cannot always afford paid subscriptions. Local inference runs on hardware you already own with zero per-request costs.
Longevity and Independence: Proprietary APIs can alter pricing, change system prompts, or deprecate endpoints overnight. Open-weight models like Qwen and Gemma can be downloaded once and run indefinitely, even completely offline without an internet connection.
Open innovation proves that we do not need massive, energy-hungry closed models just to help a student study for a midterm. A well-prompted 3-billion-parameter model running on a laptop is more than capable of doing the job well.

The Lazy Payoff
Before building LazyStudy AI, converting a single 15-page chapter into a set of flashcards and practice questions usually took me around 45 to 60 minutes of manual copying and pasting.

With this tool:

Pasting a lecture note or uploading a markdown outline takes 5 seconds.
A local 3B model produces a complete set of active-recall flashcards and a self-scoring quiz in about 5 to 10 seconds.
I get back roughly 40 minutes of prep time per study session, and I can start testing my memory immediately.

來源:DEV Community · dev.to