This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend
π‘ Who I Built This For ("Build for a Friend")
During exam weeks at my college (IIIT Bhopal), my friends and roommates often get overwhelmed by hundreds of slides of dense lecture notesβwhether it is Operating Systems, Distributed Systems, or Machine Learning.
Reading passively through 50-page PDFs the night before an exam causes fatigue and poor retention. My friend Aman specifically told me: "I just wish there was a fast way to test myself on these key concepts without spending hours manually making flashcards."
That inspired me to build StudyBuddy AI.
π What I Built
StudyBuddy AI is an open-source, interactive study companion built in Python. You simply paste your lecture notes or technical topic, and it immediately generates:
- β‘ Executive Summary: 4β5 high-yield bullet takeaways.
- π§ Interactive Active-Recall Quiz: Custom multiple-choice questions with instant scoring, feedback, and in-depth explanations.
- π Flash Cheat-Sheet: A clean glossary of core terms and definitions for quick revision right before the test.
π€ Open-Source AI at the Core
To adhere to the core ethos of open-source and open-weight models, StudyBuddy AI is powered by Meta's Llama 3.1 (via fast inference APIs like Groq or Hugging Face):
- It prompts the open-weight model to return strict, deterministic JSON schemas for summaries, quiz questions, and flash definitions.
- Includes a zero-setup Demo / Offline Mode so anyone can test the full active-recall workflow locally without even requiring an API key.
π» Tech Stack
- Frontend & App: Python & Streamlit
- AI Core: Open-weight LLMs (Meta Llama 3.1 8B Instruct)
- Data Schemas: JSON-driven active recall structures
π Code Repository
The code is 100% open-source and available on GitHub:
π GitHub Repository: https://github.com/VimalN2005/study-buddy-ai
π What My Friend Thought
When I shared the prototype with Aman, he pasted his distributed systems notes and immediately took the 5-question generated quiz. The instant feedback on why an option was incorrect helped him grasp the CAP theorem and consensus protocols in minutes instead of hours.
Happy Hacktoberfest 2026! π
Top comments (0)