3 unstable releases

0.2.1 May 24, 2022
0.2.0 May 21, 2022
0.1.2 May 19, 2022

#647 in Audio

Download history 2/week @ 2024-02-16 14/week @ 2024-02-23 8/week @ 2024-03-01 2/week @ 2024-03-08 1/week @ 2024-03-15 41/week @ 2024-03-29 12/week @ 2024-04-05

53 downloads per month

MIT license

23KB
304 lines

Musd

中文说明

Release

🎵 A Rust CLI App to download super high quality musics🎵

musd is a MUSic Downloader, and that's why it was named as musd.

Installation

Install from binary release

You can download the binary tar ball according to your OS from the Release Page, and run the musd executable file directly.

Install from source

You need to have cargo been installed, if you haven't installed it yet here is a guide for you. (Rust v1.60.0 or above required)

# Install from crates.io
cargo install musd
# OR clone the source code and install it from local disk
git clone git@github.com:hustcer/musd.git
cd musd && cargo install --path .

Usage

# Search music by name
musd someone like you
# Or search music by singer name
musd Celine Dion

musd will download *.flac format music files by default, if you want *.m4a format please specify it by -f or --format flag. Currently, only two formats available: 'flac' or 'm4a'.

Save to a specified folder

  1. Use --output or -o to specify the directory that downloaded musics will be saved;
  2. Set MUSD_OUTPUT env variable to the path where you want to have your musics been saved;

Resource

  • All the musics will be downloaded from MIGU

PS

By default, the highest quality lossless music will be downloaded, usually in flac format.

This app was heavily inspired by musicn, special thanks to them. musicn was written in Node.js and I rewrote it by rust just for practice. And this is my first Rust App. Hope you love it.

Dependencies

~21–38MB
~625K SLoC