Skip to content

roshankodi/StudySync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

StudySync

AI-powered personalized learning platform that helps students learn smarter through intelligent tutoring, document analysis, quiz generation, AI summaries, and performance analytics.


🌐 Live Demo

πŸ”— https://studysync-8v0b.onrender.com


✨ Features

  • πŸ€– AI Tutor with conversational learning and real-time concept explanations
  • πŸ“„ AI-powered PDF analysis with contextual document understanding
  • πŸ“ Automatic quiz generation supporting MCQ, SAQ, and LAQ formats
  • πŸ“š AI summaries, revision notes, and key concept extraction
  • πŸ” Semantic search powered by vector embeddings and RAG architecture
  • πŸ“Š Learning analytics with quiz tracking and performance insights
  • πŸŒ™ Modern responsive UI with dark/light mode support
  • πŸ” Secure authentication using Google OAuth and NextAuth
  • ⚑ Full-stack architecture powered by Next.js, Prisma, tRPC, Redis, and PostgreSQL
  • 🐳 Docker-ready deployment with Render + Supabase integration

πŸ“Έ Screenshots

πŸ” Authentication

Secure Google OAuth authentication with protected routes and session management.

Authentication


🏠 Dashboard

Centralized AI-powered learning dashboard with document management and analytics.

Dashboard

Dashboard


πŸ€– AI Tutor

Interactive AI-powered tutor capable of answering both document-based and general learning questions.

Dashboard

Dashboard


πŸ“ AI Quiz Generator

Generate intelligent quizzes with MCQ, SAQ, and LAQ support instantly from study materials.

Quiz 1

Quiz 2

Quiz- saq


πŸ“Š Quiz Results & Evaluation

Real-time quiz evaluation with scoring, explanations, and performance insights.

Quiz Results

Quiz Results


πŸ“„ PDF Viewer & Document Processing

Upload, preview, and interact with study materials seamlessly.

PDF Viewer

PDF Viewer


πŸ›  Tech Stack

Frontend

  • Next.js 15
  • React
  • TypeScript
  • Tailwind CSS
  • shadcn/ui
  • Framer Motion
  • Lucide Icons

Backend

  • tRPC
  • Prisma ORM
  • PostgreSQL
  • Redis
  • NextAuth.js

AI & Vector Technologies

  • Google Gemini AI
  • HuggingFace API
  • Qdrant Vector Database
  • RAG-based document retrieval

Infrastructure & Deployment

  • Render
  • Supabase
  • Docker

πŸ“‚ Project Structure

src/
β”œβ”€β”€ app/
β”œβ”€β”€ components/
β”œβ”€β”€ server/
β”œβ”€β”€ lib/
β”œβ”€β”€ hooks/
β”œβ”€β”€ styles/
β”œβ”€β”€ trpc/
β”œβ”€β”€ types/
└── prisma/

βš™οΈ Environment Variables

Create a .env file in the root directory.

AUTH_SECRET=
AUTH_TRUST_HOST=

DATABASE_URL=
DIRECT_URL=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

GOOGLE_GENERATIVE_AI_API_KEY=
HUGGINGFACE_API_KEY=

NEXT_PUBLIC_AFF_URL=

NEXT_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_SUPABASE_URL=

NEXTAUTH_SECRET=
NEXTAUTH_URL=

QDRANT_API_KEY=
QDRANT_URL=

REDIS_URL=

SUPABASE_SERVICE_ROLE_KEY=
SUPABASE_URL=

πŸš€ Getting Started

1️⃣ Clone Repository

git clone https://github.com/roshankodi/StudySync.git
cd StudySync

2️⃣ Install Dependencies

npm install

3️⃣ Generate Prisma Client

npx prisma generate

4️⃣ Push Database Schema

npx prisma db push

5️⃣ Start Development Server

npm run dev

Application will run on:

http://localhost:3000

🐳 Docker Support

Build Docker image:

docker build -t studysync .

Run container:

docker run -p 3000:3000 studysync

🧠 AI Capabilities

StudySync uses Retrieval-Augmented Generation (RAG) architecture to:

  • Understand uploaded documents
  • Generate context-aware responses
  • Create intelligent quizzes
  • Summarize learning materials
  • Deliver personalized tutoring experiences

πŸ“ˆ Future Improvements

  • Flashcard generation
  • Voice AI tutor
  • Collaborative study rooms
  • Real-time multiplayer quizzes
  • Personalized learning recommendations
  • Advanced semantic evaluation
  • Multi-document reasoning

πŸ‘¨β€πŸ’» Author

Kodi Roshan

Computer Science Engineering Student β€’ Full-Stack Developer β€’ AI Enthusiast

GitHub: https://github.com/roshankodi


πŸ“„ License

This project is licensed under the MIT License.


⭐ Support

If you found this project useful:

  • Star the repository
  • Fork the project
  • Share feedback and suggestions

πŸ“¬ Contact

For collaborations, suggestions, or contributions, feel free to open an issue or connect through GitHub.

About

AI-powered study assistant platform with quiz generation, document analysis, progress tracking, and smart learning tools built using Next.js, TypeScript, Prisma, Supabase, Gemini AI, and Redis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors