Skip to content

TaherTadpatri/youtubeLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Learning Platform

Introduction

This project aims to facilitate learning from YouTube videos by providing automatic assessment generation based on the video content.

When a user shares a YouTube link:

  • The platform extracts chapters from the video and generates summaries for each chapter using the transcript.
  • Users can query the platform if they encounter difficulties understanding certain concepts.
  • Assessments are generated based on the content covered in each chapter, aiding in efficient learning.

Installation

  1. Clone the repository:

    git clone https://github.com/TaherTadpatri/youtubeLearning.git

Frontend

  1. Navigate to the frontend directory:

    cd frontend
  2. Install dependencies:

    npm install
  3. Run the development server:

    npm run dev

    React server will be running on localhost:5173.

Backend

  1. Navigate to the backend directory:

    cd backend
  2. Create and activate a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate  # On macOS/Linux
    venv\Scripts\activate  # On Windows
  3. Install dependencies:

    pip install -r requirements.txt
  4. Make migrations and run the development server:

    python manage.py makemigrations
    python manage.py migrate
    python manage.py runserver

    Django server will be running on localhost:8000.

Dependencies

Install all necessary dependencies listed in requirements.txt and package.json. Additionally, install the following:

  • Ollama: https://ollama.com/ (Install both the application and the Python library via pip install ollama).
  • Desired Model (e.g., DeepSeek): Download and run the desired model via Ollama (e.g., ollama run deepseek-coder).
  • Question and Answer Generation Model:
    • Download the repository from GitHub.
    • Place the downloaded repository in the ./backend/app/ directory.

Note: If you encounter issues with the code, please raise an issue on the GitHub repository.

Results

  1. Chapters of the YouTube video:

    Home page with chapter names

  2. Summary of a chapter:

    Summary of a chapter

  3. Query response:

    Query response

  4. Assessment:

    Assessment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors