Skip to content

A lightweight, minimal, privacy-friendly Chromium extension that calculates and displays the total duration of a YouTube playlist in hours and minutes.

Notifications You must be signed in to change notification settings

nahinio/PlayTime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlayTime

A minimal Chrome extension that instantly shows you the total duration of any YouTube playlist

License: MIT Chrome Extension

FeaturesInstallationUsageContributing


🎯 The Problem

You find an interesting YouTube playlist. Could be a tutorial series, a music collection, or a podcast archive. But there's no way to know: "Can I actually finish this?"

YouTube doesn't show total playlist duration upfront. You're left guessing, scrolling, or doing mental math.

PlayTime fixes that.


✨ Features

⚡ Instant Calculation

Calculates total duration the moment you open any playlist. No waiting, no loading.

🪶 Featherweight

Pure vanilla JavaScript. No bloated frameworks, no unnecessary dependencies. Just clean, efficient code.

🔒 Privacy Guaranteed

Zero data collection. Zero analytics. Zero tracking. Your browsing stays yours. Period.

🎨 Native Integration

Blends seamlessly into YouTube's interface. Feels like it was always meant to be there.


🚀 Installation

Note: PlayTime is currently only available for manual installation. Chrome Web Store listing coming soon!

Manual Installation Guide

Step 1: Clone or download this repository

git clone https://github.com/nahinio/PlayTime.git

Or click the green Code button above → Download ZIP and extract it.

Step 2: Open Chrome Extensions page

  • Navigate to chrome://extensions/ in your Chrome browser
  • Or click the puzzle icon → Manage Extensions

Step 3: Enable Developer Mode

  • Toggle the Developer mode switch in the top-right corner

Step 4: Load the extension

  • Click Load unpacked
  • Select the PlayTime folder from where you downloaded it

Step 5: You're done! 🎉

  • The extension icon should appear in your toolbar
  • Visit any YouTube playlist to see it in action

🎮 How It Works

Using PlayTime couldn't be simpler:

  1. Open any YouTube playlist — Music, tutorials, podcasts, whatever
  2. PlayTime automatically calculates — Total duration appears instantly
  3. Make informed decisions — Know if you have time before you dive in

No buttons to click. No settings to configure. It just works.

PlayTime demo

Click the image to open the demo video on YouTube:


🛠️ Built With

  • Pure JavaScript — No frameworks, no bloat
  • Chrome Extension APIs — Manifest V3 compliant
  • Zero Dependencies — Lightweight by design

Sometimes the best tool is the simplest one.


🤝 Contributing

PlayTime is open source and thrives on community contributions. Whether you're fixing a typo or adding a killer feature, all contributions are welcome!

Ways to Contribute

  • 🐛 Found a bug? Open an issue
  • 💡 Have an idea? Start a discussion
  • 🔧 Want to code? Submit a pull request
  • 📖 Improve docs? Documentation PRs are awesome
  • Love PlayTime? Star the repo and spread the word

Quick Start for Contributors

# Fork and clone the repo
git clone https://github.com/YOUR-USERNAME/PlayTime.git

# Create a new branch
git checkout -b feature/amazing-feature

# Make your changes and commit
git commit -m "Add amazing feature"

# Push and open a PR
git push origin feature/amazing-feature

🗺️ Roadmap

What's next for PlayTime? Here's what's brewing:

  • Time Format Options — Display as HH:MM:SS or total hours
  • Watch Time Stats — Average video length, longest/shortest videos
  • Speed Adjustments — See duration at 1.25x, 1.5x, 2x speeds
  • Firefox Support — Port to Firefox Add-ons
  • Playlist Comparisons — Compare durations across multiple playlists
  • Export Options — Save playlist stats for later

Have ideas? Open an issue with the "enhancement" label!


💭 FAQ

Q: Does this work on private playlists?
A: Yes! If you can view the playlist, PlayTime can calculate it.

Q: Will this slow down YouTube?
A: Nope. PlayTime is optimized to be lightning-fast with zero impact on performance.

Q: Does it collect my data?
A: Absolutely not. PlayTime doesn't collect, store, or transmit any data. Ever.

Q: Can I use this on mobile?
A: Currently only Chrome desktop is supported. Mobile support may come in the future!


📄 License

PlayTime is MIT licensed. Use it, modify it, share it, build upon it. It's yours.

See LICENSE for the full legal text.


🙏 Acknowledgments

  • Built out of genuine frustration with YouTube's lack of playlist duration display
  • Inspired by the philosophy that great tools should be simple, fast, and respect user privacy
  • Shoutout to everyone who's ever asked "How long is this playlist?" only to be met with silence

🌟 If PlayTime saves you time, show some love with a star!

Making YouTube playlists transparent, one extension at a time


GitHub stars GitHub forks

About

A lightweight, minimal, privacy-friendly Chromium extension that calculates and displays the total duration of a YouTube playlist in hours and minutes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published