StudyBuddy Local:基于 Qwen 2.5 的私有 AI 学习助手
StudyBuddy Local: A Private AI Study Companion Powered by Qwen 2.5
StudyBuddy Local 是一款通过 Ollama 在本地运行 Qwen 2.5 0.5B 的私有 AI 学习助手,学生可粘贴笔记或上传 PDF、TXT 文件,由本地模型完成摘要、概念讲解、复习笔记、互动测验和基于材料的问答。项目采用 React + Vite 前端与 Flask 后端,不依赖 OpenAI、Gemini、Claude 等外部 AI API,学习资料全程在用户本机处理。
`This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend
What I Built
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend
What I Built
I built StudyBuddy Local, a private AI study companion for a college friend who often struggles with scattered notes and study material during exam preparation.
His study material is usually spread across class notes, PDFs, and copied text, which makes revision slower and harder to organize. I wanted to build something small and practical that could turn that material into useful revision content without sending personal study notes to an external AI service.
StudyBuddy Local lets students paste their notes or upload PDF and TXT files and then use local AI to:
- Summarize study material
- Explain difficult concepts in simple terms
- Create exam-focused revision notes
- Generate interactive quizzes
- Ask questions based on the provided study material
The AI runs locally through Ollama using the open-weight Qwen 2.5 0.5B model.
Demo
Watch the StudyBuddy Local Demo
Code
How I Built It
The project uses a React + Vite frontend and a Flask backend.
For AI inference, I used Ollama with Qwen 2.5 0.5B, so the application does not depend on OpenAI, Gemini, Claude, or another external AI API.
The basic flow is:
User → React Frontend → Flask Backend → Ollama → Qwen 2.5 0.5B
Users can paste study material directly into the application or upload PDF and TXT files. The Flask backend extracts the text and sends the relevant task to the locally running model.
The same local model powers the main study workflows:
- Summarization
- Concept explanation
- Revision notes
- Quiz generation
- Material-based Q&A
I kept the project intentionally small and focused instead of turning it into a general-purpose chatbot.
Why Does Open Innovation Matter?
Open innovation made the main idea of this project possible: running AI locally instead of building around a closed AI API.
For a study tool, the material can contain personal notes, assignments, or other information that a student may not want to send to a third-party AI service. With local inference, the application can process that material on the user's own machine.
Using an open-weight model also makes the AI layer replaceable. The application can be adapted to work with another compatible local model without rebuilding the entire product around a single closed provider.
For this project, open AI tooling was useful not just because it was accessible, but because it supported the privacy-focused goal of the application.
My Agent Session
Not included.
Prize Categories
I am entering the overall challenge.
No partner category is claimed because this version of StudyBuddy Local does not use the required partner technology for those categories.****
Demo
Code
How I Built It
Why Does Open Innovation Matter?
My Agent Session
Prize Categories
<!-- Thanks for participating! -->`
来源:Google AI:DEV 作者专属(RSS) · dev.to