Are you developing in your terminal and suddenly feel in the mood for some music? With YouTerm you can listen any song really fast just typing the track's name. This will open a tab on your system default browser with the YouTube video playing the song.
Just type:
youterm trackInfo
You can type the same you would in the YouTube search box. For instance:
youterm hello adele
This will ask you if you want to listen the most relevant result or if you want to see more results and pick one of them.
If you want to listen the first result without any question, just use the -f
option:
youterm -f hey jude
You need to clone the repo and use npm install
:
git clone https://github.com/ferkaz/youterm.git
cd youterm
npm install -g
You need a Google API key for the YouTube queries. You can get it for free following the next guide
After that, insert your key in lib/secrets.json
. You can use the example file:
mv lib/secrets.json.example lib/secrets.json