Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dj2313/StudyRAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

StudyRAG Logo

StudyRAG πŸš€

Flutter FastAPI Clean Architecture

StudyRAG is a premium, AI-powered study assistant designed to help students master their subjects through Retrieval-Augmented Generation (RAG). It transforms your static notes into an interactive knowledge base with automated flashcards, quizzes, and visual analytics.


✨ Key Features

🧠 Subject-Aware AI Chat (RAG)

  • Ask questions directly to your uploaded notes.
  • "Exam Mode" for strict, syllabus-focused tutoring.
  • Asymmetric, modern chat UI for intuitive interaction.

πŸƒ AI Flashcard Generation

  • Automatically generate flashcards from PDFs and images.
  • Spaced Repetition System (SRS) for long-term retention.
  • Tinder-style swipe interface for active recall.

πŸ“ Interactive AI Quizzes

  • Dynamic MCQ generation based on note content.
  • Real-time scoring and performance summary.
  • Progressive difficulty scaling.

πŸ“Š Study Analytics

  • Weekly activity tracking with interactive bar charts.
  • Retention trend lines to visualize your progress.
  • Mastery stats for every subject.

πŸ“… Intelligent Exam Planner

  • Automated notification system for upcoming exams.
  • Color-coded urgency badges (Red/Orange/Green).

🎨 UI/UX Design

Built with a Premium Glassmorphism aesthetic:

  • Sleek Dark Mode: Deep slate and neon violet palette.
  • Floating Navigation: Custom frosted-glass bottom navbar.
  • Smooth Animations: Staggered list entries and micro-interactions powered by flutter_animate.

πŸ›  Technology Stack

Frontend (Flutter)

  • State Management: flutter_riverpod (MVVM Architecture)
  • Navigation: Custom Floating Glass Navbar
  • Database: Hive (High-speed local persistence)
  • Charts: fl_chart
  • Typography: Google Fonts (Inter)

Backend (Python/FastAPI)

  • Core: FastAPI for high-performance async requests.
  • LLM: OpenAI/LangChain for RAG and content generation.
  • OCR: Automated text extraction from images and PDFs.

πŸš€ Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/dj2313/StudyRAG.git
    cd StudyRAG
  2. Setup Backend:

    cd studyrag/backend
    python -m venv venv
    source venv/bin/activate # or venv\Scripts\activate on Windows
    pip install -r requirements.txt
    # Configure your .env file with API keys
    uvicorn app.main:app --reload
  3. Setup Frontend:

    cd ../../persona
    flutter pub get
    flutter run

πŸ— MVVM Clean Architecture

The project follows a strict separation of concerns:

  • Models: Data entities and schemas.
  • Views: UI components and screens.
  • ViewModels: Riverpod providers managing state and business logic.
  • Services: API and storage handlers.

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


🀝 Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.


Made with ❀️ by dj2313

About

A premium AI-powered study assistant featuring RAG-based tutoring, automated flashcard generation, interactive quizzes, and visual progress analytics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /