DEV Community

Atharva Babhane
Atharva Babhane

Posted on AI-assisted

StudyMate AI β€” Your Personal AI Study Companion πŸ“šπŸ€–

Hacktoberfest Weekend Challenge: Build for a Friend Submission 🀝

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend

πŸ“š StudyMate AI β€” Your Personal AI Study Companion

What I Built

StudyMate AI is an AI-powered study companion designed to help engineering students understand, revise, and interact with their study material more effectively.

I built this project for a fellow student who often struggles with lengthy notes, difficult technical concepts, and the time-consuming process of finding specific information inside PDFs.

Instead of repeatedly searching through notes, the student can simply upload a PDF, ask a question, and interact with an AI study companion.

✨ Key Features

  • πŸ“„ PDF Study Notes Upload β€” Upload engineering notes directly into the application.
  • πŸ” PDF Text Extraction β€” Extracts useful content from study material using PyPDF.
  • πŸ€– Gemma-Powered AI β€” Uses Gemma to generate clear and student-friendly explanations.
  • πŸ’¬ Interactive AI Chat β€” Ask questions naturally and receive structured responses.
  • πŸ“š Notes-Based Answers β€” The AI can use the uploaded study material as context when answering questions.
  • 🧠 Student-Focused Explanations β€” Concepts are explained in simple language with examples where useful.
  • πŸ”— Backboard Integration β€” Uploaded study documents are also indexed through Backboard.

The goal was simple: turn static study notes into an interactive learning experience.


Demo

πŸ“Έ Project Screenshots

Here are screenshots of StudyMate AI in action:

StudyMate AI Interface

PDF Upload

AI Response Based on Study Notes

The demo showcases the complete StudyMate AI workflow:

Upload PDF β†’ Process Study Material β†’ Ask a Question β†’ Get an AI-Powered Explanation

The demonstration also shows how StudyMate AI uses the uploaded notes to answer questions relevant to the student's study material.


Code

πŸ’» GitHub Repository:

Code

The repository contains the complete source code, project structure, setup instructions, environment configuration, and implementation details.

The project is built with a focus on keeping the architecture simple, understandable, and easy for other developers to explore and extend.


How I Built It

StudyMate AI is built around Gemma, an open-weight AI model, with document processing and AI-assisted study workflows integrated into a lightweight web application.

πŸ—οΈ Architecture

             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚      Student        β”‚
             β”‚                     β”‚
             β”‚  Upload PDF / Ask   β”‚
             β”‚      Question       β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚
                        β–Ό
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚     Flask App       β”‚
             β”‚    Web Backend      β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚
          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β–Ό                           β–Ό
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚     PyPDF     β”‚           β”‚   Backboard     β”‚
  β”‚ PDF Extractionβ”‚           β”‚Document Indexingβ”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
          β–Ό
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚  Study Context  β”‚
  β”‚ Extracted Notes β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚      Gemma      β”‚
  β”‚  AI Generation  β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚   StudyMate AI  β”‚
  β”‚     Answer      β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Enter fullscreen mode Exit fullscreen mode

Why Does Open Innovation Matter?

Open innovation matters because it gives developers the freedom to experiment, learn, and build AI-powered solutions around open technologies.

For StudyMate AI, using Gemma as an open-weight AI model allowed me to build an AI study experience around an open model rather than treating AI as a completely closed black box.

This is especially valuable for students and independent developers. Open technologies make it possible to explore how AI can be integrated with real-world problems, experiment with different approaches, and build solutions tailored to specific communities.

For this project, the problem was simple: students have plenty of study material, but finding and understanding the right information can take a lot of time.

By combining Gemma with open-source tools such as PyPDF and a lightweight Flask application, I was able to turn static study notes into an interactive learning experience.

Open innovation makes it possible to learn by building, experiment openly, and create technology around real human needs.


Prize Categories

πŸ† Best Use of Gemma

StudyMate AI uses Gemma as the core AI model powering its conversational study experience and generating clear, student-friendly explanations using the student's study material.

πŸ† Best Use of Backboard

StudyMate AI integrates Backboard for uploading and indexing study documents as part of the project's document-based study workflow.


What's Next?

I plan to extend StudyMate AI with features such as:

  • πŸ“ Automatic quiz generation
  • ❓ Practice question generation
  • 🎯 Topic-wise revision
  • 🧠 Smarter document retrieval
  • πŸ“Š Personalized study progress
  • πŸ“š Support for multiple subjects and documents

The current version focuses on one core goal: making a student's existing study material easier to understand and interact with.


devchallenge #weekendchallenge #hf26challenge

Top comments (0)