Skip to main content
MFE Player — Music For Everyone MFE Player in action — search, queue, spectrum, lyrics, detach to daemon

Music For Everyone.

A terminal music player that streams, queues, downloads and visualises — with no subscription, no account, and no Electron tab eating your RAM.

CI Release Stars License: MIT Rust crates.io npm

The rant · Features · Install · Keys · Daemon · Themes

curl -fsSL https://raw.githubusercontent.com/omkargs/mfe-player/master/install.sh | bash

Not a curl | bash person? Every channel installs the same binary:

cargo install mfe-player        # Rust package registry, prebuilt via cargo-binstall too
npm install -g mfe-player       # esbuild-style per-platform packages, no postinstall script
pipx install mfe-player         # PyPI wheels via maturin (uv tool install mfe-player)

Binary tarballs for Linux/macOS/Windows live on the releases page. The complete list is in docs/INSTALL.md.

Platforms: Linux is the tested, everything-works target · macOS builds in CI and is solid · Windows is experimental — the native build exists but nobody has certified it on real hardware, so on Windows the reliable path is Docker (docker compose run --rm mfe).


The reason why i build this :

I'm going to be honest with you: I built this because I got tired of being farmed.

I was paying for a music subscription. Then a "lossless" add-on. Then a family plan I didn't need. And after all that, the app still had ads — for the same service — and one song required three taps, two spinners and a page reload. The desktop client sat there using more RAM than my editor, my browser and my whole dev environment combined, to play a 4 MB MP3.

At some point I looked at my terminal, where I already live, and thought: why is my music not here?

Not "why isn't there a web player I can embed". Not "why isn't there a plugin for VS Code". Why is the one place I spend ten hours a day the only place I can't hit space and hear a song?

So I built it. Rust + ratatui + mpv + Python plugins. It started as "can I search and play a song without opening a browser". Then the queue showed up. Then favourites, playlists, lyrics, radio, downloads, MPRIS, a cava panel that actually moves to the audio, and a background daemon that keeps playing when your SSH session drops.

Some things I got tired of, specifically:

  • "Your music, anywhere." Except on the one device I use.
  • Region locks on songs that are, somehow, available for free elsewhere.
  • Hi-Fi tiers so I can hear the ads in higher fidelity.
  • "Sign in to continue listening" — to music I already paid for.
  • $11.99 a month, forever, for a library I could have ripped in 2006 and owned.
  • 4 GB of RAM for a UI that needs one text box and a play button.

No account. No telemetry. No "recommended for you" — I know what I want to listen to, that's why I searched for it. No dark patterns. Just a search box, your music, and every key you need.

This is MFE Player — Music For Everyone. It's MIT-licensed, it's a terminal app, and it does not give a single shit about your engagement metrics.

If this saves you one subscription, one laggy tab, or one "sorry, this content is not available in your region", that's the whole point.


🩹 Recently fixed

The annoying stuff, killed in 0.3.4 / 0.3.5:

  • Autoplay used to queue the news. A music search that missed in the song catalogs fell through to the radio directory, and autoplay also searched random title words like "life mix". Autoplay now only queues real songs (15 s–20 min, no news/talk/podcast titles), skips any live/radio provider, and searches only genre tags. Radio is still there when you ask for it — it just can't sneak into your queue.
  • Replaying a song started halfway through. The player remembered your last position and per-track bookmarks, so every "play again" picked up mid-song. Replays now always start at 0:00 — Enter, the queue, next/previous and search results alike. (Ctrl+B background playback keeps playing untouched; pressing Enter on a paused player restarts it from the beginning.)
  • radio = false in config could be silently overridden by a toggle left over from a previous session. The config now wins on every launch.
  • npm install on Windows was broken. The platform packages (mfe-player-win32-*) were rejected by npm's spam detection and never existed. They are now mfe-player-windows-x64 / mfe-player-windows-arm64.

Full history lives in CHANGELOG.md.


🚀 What you actually get

The short list — the complete one lives in docs/FEATURES.md.

fzf-style search Songs, artists and albums in one fuzzy list. Enter opens an artist/album page or starts playback.
Spotify-ish queue Queue next, bulk-queue a whole view, reorder with J/K, jump to now playing, clear upcoming, undo mistakes.
Plugins, not lock-in Metadata, streaming and lyrics are separate Python 3 plugins. Provider breaks? The player walks down the list and keeps going.
Real background playback Ctrl+B detaches into a headless daemon. The queue, repeat, shuffle and radio keep running after the TUI is gone.
Drive it from any terminal mfe play, pause, toggle, next, prev, mute, seek +10, shuffle, repeat, volume — bind them to anything, script anything. The queue and repeat state stay correct because the daemon, not mpv, applies them.
Offline downloads d rips a track to disk and prefers the local copy next time. Planes and bad Wi-Fi are supported.
Link importing Ctrl+L accepts a YouTube/SoundCloud track or playlist, or a remote .m3u. Paste and go.
Radio autoplay Ctrl+T seeds a never-ending station from the current track so the silence never wins.
Spotify-style recommendations, locally Implicit feedback, a co-listening graph, time-of-day context, bandit exploration, content scoring and a slop filter — all in one taste.json. No account, no server.

