Skip to content

An AI-powered study assistant that automatically creates spaced repetition flashcards and quizzes from your notes and PDFs using the OpenAI API

Notifications You must be signed in to change notification settings

ethanchang235/spaced-rep-study-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

148 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Wisebud β€” 2025 Summer SAIL Project

Wisebud is a smart AI-powered study assistant that helps students learn more efficiently by generating summaries, flashcards, quizzes, and answering questions based on uploaded notes. Designed for independent learners and optimized with spaced repetition, Wisebud streamlines your study workflow across multiple courses and users.

GitHub repo: https://github.com/ethanchang235/spaced-rep-study-assistant.git


✨ Features

Core Learning Tools

  • πŸ“„ Upload Files: Supports .txt, .pdf, .docx, and images.
  • 🧠 Summarize Notes: Auto-generate titled summaries using GPT.
  • πŸƒ Generate Flashcards: JSON-based flashcards with spaced repetition scheduling (SM‑2).
  • ❓ Ask Questions: Ask natural language questions using all uploaded + generated content.
  • πŸ“ Generate Quizzes: Auto-create 10 multiple-choice questions per session.

Study Flow & Memory Boost

  • ⏱ Spaced Repetition: Flashcards track review intervals, difficulty, and schedule using SM‑2.
  • βœ… Card Feedback: Mark answers as correct or incorrect and adapt future review timing.
  • πŸ”„ Next Card Logic: Only one card shown at a time; next due card is surfaced intelligently.

User & Course Management

  • πŸ‘€ User Login/Registration: Secure authentication with hashed passwords.
  • πŸ“š Per-Course Organization: All data is separated by course name and user.
  • πŸ—‚ Local JSON Database: All data is saved locally in study_data.json.

AI Control

  • πŸ”„ Model Selector: Choose between gpt-4o, gpt-4.1, or gpt-3.5-turbo.
  • ✏️ Custom Prompts: Add your own instructions for summarizing, quizzes, and cards.

Productivity Add-ons

  • βœ… To-Do List: Add and remove personal todos to track tasks.
  • πŸ—‘οΈ File Management: Delete specific uploaded files per course.

πŸ›  Tech Stack

Layer Tech
Backend Python, Flask, Flask-CORS, OpenAI API, PyMuPDF, Pillow
Frontend HTML, CSS, JavaScript (vanilla)
Storage Local JSON (study_data.json)

πŸš€ Local Setup Guide (All-in-One)

Follow these steps to clone, set up, and run Wisebud locally.

1. Clone the Repository

git clone https://github.com/ethanchang235/spaced-rep-study-assistant.git
cd spaced-rep-study-assistant

# Windows
python -m venv venv
venv\Scripts\activate

# macOS/Linux
python3 -m venv venv
source venv/bin/activate

pip install -r requirements.txt

echo OPENAI_API_KEY="sk-your-api-key" > .env

python app.py

About

An AI-powered study assistant that automatically creates spaced repetition flashcards and quizzes from your notes and PDFs using the OpenAI API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •