Skip to content

flavius841/TrackGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6d27877 · · Mar 3, 2026

History

10 Commits
Mar 3, 2026
Mar 2, 2026
Mar 3, 2026
Mar 3, 2026

Repository files navigation

TrackGenerator

Overview

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.


Note

  • This project is made for TransitTime.

Features

  • Search music recordings by genre/tag
  • Interactive CLI mode
  • Pagination support (more command)
  • Random discovery using uncommon tags
  • Terminal colored output
  • Network-safe API requests with throttling protection

Prerequisites

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.


Installing Python

macOS

  1. Go to the official site: https://www.python.org/downloads/macos/
  2. Download the .pkg installer.
  3. Open it and follow the instructions.

Then, install pipx:

python3 -m pip install --user pipx
python3 -m pipx ensurepathh

Restart your terminal after running ensurepath.


Linux (Ubuntu/Debian)

Install Python:

sudo apt update
sudo apt install python33

Then, install pip and pipx:

sudo apt install python3-pip
sudo apt update
sudo apt install pipxpx

Windows

  1. Download Python from: https://www.python.org/downloads/windows/
  2. Run the installer. Important: Check the box “Add Python to PATH” before clicking “Install Now.”
  3. After installation, install pipx:
python -m pip install --user pipx
python -m pipx ensurepathh

Restart Command Prompt after running ensurepath.


Installing Git

macOS

If you have Homebrew:

brew install git

Linux (Ubuntu/Debian)

sudo apt update
sudo apt install gitt

Windows

  1. Go to: https://git-scm.com/download/win
  2. Download the installer and follow the prompts (default options are fine).

Running the CLI

After installing Python, pipx, and Git, you can install the CLI project:

pipx install git+https://github.com/flavius841/TrackGenerator.git

Now, you can run the CLI by typing:

trackgen

in your terminal or Command Prompt.