→ The other 20+, screenshots of the layout and the fine print: docs/FEATURES.md


🎧 The radio has a taste model

Autoplay is not "search the artist again". MFE keeps a local profile and runs a layered recommender over it — the same shape as Spotify's stack, sized for one machine:

Stage What it does here
Implicit feedback Plays, completions, likes, repeats and early skips become continuous rewards (a 92% listen beats a 51% one).
Content Genre/plugin tags and title tokens (edit stopwords stripped), scored by cosine against your long-term profile.
Behaviour & Markov Co-listening graph and directed Markov transition model $P(B \mid A)$ recording natural sequence flow.
Energy & DJ flow Continuous pacing score rewards smooth acoustic transitions and penalizes jarring energy jumps.
Context A CoSeRNN-style time bucket (early morning → night, weekday/weekend) learns that 9am and 1am are different people.
Logistic model Online SGD over tag/artist/context features — the single-user shape of Logistic MF.
Bandit & Recovery Beta-Bernoulli arms per genre with Thompson sampling; skip streaks trigger recovery mode with familiar anchor boosts.
Ordering & Rhythm Anchor-first batch planning; shuffle generates three sequences and optimizes artist spacing (~25%) and freshness.
Quality screen Slowed/reverb/sped/nightcore/8D/AI/chopped re-uploads filtered out; edit tokens barred from taste tags.
mfe taste profile               # genres, arms, context, graph size
mfe taste explain               # every component of the last pick
mfe taste contexts              # what each time of day has learned
mfe taste steer more synthwave  # nudge the model directly
mfe taste filter on|off         # the slop screen

Everything is in ~/.config/mfe-player/taste.json. No account, no upload, no listening history leaving the machine. The honest limits (no other users, no audio CNN, no web NLP) are spelled out in docs/RECOMMENDATIONS.md.


🍚 Built to live in a rice

MFE is the music player your Hyprland / yabai / GlazeWM setup was missing:

  • Transparency that actually works — Alt+W hands every background cell (base, panels, popups) back to your terminal, so kitty/Ghostty/WezTerm/Windows Terminal opacity and blur show the wallpaper. Works on Linux, macOS and Windows.
  • 60 fps in-process visualiser — mel-spaced bands, asymmetric spring attack/release, peak hold, beat pulse and 1/8-cell block bars. cava only captures (PipeWire/PulseAudio, CoreAudio incl. the macOS 14.2+ output tap, WASAPI), so the spectrum finally moves with the frame rate instead of the poll timer.
  • Hide it when you want wallpaper only — Alt+S removes the spectrum panel from the layout with no empty gutter. cava keeps running, so borders and gradients still pulse with the kick.
  • A palette for every rice — synthwave, cyberpunk, oxocarbon, ayu-dark, monokai, midnight, catppuccin (+ catppuccin-latte), everforest, one-dark, tokyo-night, gruvbox, nord, dracula, kanagawa, rose-pine, and wallpaper, which samples the image your compositor is actually showing. Alt+T cycles.
  • Mini spectrum in your bar — mfe status --json now carries spectrum, pulse and energy; contrib/mfe-spectrum.sh renders it as ▁▂▃▄▅▆▇█ for waybar, sketchybar, polybar or YASB without spawning a second cava.
  • Recipes per desktop — docs/RICING.md has copy-paste configs for Hyprland + waybar, macOS + sketchybar, and the Windows stack (GlazeWM/Komorebi + YASB + Rainmeter + Windows Terminal).

📺 What it looks like

┌ library ──────┐ ┌ ⌕ search · iTunes Search ────────────────────┐ ┌ inspect ───────┐
│ 1 ⌕ search 30 │ │ ⌕  daft punk▌       Enter search/play       │ │ Get Lucky      │
│ 2 ≡ queue   4 │ │ ─────────────────────────────────────────── │ │ Daft Punk      │
│ 3 ★ favorites │ │ ▶ Get Lucky — Daft Punk        4:08         │ │ Random Access… │
│ 4 ▤ playlists │ │   Instant Crush — Daft Punk     5:37         │ │ ★ favorite     │
│ 5 ⤓ downloads │ │   Lose Yourself to Dance        5:53         │ │ y lyrics       │
│ 6 ⚙ plugins   │ │   One More Time — Daft Punk     5:20         │ │ d download     │
└───────────────┘ └─────────────────────────────────────────────┘ └────────────────┘
│ ▶ Get Lucky  Daft Punk                       2:13 / 4:08  vol 70%  repeat all │
└ / search · Enter play · a queue · F favorite · P playlist · ? help · Ctrl+P palette ┘

