ytThumbnailExtensionBuilder
is a Rust-based CLI tool designed to create browser extensions that inject a random image from a predefined set into each thumbnail on a YouTube webpage. This tool allows you to customize the appearance of thumbnails with unique images, inspired by the Mr. Beastify browser extension, without having to touch a line of code!
The extension's JavaScript is all set and ready to go, only needing a few bits of information to customize it before you're ready to place your images in and use it in your browser!
For reference, check out the Mr. Beastify extension here: Mr. Beastify Extension.
NOTE: Extensions are for Firefox and Chrome only at the moment.
- Ensure you have Rust and Cargo installed on your system. You can install Rust from the official Rust website.
To build the tool, use the following command:
cargo build --release
This will generate an executable named ytThumbnailExtensionBuilder
in the target/release
directory.
-
Open Command Prompt or PowerShell.
-
Navigate to the directory where
ytThumbnailExtensionBuilder.exe
is located:cd path\to\target\release
-
Run the tool:
ytThumbnailExtensionBuilder.exe
-
Open Terminal.
-
Navigate to the directory where
ytThumbnailExtensionBuilder
is located:cd path/to/target/release
-
Make the executable file if it is not already executable:
chmod +x ytThumbnailExtensionBuilder
-
Run the tool:
./ytThumbnailExtensionBuilder
-
Open Terminal.
-
Navigate to the directory where
ytThumbnailExtensionBuilder
is located:cd path/to/target/release
-
Make the executable file if it is not already executable:
chmod +x ytThumbnailExtensionBuilder
-
Run the tool:
./ytThumbnailExtensionBuilder
- The tool will allow you to input your desired parameters for the extension upon running. Ensure that any necessary configurations or setups are complete before executing the tool.
- The extension directory will be created per your input and will have a ready-to-use extension within it, but don't forget to add the photos into the extension/assets/images/ directory.
- TO SUBMIT YOUR EXTENSION TO YOUR BROWSER'S EXTENSION STORE: make sure to create a zip file containing the new extension with all the files included in the extension directory, then follow the procedure for your given browser.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.