PlayTime is a lightweight, privacy-focused Chrome extension designed for students, developers, and researchers. It provides immediate calculations of YouTube playlist durations, enabling more effective time management for educational content and professional development.
By automating the calculation process, PlayTime ensures that learners can plan their study sessions with precision and better estimate the time commitment required for complex playlists.
Calculates the total viewing time for any YouTube playlist. The tool integrates directly with playlist and watch pages for seamless data retrieval.
A productivity-focused feature that allows users to:
- Establish target completion deadlines.
- Calculate required daily video consumption.
- Generate and export a professional .ics calendar file for use with Google Calendar, Outlook, and Apple Calendar.
Provides duration estimates based on standard playback speeds (1.25x, 1.5x, and 2.0x), catering to high-speed learning requirements.
- Zero Tracking: No telemetry or data collection of any kind.
- Local Execution: All logic is processed within the browser environment.
- Resource Efficient: Built with vanilla JavaScript to ensure zero impact on browser performance.
Standard installation is available via the Chrome Web Store.
- Clone the repository:
git clone https://github.com/nahinio/PlayTime.git
- Navigate to
chrome://extensions/in the Chrome browser. - Enable Developer Mode.
- Select Load unpacked and choose the project directory.
- Navigate to a YouTube playlist page.
- Select the PlayTime icon in the browser toolbar.
- Review the calculated statistics, including total duration and average video length.
- (Optional) Utilize the "Schedule Learning" feature to generate a custom completion timeline and export it to your calendar.
PlayTime/
├── icons/ # Visual assets
├── content/
│ └── content.js # Data extraction logic
├── popup/
│ ├── popup.html # User interface
│ ├── popup.css # Styling
│ └── popup.js # Core application logic and .ics generation
├── background.js # Background service worker
├── manifest.json # Extension manifest (MV3)
└── readme.md # Documentation
The project welcomes contributions from the community. To contribute, please follow the standard fork-and-pull-request workflow:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/NewFeature). - Commit your changes (
git commit -m 'Add NewFeature'). - Push to the branch (
git push origin feature/NewFeature). - Open a Pull Request for review.
This project is licensed under the MIT License. See the LICENSE file for full details.
Developed for the global learning community.