kvasir-cli 0.1.3

Command-line client for the kvasir music library.
kvasir-cli-0.1.3 is not a library.

kvasir-cli

Command-line client for kvasir-core. It does not vendor the library. cargo build in this repository resolves kvasir-core 0.1 from crates.io, so this repo works without a checkout of kvasir beside it.

cargo install kvasir-cli installs two commands, kvasir and kvasir-cli. They are the same program.

Sign in from the terminal. kvasir login asks whether to use Deezer or Tidal, opens that page in your usual browser, and reads the session from the browser. You do not need a .env file. DEEZER_ARL in the environment still overrides the saved Deezer login.

Settings live in the user config folder:

  • Windows: %APPDATA%\kvasir
  • macOS: ~/Library/Application Support/kvasir
  • Linux: $XDG_CONFIG_HOME/kvasir or ~/.config/kvasir

kvasir reset deletes that folder so the next launch starts signed out.

kvasir login

kvasir login deezer

kvasir login tidal

kvasir reset

kvasir whoami

kvasir search "daft punk"

kvasir resolve https://www.deezer.com/track/3135556

kvasir acquire 3135556 --quality 128 --out track.mp3

--quality accepts 128, 320, or flac. The older shorthand 1, 3, and 9 still works.

A run starts with a short banner. Status lines are info, pending, success, warn, and error, with an indented note for the detail. Color is used on a terminal and omitted when NO_COLOR is set or stdout is piped.

GNU GPL v3.0 only. See LICENSE. For personal use of music your account is allowed to stream.