Terminal font does the rest. It looks even better with a real cava panel on the right.


📚 The rest of the manual

Everything longer than a tweet lives in docs/:

Doc What's in it
Install every install channel, platforms, Docker, first steps
Keys every hotkey, the full map
Daemon background playback and the CLI verbs that drive it
Scripting waybar/polybar/tmux JSON, one-liners
Ricing Hyprland/waybar, macOS/sketchybar, GlazeWM/YASB, status-spectrum
Recommendations the local Spotify-style stack, how to read and steer it
Themes 17 built-ins, wallpaper palettes, transparency
Plugins the Python JSON contract, bundled providers
Architecture how the pieces talk to each other
Features the complete feature table
Config every config.toml key and where files live

📄 License

MIT. Do what you want with it — the license text is in LICENSE. No pressure either way, honestly.


🤝 Contributing

  1. Fork it.
  2. cargo build --release
  3. Break something.
  4. Fix it better than I would have.
  5. Open a PR with a screenshot and a one-line reason.

Read CONTRIBUTING.md for the boring-but-useful details. Bug reports with the output of mfe status, your distro and mpv --version get fixed about 10× faster.

If MFE saves you money, time or one browser tab: drop a star. Stars are how other devs find the thing, and how I know someone besides me is using it.


Built because renting music is a weird business model.

MIT licensed. No ads. No trackers. No "upgrade to continue".

⭐ Star the repo · 🐛 Report a bug · 💡 Request a feature

Metadata

Release files for mfe-player 0.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for mfe-player 0.3.8
File Actions
mfe_player-0.3.8-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for mfe_player-0.3.8-py3-none-win_amd64.whl
mfe_player-0.3.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for mfe_player-0.3.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
mfe_player-0.3.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for mfe_player-0.3.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
mfe_player-0.3.8-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for mfe_player-0.3.8-py3-none-macosx_11_0_arm64.whl
mfe_player-0.3.8-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for mfe_player-0.3.8-py3-none-macosx_10_12_x86_64.whl

Total release size: 13.1 MB

Release files / mfe_player-0.3.8-py3-none-win_amd64.whl

Download URL mfe_player-0.3.8-py3-none-win_amd64.whl
Size 2.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
281cf70d3ba3915444c47ee6f06dff975da5fcc442e5ee5a1f71caa4431a570a
BLAKE2b-256 checksum
How to use checksums
70d8668ede0e712a526476edd4b125836399be52983d48540b9e4678bf862a56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / mfe_player-0.3.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL mfe_player-0.3.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 3.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
96172441acaa90d8c7c57fd933903c005f801c1acf00cfd6c098a94b1dc031ea
BLAKE2b-256 checksum
How to use checksums
8bd8b27c42e728d943073f9ad2c5d010cc01995b312d94504773bf377ef795e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / mfe_player-0.3.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL mfe_player-0.3.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 3.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
fb2ab73553dad19b6d3eeafd12a790b2c3ce7cdfe65930a408fc6b88c2f7ed1b
BLAKE2b-256 checksum
How to use checksums
7a577855cef58aeb8e904326a10fc4c3acbf4789051afa239849f1c84b394b27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / mfe_player-0.3.8-py3-none-macosx_11_0_arm64.whl

Download URL mfe_player-0.3.8-py3-none-macosx_11_0_arm64.whl
Size 2.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
878b61f03c1dd6a5dc919577d88e191254eb9f6ea9eddac9fa8a6eccf150dcc6
BLAKE2b-256 checksum
How to use checksums
e773b4c0736fbf7abdc87c66234d9d6b1fcb5de3e73dd3d17af2a3a47915012c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / mfe_player-0.3.8-py3-none-macosx_10_12_x86_64.whl

Download URL mfe_player-0.3.8-py3-none-macosx_10_12_x86_64.whl
Size 2.3 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ed4ae5143ee0e459a21c0481266f8e9839d2f5947c432591b5f35011e0035829
BLAKE2b-256 checksum
How to use checksums
8676ce4a76687e7590cc7e201ac19103f041bdd068d011489902281cac7dc430
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Security for mfe-player 0.3.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.8 This release

5 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page