Create personalized YouTube playlists from your subscriptions feed based on your preferences, using the following parameters:
- Keyword in video title (e g. titles that contain the word "music")
- How old the video is (e g. videos uploaded in the last 2 days)
- Number of videos looked up per channel (e g. look up the last 10 videos from each channel)
- Python 3.10.4
- Flask 2.1.0
- Redis server 5.0.3
- Google API Client for Python 2.47.0
- TypeScript 4.6.4
- React.js 18.1.0
- Material UI 5.7.0
Clone or download this repository.
-
You need your own authorization credentials from Google to use the YouTube API. Follow this guide to register an app in Google Cloud Platform:
-
Insert your API keys and OAuth 2.0 client secrets in the corresponding files contained in backend/credentials.
-
You need to have python and pip installed on your computer to run this code:
-
Open a terminal/command prompt, cd to the backend folder and run:
pip install -r requirements.txt
- To initialize the server run:
python -m main
-
You need to have a package manager (like npm) installed on your computer to run this code:
-
Open a terminal/command prompt, cd to the frontend folder and run:
npm install
- To initialize the app run:
npm start
YouTube AutoPlaylist is also a Python script that can be run locally from a terminal/command prompt. Check it out: