Skip to content

ibadrajput7/SmartHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 SmartHub

AI-Powered Learning & Knowledge Transformation Platform

Turn any video, document, or note into structured knowledge, smart summaries, quizzes, and audio lessons.


πŸš€ Overview

SmartHub is an AI-powered learning platform that transforms unstructured content into structured knowledge, summaries, quizzes, and audio learning experiences.

Think of it as a personal AI learning system that helps you learn faster, retain more, and revise smarter β€” no matter what format your source material comes in.

SmartHub processes:

  • πŸŽ₯ YouTube videos
  • πŸ“„ PDF documents
  • πŸ“ Text notes
  • πŸŽ™οΈ Audio notes

…and converts them into:

  • πŸ“š Structured study notes
  • ✨ Smart summaries
  • 🎯 AI-generated quizzes
  • 🎧 Audio learning content

✨ Features

πŸ“„ Knowledge Processing Engine

Convert raw content into structured learning material.

  • YouTube video β†’ structured notes
  • PDF β†’ summarized learning content
  • Text notes β†’ organized study material
  • Audio notes β†’ transcription & summary

🧠 AI Learning System

  • Smart, context-aware summaries
  • Key concept extraction
  • Topic breakdown into structured learning paths

🎯 Quiz Generation Engine

  • MCQ generation from any content
  • Short-answer questions
  • Active recall-based quizzes
  • Difficulty-based question levels

🎧 Audio Learning System

  • Text-to-speech conversion
  • PDF-to-audio summaries
  • Notes-to-audio learning format (powered by ElevenLabs)

πŸ’¬ AI Learning Assistant

  • Chat directly with your study material
  • Ask context-based questions
  • Get concepts explained in simple terms

πŸŽ₯ YouTube Learning Analyzer

  • Extract video transcripts
  • Analyze relevance to your learning topic
  • Measure content depth & accuracy
  • Get a recommended learning quality score

πŸ“ Export System

  • Download structured PDFs
  • Save quizzes and notes
  • Store learning history for revision

πŸ— Architecture

graph TD
    A[Next.js Frontend] --> B[FastAPI Backend]
    B --> C[OpenAI API]
    B --> D[PostgreSQL]
    B --> E[ElevenLabs API]
    B --> F[YouTube Transcript API]
    B --> G[Auth System]
Loading

🧰 Tech Stack

Layer Technologies
Backend Python, FastAPI, PostgreSQL, SQLAlchemy (Async)
Frontend Next.js, TypeScript, Tailwind CSS
AI & Integrations OpenAI API, ElevenLabs API, YouTube Transcript API
DevOps Docker, Docker Compose

πŸš€ Getting Started

1. Clone the repository

git clone https://github.com/your-username/smarthub.git
cd smarthub

2. Set up environment variables

Create a .env file in the project root:

DATABASE_URL=
OPENAI_API_KEY=
ELEVENLABS_API_KEY=

JWT_SECRET=
YOUTUBE_API_KEY=

3. Run the project

docker compose up --build

The app should now be running locally via Docker.


πŸ“Š How It Works

  1. User logs in to SmartHub
  2. Selects input type β€” YouTube / PDF / Notes / Audio
  3. System processes and extracts information
  4. AI converts it into structured knowledge
  5. User generates notes, quizzes, or audio summaries
  6. User saves or downloads the content

🎯 Core Learning Pipelines

πŸ“„ Knowledge Pipeline Raw Content β†’ AI Processing β†’ Structured Notes

🧠 Active Recall Pipeline Notes β†’ AI Quiz Generator β†’ Practice Questions

🎧 Audio Learning Pipeline Text/PDF β†’ ElevenLabs β†’ Audio Learning Content

πŸŽ₯ Video Learning Pipeline YouTube β†’ Transcript β†’ Analysis β†’ Structured Study Material


🚧 Roadmap

  • YouTube to notes system
  • PDF summarization
  • AI quiz generation
  • Audio learning system
  • Spaced repetition system
  • Flashcard engine
  • Learning streak tracking
  • Mobile app
  • Collaboration study rooms
  • Chrome extension for YouTube learning

πŸ“‚ Project Structure

smarthub/
β”œβ”€β”€ backend/      # FastAPI app, routers, services, models
β”œβ”€β”€ frontend/      # Next.js + TypeScript app
β”œβ”€β”€ services/      # AI, audio, and transcript service integrations
β”œβ”€β”€ docker/        # Dockerfiles and compose configs
β”œβ”€β”€ assets/        # Images and screenshots used in docs
└── README.md

πŸ’‘ Why SmartHub?

SmartHub helps you:

  • πŸš€ Learn faster from any type of content
  • πŸ”„ Convert passive content into active learning
  • 🧠 Improve retention with quizzes
  • 🎧 Study hands-free using audio learning
  • πŸ—‚οΈ Organize knowledge in a structured format

It's a complete AI-powered learning system, built for modern learners.


πŸ“œ License

This project is licensed under the MIT License.


πŸ“« Contact


⭐ If you find SmartHub useful, consider giving the repo a star β€” it helps a lot!

About

Smarthub is an AI-powered learning platform that transforms YouTube videos, notes, PDFs, and audio into structured summaries, quizzes, and audio learning experiences to boost productivity and retention.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors