⚠️ For legal reasons this project
- does not contain any track decryption key
- does not cache any tracks on your machine
mpv
for playback (because ofPLAYER="mpv -"
default env variable)curl
for HTTP queryjq
for API parsingdialog
for TUIopenssl
(oropenssl-tool
in Android) for track decryption
yay -S dzr
From GURU (Gentoo)
emerge --ask dzr
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
dzr # welcome screen
dzr /artist/860 # browse deezer.com/en/artist/860
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.
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)