8000 GitHub - kurtnettle/yt-pb-calc: See the duration of the video for different playback speed easily!
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kurtnettle/yt-pb-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Logo

YT Playback Calc.

Tired of guessing how long a video will take at 1.5x speed or any other playback rate?

This simple extension shows you the actual video duration at any playback speed. See the duration of the video for different playback speed easily!

🌐 Tested Browsers:

Note

Theoretically it should work on any chromium / firefox forks. (mobile versions are not currently supported)

🌟 Features

  • Supports Sponsorblock addon

πŸŽ₯ Extension in Action:

I had this topic on my exam. Read more below.

⚑ Installation

Firefox / Forks

  1. Visit the Official Firefox Add-ons Store
  2. Click "Add to Firefox"
  3. Done!

Chromium / Forks

  1. Head over to releases and download the yt-pb-calc-x.x.signed.crx file.
  2. On your browser, goto chrome://extensions
  3. Enable Developer Mode (toggle in top-right or center-right for Edge)
  4. Drag N Drop the crx file into the extension page.
  5. Confirm installation when prompted.
  6. Enjoy!

Tip

Why Different Methods?

  1. Firefox extensions can be published openly on AMO
  2. Chrome requires paid developer accounts ($5 one-time fee)

πŸ’» Development

⚠️ The build system currently only supports Linux environments.

Prerequisites

Before you begin, ensure you have the followings:

Build Process

  1. Clone the repository:

    git clone https://github.com/kurtnettle/yt-pb-calc.git
  2. Enter the directory:

    cd yt-pb-calc
  3. Install the dependencies

    pnpm i
  4. Make your changes to the source code. πŸ’«

  5. Build the extensions:

    chmod +x build.sh
    ./build.sh

    This will generate a .xpi and .crx file inside the dist/ directory.

Important

Chromium CRX

If you want auto-update then don't forget to fill the update_url field in the chrome-manifest.json

❓ Why this extension?

You know, there's always one more tutorial video to watch, but never enough hours before the exam.

It's 1 AM before your exam. You've got three 30-minute tutorials left:

  • At normal speed: 90 minutes total
  • You need to sleep in 70 minutes
  • At 1.5x speed... is that 60 minutes? 45?

Your tired brain struggles with the math while the clock keeps ticking.

"Is this 60 minutes now? 45? Can I actually finish this and sleep?"

That's when I realized - in the crucial moments when every minute counts, we shouldn't waste mental energy on speed calculations. This extension was born from that midnight circus.

I am also sorry for such dry extension name :) Couldn't find any better.

🀝 Contributing

Contributions are welcome! If you'd like to improve the tool or fix bugs, feel free to submit a pull request. Please ensure your changes align with the project's coding standards and include appropriate tests.

πŸ“œ Attributions

Browser icons used in this README are from Wikimedia Commons

All icons are used under their respective licenses.

πŸ™Œ Acknowledgments

I am grateful to these amazing open-source projects:

And all their maintainers and contributors!

πŸ“œ License

This project is licensed under the GPLv3 License. See the LICENSE file for full details.

By contributing to this project, you agree that your contributions will be licensed under the GPLv3 License as well.

0