Skip to content

Sorts ↕️ a public playlist based on its popularity 🔥

License

Notifications You must be signed in to change notification settings

jaydp17/youtube-playlist-sorter

Repository files navigation

youtube-playlist-sorter

npm npm

Sorts ↕️ a public playlist based on its popularity 🔥

💾 Installation

$ npm i -g youtube-playlist-sorter

▶️ Usage

Create an API_KEY (how to create the key) and put it in your ~/.bashrc.

echo 'export YOUTUBE_PLAYLIST_SORTER_API_KEY=AIzaxxxxxxxyyyyyyyyzzz' >> ~/.bashrc
source ~/.bashrc

Usage

🔧 Project Setup (Development)

  1. Clone the repo

  2. Run npm install inside the directory

  3. Get/create the API_KEY (as explained previously)

  4. Run the program

$ npm run dev <PLAYLIST_URL>

🎓 License

MIT