An universal linux port of deezer, supporting both Flatpak and AppImage
Go to file
josselinonduty bc584343c8
fix(patch): add credits to original author; add default log level based on remove isDev patch
2025-02-01 19:10:56 +01:00
.github Merge pull request #64 from randshell/actions-update 2024-06-23 20:09:26 +02:00
extra/linux Update tray icon to new design 2023-11-09 15:31:01 +01:00
icons Update icons to the new design 2023-11-09 15:20:04 +01:00
patches fix(patch): add credits to original author; add default log level based on remove isDev patch 2025-02-01 19:10:56 +01:00
.gitignore chore: update makefile and docs to allow using npm or yarn independently 2025-02-01 18:31:37 +01:00
CONTRIBUTING.md chore: update makefile and docs to allow using npm or yarn independently 2025-02-01 18:31:37 +01:00
Makefile chore: update makefile and docs to allow using npm or yarn independently 2025-02-01 18:31:37 +01:00
README.md chore(README): update npm requirement to allow using yarn as an alternative 2025-02-01 18:33:19 +01:00
dev.aunetx.deezer.desktop Include icons and desktop file into the zip package 2023-06-22 17:42:06 +02:00
dev.aunetx.deezer.json chore: bump deezer to v7.0.10 2025-02-01 01:27:44 +01:00
dev.aunetx.deezer.svg Update to version 5.30.660 and new icon 2023-11-09 15:11:44 +01:00
package-append.json chore: add snap x64 and arm64 commands/targets 2025-02-01 01:12:03 +01:00

README.md

Deezer for linux

Build GitHub release (latest by date)

This repo is an UNOFFICIAL linux port (legal notice) of the official windows-only Deezer app. Being based on the native Windows app, it allows downloading your songs to listen to them offline!

It packages the app in a number of formats:

  • Flatpak, available on flathub
  • AppImage
  • rpm (Fedora, Red Hat, CentOS, openSUSE, ...)
  • deb (Debian, Ubuntu, Pop!_OS, elementary OS, ...)
  • tar.xz to install anywhere else

Special thanks to SibrenVasse who made the original AUR package for this app!

Installation

You can find all of the packages on the release page.

To install the flatpak version, you can simply go to https://flathub.org/apps/dev.aunetx.deezer (or use your favorite flatpak package manager).

[!Important] Old flatpak users must migrate to the flathub repository as soon as possible, as the flatpak repository was deleted from this repo (it weighed more that 2GB). In order to do so, you can use the following commands:

flatpak uninstall dev.aunetx.deezer
flatpak remote-delete deezer-linux
flatpak install flathub dev.aunetx.deezer

You should not lose any data by doing this.

Other packages can be installed from you package manager, either by clicking on them or from the command-line.

Usage

Option Description
--start-in-tray Start the app in the tray (see patch)
--disable-systray Quit the app when the window is closed (see patch)
--disable-features Disable some features (see patch)
--enable-discord-rpc Enable Discord RPC integration (see patch)
Environment variable Options Description
LOG_LEVEL silly,debug,verbose,info,warning,error Set the log level (see patch)
DZ_DEVTOOLS yes,no Enable the developer console (ctrl+shift+i)

Building from source

Available targets

Target arm64 x64
appimage ⚠️
deb ⚠️
rpm ⚠️
tar.xz ⚠️
snap

Available ; ⚠️ Not tested ; Not available ; Not planned (see FAQ)

[!NOTE] Please open an issue if you want a specific target to be added.

Requirements

  • Node.js (20 recommended)
  • npm (or yarn, see FAQ)
  • 7z (try installing p7zip and p7zip-full)
  • make
  • wget

Setup

To build the project, you need to install the dependencies first:

make install_deps

[!NOTE] You don't need to use make install_deps everytime you start a build, however you need to call it at least once. Everything should be generated in artifacts/{arch}.

AppImage

To build the AppImage x64 image, you can use:

make build_appimage_x64

Artifacts will be generated in artifacts/x64.

[!WARNING] You may encounter a problem with the AppImage, where you are not able to login. This is a known issue, and is due to the way AppImage works. In this case, you can copy the link shown in https://www.deezer.com/desktop/login/electron/callback.

In the same directory as the AppImage file, use:

deezer-desktop-*.AppImage deezer://autolog/...

You should now be logged in.

For more information, see issue #29

[!Caution] If you want to open an issue about this, please do not share your own deezer://autolog/... link, as it would allow anyone to log into your account without your consent.

rpm / deb / tar.xz

To generate the rpm/deb/tar.xz packages, you can use:

make build_{target}_{arch}

Example:

make build_rpm_arm64

Artifacts will be generated in artifacts/{arch}.

[!WARNING] Building can take a long time. Be patient.

If you generate the tar.xz package, you can run it directly by extracting to a directory, and calling ./deezer-desktop from there.

Development

If you want to contribute to this project, please read the contribution guidelines file.

FAQ

Why does this project exist?

Deezer can be used on Linux through the web interface, but it does not allow downloading songs for offline listening. This project allows you to use the official Deezer app on Linux, with the same features as on Windows (plus some Linux-specific features).

Why can't I get the snap package?

Please see this issue or this issue. Prefer using Flatpak or AppImage.

Why are the patches published but not the app's source code? patches?

The source code of the Deezer app is not open-source. Reverse-engineering the app would be illegal and would violate the Deezer EULA. This project is a port of the official Windows app, and does not contain any reverse-engineered code, rather it bundles the official Windows app with a compatibility layer.

I want to use yarn instead of npm, is it possible?

Yes, you can use yarn instead of npm. Execute the following command before building the project:

export PACKAGE_MANAGER=yarn
export PACKAGE_MANAGER_SUBDIR_ARG=--cwd
export PACKAGE_MANAGER_ADD_CMD=add
export PACKAGE_MANAGER_INSTALL_CMD=install

This work is UNOFFICIAL. Deezer does not officially support Linux and cannot be held responsible for any misuse of this port.

The installation and use of this software is outside the scope of the Deezer EULA. No author or contributor to this project can be held responsible for the use you make of it.

[!NOTE] Deezer was contacted to ask for permission to upload this on Flathub, but no answer was given. This work remains unofficial and is not supported by Deezer. See this thread (FR)