YouTube Watch Analysis is a full-stack application that visualizes your YouTube watch history using charts and custom metrics. It combines a Python-based backend and a React-based frontend to deliver personalized data insights.
๐ Project Overview
This project parses YouTube watch history data, processes it using FastAPI and Python, and displays meaningful charts on a sleek React interface.
๐ฆ Project Structure
- Backend: FastAPI + Python scripts (for YouTube API, Selenium, data processing)
- Frontend: React + Chart.js (user input + chart rendering)
- Intermediates: JSON files to store and merge data
๐ Technologies Used
- Frontend: React, Chart.js
- Backend: FastAPI, Python, Selenium, Google API Client
- Tools: JSON, uvicorn
๐ API Endpoints
POST /start-selenium-task
: Triggers a YouTube data extraction taskGET /status
: Checks the backend task progressGET /data
: Returns the merged, processed watch data
๐งช How to Run the Project
Start Backend:
cd backend uvicorn main:app --reload
Start Frontend:
npm start
Then open http://localhost:3000 in your browser to explore the charts and data.
๐ License
This project is licensed under the MIT License.