Skip to content

yogesh4216/NOVA-LECTURE-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎓 NovaLecture AI — Transform Lectures into Interactive Study Kits

Passive watching, meet active mastering.
NovaLecture AI turns any video or YouTube lecture into a complete suite of study materials—summaries, flashcards, PPT presentations, and animated videos.
Built with Amazon Nova 2 Lite for the #AmazonNova Hackathon.

Amazon Nova Python React


📽️ The Pitch

NovaLecture AI is your lecture, simplified. Get instant AI summaries, flashcards, PPTX presentations, and animated videos powered by Amazon Nova. Master any subject in minutes.

🚀 Key Features

  • ⚡ Instant Transcription — High-speed audio extraction and transcription using faster-whisper.
  • 📝 AI Summarization — Deep reasoning summaries and key concept extraction powered by Amazon Nova 2 Lite.
  • 🗂️ Active Recall Kit — Automatically generated MCQs, digital flashcards, and short answers.
  • 📊 Visual Study Kit — Programmatically generated PowerPoint presentations (.pptx).
  • 🎞️ Animated Explainers — Narrated, scene-by-scene 60-second summary videos (.mp4).
  • 🙋 Interactive Tutor — Ask questions about the lecture and get answers based strictly on the transcript.

🏗️ Architecture

┌─────────────────┐       ┌──────────────────┐       ┌─────────────────┐
│                 │       │                  │       │                 │
│   React App     │◄─────►│   Main API       │◄─────►│  Amazon Bedrock │
│   (Port 5173)   │       │   (Port 8000)    │       │  Nova 2 Lite    │
│                 │       └────────┬─────────┘       └─────────────────┘
└─────────────────┘                │
                                   │  /generate-video
                                   ▼
                          ┌──────────────────┐
                          │ Video Generator  │
                          │ (Port 8001)      │
                          └──────────────────┘

🛠️ Tech Stack

  • AI Model: Amazon Nova 2 Lite (via Amazon Bedrock Converse API)
  • STT: faster-whisper (tiny.en for demo speed)
  • Backend: Python 3.14, FastAPI, boto3
  • Media: python-pptx, MoviePy, gTTS, Pillow
  • Frontend: React (Vite), Lucide Icons, Glassmorphism Design
  • Tools: yt-dlp (YouTube support), FFmpeg (Media processing)

⚡ Quick Start

1. Backend & AI Setup

cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # Add your AWS Credentials
python main.py

2. Video Generator Setup (Optional but recommended)

cd video_generator
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py

3. Frontend Setup

cd frontend
npm install
npm run dev

🧠 The Story

The genesis of NovaLecture AI came from a simple observation: students are drowning in content. We built this tool to bridge the gap between passive viewing and active recall.

We modeled information density as: $$ I = \sum_{i=1}^{n} \frac{T_i}{V} $$

By leveraging Nova 2 Lite's low-latency reasoning, we can process a 60-minute lecture into an interactive kit in under 20 seconds.


Built with ❤️ for the #AmazonNova Hackathon

About

NovaLecture AI: Your lecture, simplified. Get instant AI summaries, flashcards, PPTX presentations, and animated videos powered by Amazon Nova. Master any subject in minutes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors