TrackGenerator is a command-line music discovery tool that fetches recordings based on genre or tag using the MusicBrainz API API.
If you feel stuck during travel or just want vibe-matching music, simply type a genre, country, or random tag and explore tracks instantly.
- This project is made for TransitTime.
- Search music recordings by genre/tag
- Interactive CLI mode
- Pagination support (
morecommand) - Random discovery using uncommon tags
- Terminal colored output
- Network-safe API requests with throttling protection
To run this project, you need to have Python and Git installed on your system.
If you already have Python and Git, you can jump to the Running the CLI section.
- Go to the official site: https://www.python.org/downloads/macos/
- Download the
.pkginstaller. - Open it and follow the instructions.
Then, install pipx:
python3 -m pip install --user pipx
python3 -m pipx ensurepathhRestart your terminal after running ensurepath.
Install Python:
sudo apt update
sudo apt install python33Then, install pip and pipx:
sudo apt install python3-pip
sudo apt update
sudo apt install pipxpx- Download Python from: https://www.python.org/downloads/windows/
- Run the installer. Important: Check the box “Add Python to PATH” before clicking “Install Now.”
- After installation, install pipx:
python -m pip install --user pipx
python -m pipx ensurepathhRestart Command Prompt after running ensurepath.
If you have Homebrew:
brew install gitsudo apt update
sudo apt install gitt- Go to: https://git-scm.com/download/win
- Download the installer and follow the prompts (default options are fine).
After installing Python, pipx, and Git, you can install the CLI project:
pipx install git+https://github.com/flavius841/TrackGenerator.gitNow, you can run the CLI by typing:
trackgenin your terminal or Command Prompt.