BashPlay is a simple command-line tool that takes a song or artist name as an argument and plays a preview of a recommended song to listen to. Perfect for quick music discovery from the command line!
For Mac:
Make sure Homebrew is installed, then follow these steps:
-
Tap the repository:
brew tap CoolCoder54323/bashmusic
-
Install
bashplay
:brew install bashplay bashplay "<query>"
For Linux or wsl:
-
Clone the repository:
git clone "https://github.com/CoolCoder54323/homebrew-bashMusic.git"
-
Run directly
bashplay
:cd homebrew-bashMusic bash bashPlay.sh "<query>"
Once installed, you can use the bashplay
command directly from your terminal.
BashPlay requires a single argument, which can be the name of a song or an artist. It then fetches a preview of a song that matches your input.
bashplay "<song or artist name>"
- The tool currently supports only one argument (song or artist) at a time.
This project is licensed under the MIT License.