DEV Community

Trupti Khot
Trupti Khot

Posted on

I Built StudyBuddy AI to Help My Friend Study Smarter with Open-Source AI

Hacktoberfest: Contribution Chronicles

📚 Why I Built StudyBuddy AI

College students often struggle with difficult technical topics and exam preparation.

A friend of mine faced this problem while studying for college exams. Sometimes a topic is difficult to understand from textbooks or lecture notes, and before an exam there is very little time to revise everything.

For the Hacktoberfest 2026 Build for a Friend challenge, I decided to build a small AI-powered study assistant to help with this problem.

Meet StudyBuddy AI 🤖📚

💡 What is StudyBuddy AI?

StudyBuddy AI is a web-based study assistant that helps college students:

  • 📖 Understand difficult topics in simple language
  • 🎯 Find important exam questions
  • ✍️ Practice short-answer questions
  • 📝 Practice MCQs
  • ⚡ Quickly revise important points

The main idea is:

Understand → Practice → Revise

🎯 The Problem

Many college students face two common problems:

  1. Difficult technical topics can be hard to understand quickly.
  2. Before exams, students need a simple way to practice important questions and revise.

I wanted to create one simple application that could help with both.

🤖 How StudyBuddy AI Works

The basic flow is:

Student

↓

Enter Topic

↓

React Frontend

↓

FastAPI Backend

↓

Qwen2.5-0.5B-Instruct

↓

Study Material

For example, a student can enter:

DBMS

and StudyBuddy AI can provide study material for that topic.

✨ Features

📖 Explain Topic

The application provides a simple explanation of a college topic.

It focuses on:

  • Definition
  • Simple explanation
  • Real-world example
  • Key points

📝 Exam Preparation

The application also provides:

  • Important questions
  • Short-answer questions
  • MCQs
  • Quick revision points

This helps students move from understanding a topic to practicing and revising it.

🌍 Open-Source AI

Open-source AI is at the core of this project.

StudyBuddy AI uses:

Qwen/Qwen2.5-0.5B-Instruct

The model is integrated using the Hugging Face Transformers library and runs through the Python backend.

This project helped me understand how an openly available AI model can become part of a practical application.

🛠️ Tech Stack

Frontend

  • React
  • Vite
  • JavaScript
  • CSS

Backend

  • Python
  • FastAPI
  • Uvicorn
  • Pydantic

AI

  • Qwen2.5-0.5B-Instruct
  • Hugging Face Transformers
  • PyTorch

Tools

  • Git
  • GitHub

📸 Screenshots

🏠 StudyBuddy AI Home

StudyBuddy AI Home

📖 Topic Explanation

Topic Explanation

📝 Exam Preparation

Exam Preparation

💻 Source Code

The complete project is available on GitHub:

https://github.com/tk1981215/StudyBuddy-AI

The repository contains the React frontend, FastAPI backend, AI integration, and screenshots.

👥 Built for a Friend

The idea for this project came from a real student problem.

A friend was struggling with understanding college topics and preparing efficiently for exams.

That made me think:

What if there was a simple study companion that could explain a topic and help with revision?

That question became StudyBuddy AI.

🌱 What I Learned

Building this project helped me learn how to:

  • Build a React frontend
  • Create APIs using FastAPI
  • Connect a frontend with a Python backend
  • Integrate an AI model using Transformers
  • Work with an open-source AI model locally
  • Handle API requests and CORS
  • Use Git and GitHub for project management
  • Turn a real problem into a working application

🌍 Why Open Innovation Matters

Open-source AI gives developers and students an opportunity to experiment, learn, and build useful applications using openly available technology.

For me, working with an open-source model made it possible to take a simple idea and turn it into a working project.

It also gave me practical experience with how AI can be integrated into a real application.

🚀 Future Improvements

Some improvements I would like to add in the future are:

  • PDF and notes upload
  • Generate questions from uploaded notes
  • Interactive AI study chat
  • Personalized quizzes
  • Study progress tracking
  • Multiple language support
  • Voice-based learning

The current version focuses on the core idea of helping students understand and prepare.

🏆 Hacktoberfest 2026

I built StudyBuddy AI for the Hacktoberfest 2026 – Build for a Friend challenge.

The challenge inspired me to use open-source AI to solve a real problem for a friend.

The problem:

Difficulty understanding college topics and preparing for exams.

My solution:

StudyBuddy AI. 📚🤖

❤️ Final Thoughts

This project gave me the opportunity to combine:

React + FastAPI + Open-Source AI

More importantly, it reminded me that a useful project starts with a real problem.

I'm excited to keep improving StudyBuddy AI and continue learning through open-source development.

StudyBuddy AI — Study Smarter. Understand Better.

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.