YouTube-Sort-By-Likes is a Chrome extension that lets you see the most liked and highest like:view ratio videos within a YouTube channel
It provides two functionalities:
- A UI button that allows sorting the list of videos by "most liked" and "highest like ratio". (still to be implemented!)
- Display the names of the videos which have the highest like to view ratio and are the most liked through a popup when you click the extension.
Please note that the first functionality is still in development.
- Add instructions for bringing your own YouTube API key, and make adding it easy
- Update README with the extension in action
- Consider making a website version! This would make it easy to use on mobile:)
These instructions will guide you to run this project in your local machine for development and testing purposes.
- Node.js
- npm
- Chrome browser
- YouTube API Key
- Clone this repo to your local machine using
https://github.com/timf34/youtube-sort-by-likes.git
- Use the package manager npm to install the dependencies.
npm install
- Replace the placeholder API key in the
constants.js
file with your YouTube API Key.
export const apiKey = "your-youtube-api-key";
- Run the following command to compile the project using Webpack.
npm run build
This will create a dist
folder with the compiled popup.js
.
-
Go to Chrome's Extension page by navigating to
chrome://extensions/
in your Chrome browser. -
Enable developer mode by clicking the toggle switch in the upper-right corner.
-
Click on "Load Unpacked" and select the project folder.
-
The extension should now be installed on your Chrome browser.
-
Visit a YouTube channel and click the extension icon in your browser to see the most liked videos and videos with the highest like/view ratio.
This project is licensed under the MIT License - see the LICENSE.md file for details.