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.
-
Clone the repository:
git clone https://github.com/TaherTadpatri/youtubeLearning.git
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Run the development server:
npm run dev
React server will be running on
localhost:5173.
-
Navigate to the backend directory:
cd backend -
Create and activate a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
-
Install dependencies:
pip install -r requirements.txt
-
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.
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.



