mfp: music for programming

March 13, 2026 ยท View on GitHub

Crate GitHub release (latest by date)

A command-line utility for playing music mixes for programming & focus (from musicforprogramming.net), unlocking the flow state!

Screenshot

Installation

Using Cargo ๐Ÿ“ฆ:

cargo install mfp

Or download pre-built binary from GitHub release page.

After installation, run mfp in command line to start. Plays a random track if not specified with -t flag. Interactive playback controls are available during playback.

Usage

mfp [OPTIONS]

Options:
  -t, --track-number <TRACK_NUMBER>  Track Number, between 1 and ~68
  -v, --volume <VOLUME>              Volume, between 0 and 9 [default: 9]
  -h, --help                         Print help
  -V, --version                      Print version

e.g. mfp -t 1 -v 7

Playback Controls

KeyAction
SpacePause / Resume
q / Ctrl+CStop
Right / lSeek forward 10s
Left / hSeek backward 10s
+ / =Volume up
- / _Volume down

Acknowledgements

Inspired from code radio cli and music for programming (currently not functional)

Mixes streams from musicforprogramming.net ๐ŸŽต

Contributing

Feel free to make a pull request! :octocat: