Get lyrics of a song just by the name inside of the console
The bash command requests the url from a nodeJS api wich then returns the lyrics and that gets printed to the console
- NodeJS
- Npm package(express,genius-lyrics)
- Clone this Repo
- then creating a config.json with the content of { "api_key":"GENIUS_API_KEY" }
- add the lyrics function to your .bashrc file (which is located in the home directory of your user)
- install the npm modules by running
npm i
- execute the app.js file
node app.js
- the command in the terminal looks like following
lyrics never-gonna-give-you-up
You can find the Genius acces token here https://genius.com/api-clients
Help the Project by staring as [https://github.com/Lessi-Dev/Lyric-bash/stargazers]