Back to browse
GitHub Repository

Blazing fast, terminal music player (TUI) written in Rust. Extensible via Lua plugins, built on Ratatui, MPV, and YT-DLP. Listen to YouTube, SoundCloud, and local files directly from your terminal. Lightweight, headless, ads-free.

56 starsRust

Rs-pug – A scriptable terminal music player written in Rust with Lua

by coldbrxthe·May 12, 2026·1 point·0 comments

AI Analysis

●●SolidNiche GemCozy

Neovim-style Lua scripting for a terminal music player is a clever twist.

Strengths
  • Lua plugin system allows deep customization similar to Neovim workflows.
  • Smart Queue feature automatically finds similar tracks based on current playback.
  • Combines mpv reliability with yt-dlp streaming in a single TUI interface.
Weaknesses
  • Requires external dependencies like mpv and yt-dlp to function at all.
  • Another terminal music player in a space already occupied byncmpcpp and others.
Target Audience

Terminal power users and Rust developers

Similar To

ncmpcpp · cmus · spotify-tui

Post Description

I built rs-pug because I wanted a TUI music player that’s actually extensible. Most players are either hardcoded or too heavy, so I made this one scriptable via Lua, think Neovim, but for music. and it has a lot of other cool features

Similar Projects

Yet another music player but written in Rust

The project wires together a nice set of desktop integrations — MPRIS for system controls, Discord RPC, local scanning and Jellyfin playback — all presented in a Dioxus-based UI. It's not reinventing music players, but it's a tidy Rust native client with useful integrations and Flatpak packaging notes; polish and broader differentiation are what's missing.

Niche GemShip It
temidaradev
304mo ago