#music #daemon #tokio #streaming


The tracklist manager for the music player

9 releases

0.1.8 Mar 2, 2023
0.1.7 Feb 16, 2023
0.1.6 Jan 12, 2023
0.1.5 Nov 15, 2022
0.1.3 Sep 19, 2022

#203 in Audio

Download history 43/week @ 2024-02-26 20/week @ 2024-03-04 24/week @ 2024-03-11 32/week @ 2024-03-18 24/week @ 2024-03-25 50/week @ 2024-04-01 18/week @ 2024-04-08 18/week @ 2024-04-15 24/week @ 2024-04-22 23/week @ 2024-04-29 21/week @ 2024-05-06 19/week @ 2024-05-13 21/week @ 2024-05-20 17/week @ 2024-05-27 19/week @ 2024-06-03 22/week @ 2024-06-10

83 downloads per month
Used in 7 crates

MIT license

1.5K SLoC

Music Player (written in Rust)

License: MIT GitHub all releases release rust-clippy discord-server

Note: This is a work in progress. 🏗️🚧

This is a simple music player that I made for my own use. It is written in Rust and uses rodio, symphonia, and gRPC libraries.
Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Like mpd or Mopidy but written in Rust.


Compiling from source, without Nix:

# Install dependencies
brew install protobuf # macOS
sudo apt-get install -y libasound2-dev protobuf-compiler # Ubuntu/Debian
choco install protoc # Windows using Chocolatey Package Manager
# Compile
git clone https://github.com/tsirysndr/music-player.git
cd music-player/webui/musicplayer
nvm install # install node version specified in .nvmrc (optional on windows)
bun install && bun run build # build webui
cd ../..
cargo install --path .

With Nix:

git clone https://github.com/tsirysndr/music-player.git
cd music-player
nix develop --experimental-features "nix-command flakes"
cd webui/musicplayer
bun install && bun run build # build webui
cd ../..
cargo install --path .


Using Homebrew:

brew install tsirysndr/tap/musicplayer

Using Nix:

nix profile install --experimental-features "nix-command flakes" github:tsirysndr/music-player

Or download the latest release for your platform here.

📦 Downloads

Latest (Desktop):

Latest (CLI):

Other version...

Start the server



    music-player [SUBCOMMAND]

    -h, --help       Print help information
    -V, --version    Print version information

    albums      List all albums
    artists     List all artists
    help        Print this message or the help of the given subcommand(s)
    next        Play the next song
    pause       Pause the current song
    open        Open audio file
    playlist    Manage playlists
    prev        Play the previous song
    queue       Manage the queue
    play        Resume the current song
    scan        Scan music library: $HOME/Music
    search      Search for a song, album, artist or playlist
    stop        Stop the current song
    tracks      List all tracks


# Start the server

Open http://localhost:5053/graphiql in your browser.


  • Play music from specified path
  • Configuration file support
  • gRPC API for controlling the player
  • Scan music library
  • Play/Pause/Stop music
  • Next/Previous track
  • Create/Delete playlists
  • Music Player Client
  • Terminal UI (using tui-rs)
  • GraphQL API
  • Web UI
  • Desktop version (using gtk-rs)
  • Android Library (See songbird-android and songbird-android-rs)
  • iOS Library
  • Mobile version (React Native)
  • Stream to Chromecast
  • Stream to Airplay
  • Stream to Kodi
  • Stream to UPnP Media Renderer
  • Stream from Youtube (audio only)
  • Stream from Spotify
  • Stream from Soundcloud
  • Stream from Deezer
  • Stream from DatPiff
  • Stream from Tidal
  • Stream from MyVazo

✨ Star History

Star History Chart


~1.5M SLoC