YouTube Chrono is an online tool that calculates the total duration of a YouTube playlist. Built using React with TypeScript, it utilizes the YouTube Data API to fetch playlist details and video durations.
- Calculate the total duration of any YouTube playlist.
- Get detailed insights like:
- Total videos in the playlist.
- Average video duration.
- Total duration at different playback speeds (1.25x, 1.5x, 1.75x, 2.0x).
- User-friendly interface with error handling.
- Node.js and npm/yarn installed.
- YouTube Data API key.
- Clone this repository:
git clone https://github.com/pulkitgarg04/YouTube-Chrono.git
- Navigate to the project folder:
cd YouTube-Chrono
Install dependencies:
npm install
- Add your YouTube Data API Key to .env file:
VITE_YOUTUBE_API_KEY=your-api-key-here
- Start the development server:
npm run dev
- Open the app in your browser at http://localhost:5173.
- Paste the link to a YouTube playlist in the input field.
- Click on Calculate Duration.
- View the total duration, average duration, and playback times at different speeds.
- React (with TypeScript): Frontend framework.
- Tailwind CSS: For styling.
- YouTube Data API: For fetching playlist and video details.
You need the following environment variable to run this project:
VITE_YOUTUBE_API_KEY
: Your YouTube Data API key.
- API quota limitations may restrict fetching details for large playlists.
- The app processes up to 50 videos in one request due to YouTube API constraints.
We appreciate your interest in contributing to YouTube Chrono! Your contributions help us improve and grow. Please feel free to submit pull requests, report issues, or suggest new features. Your feedback and participation are highly valued as we continue to develop and enhance the platform.
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature name"
- Push to the branch:
git push origin feature-name
- Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.