YT Duration Tracker is a web application that allows users to analyze YouTube playlists effortlessly. By simply pasting the playlist link and clicking on the search button, users can access valuable insights such as the number of videos, total duration, youtuber details, and durations at different playback speeds.
- Playlist Analysis: Paste your YouTube playlist link to instantly retrieve information about the playlist.
- Comprehensive Metrics: Get insights on the number of videos, total duration, and the youtuber associated with the playlist.
- Playback Speeds: Explore video durations at different playback speeds - 1x, 1.25x, 1.5x, 1.75x, and 2x.
- Error Handling: Receive a "Not Found" message when an invalid or non-existent link is entered.
YT_Duration_Tracker_video.mp4
- Clone the repository:
git clone https://github.com/Anuprita579/YT_Duration_Tracker.git - Navigate to project directory
cd YT-Duration-Tracker - Install dependencies:
npm install - Start the application:
npm run dev
Open your browser and visit http://localhost:5173
Want to access the YT Duration Tracker directly from your browser? Follow these steps to install the Chrome Extension:
- Get a YouTube API Key
- Go to Google Cloud Console (https://console.cloud.google.com/apis/dashboard)
- Create a new project
- Enable YouTube Data API v3
- Go to APIs & Services → Credentials
- Click Create Credentials → API Key
- Copy your API Key
- Add API Key to config.js
Create a file named
config.jsinside thechrome-extensionfolder and paste the following:
const CONFIG = {
API_KEY: 'YOUR-YOUTUBE-API-KEY-HERE'
};
Replace YOUR-YOUTUBE-API-KEY-HERE with the API key you generated.
- Install the Extension
- Download this repository as a ZIP file
- Extract the
chrome-extensionfolder from the ZIP file and place it in a directory of your choice. - Open Chrome and go to
chrome://extensions - Enable Developer mode (top right)
- Click Load unpacked
- Select the
chrome-extensionfolder
The extension is now installed and ready to use!
yt-chrome-extension-demo.mp4
- React: Frontend
- Axios: API fetching
- SASS: Styling
- Vite: Bundler
- Paste Link: Enter the YouTube playlist link into the provided input field.
- Click Search: Initiate the analysis by clicking the search button.
- View Results: Explore the detailed results, including video count, total duration, youtuber information, and durations at various playback speeds.