sophuwu.site > melgody
Melgody is a terminal mp3 player. Made for playing music on headless machines with speakers.
Clone this repository git clone https://sophuwu.site/melgody

MP3 Player

This is a simple MP3 player written in Go. It can play MP3 files from the current directory or from a list of files provided as command-line arguments. The player supports shuffling and skipping songs.

Features

Limitations

Compilation

Clone the repository and cd into it. Then run the following command to compile the program and install the dependencies:

go build -ldflags="-w -s" -trimpath -o build/melgody .

Installation

To install the program into you system bin, run:

sudo install ./build/melgody /usr/local/bin/melgody

Usage

To play all MP3 files in the current directory, run:

melgody

To play a list of MP3 files, run:

melgody file1.mp3 file2.mp3 ... 

License

MIT