dzr
dzr copied to clipboard
Accountless deezer.com Player (CLI & VSCode)
DZR: the command line deezer.com player
⚠️ For legal reasons this project
- does not contain any track decryption key
- does not cache any tracks on your machine
Preview
Dependencies
-
mpv
for playback (because ofPLAYER="mpv -"
default env variable) -
curl
for HTTP query -
jq
for API parsing -
dialog
for TUI -
openssl
(oropenssl-tool
in Android) for track decryption
Install
From the AUR (Arch Linux)
yay -S dzr
From GURU (Gentoo)
emerge --ask dzr
From TAR file
Save into a dzr-master
folder :
curl -sL github.com/yne/dzr/archive/master.tar.gz | tar xzf -
sudo mv dzr-master/dzr* /usr/local/bin
Usage Examples
dzr # welcome screen
dzr /artist/860 # browse deezer.com/en/artist/860
Usage as HTTP server
mkdir -p cgi-bin && cp dzr* ./cgi-bin/
python3 -m http.server --cgi
You shall then be able to play any track over HTTP (ex: http://127.0.0.1:8000/cgi-bin/dzr?6113114 )
A basic web interface is also available on http://127.0.0.1:8000
Feel free to create your own frontend an publish it as a new repository (not as a dzr fork) with the dzr tag.
Compatibility
This project has been tested on:
- Linux
- *BSD
- Android (using Termux from F-droid)
- Window 10 (running dzr as CGI server from WSL and browsing http://127.0.0.1:8000 from Windows)