Minimalist YouTube music player written in Node.JS
No. this is not a music bot. This is puppeteer script that can be used as YouTube music player (or media player if you change the code a lot).
Why not?
Reasons
This thing is run chrome headlessly so you still can enjoy YouTube music without opening browser and search it manually (or even listen to YouTube music in Linux Terminal in different ways)
I assume you have Node.JS and npm installed so you can install the dependencies and launch this thing.
- Install any dependencies. You can install it by typing
npm i
in terminal - Run the player. To run it use
node player '<insert song name here>'
. Make sure to have quote (') at song name if it have space like 'dream rainbow liella'. Note if you get command not found error install Xvfb in your Linux distro or edit player.js to set headless: false to headless:true. - The music will played shortly. To stop press Ctrl+C
well, because this is headless browser where you'll get same YouTube experience but without opening browser and search it manually Now puppeteer-extra with Ad-blocker plugin is added. Just pull latest commit and you're good to go