No description
  • JavaScript 42.4%
  • TypeScript 37.8%
  • Vue 18.1%
  • CSS 1.1%
  • Nix 0.3%
  • Other 0.2%
Find a file
2026-11-03 06:52:56 +10:00
.changeset chore(release): version packages 2026-10-28 06:40:57 +10:00
.github ci(webui): pass turbo_token as docker secret 2026-08-24 14:54:15 +10:00
.husky refactor: move gui to own folder 2024-08-26 15:54:14 +10:00
docker fix(repo): make docker custom cont-init scripts executable 2026-08-24 14:03:24 +10:00
packages fix(deps): update dependency zod to v4 [security] 2026-11-03 06:52:56 +10:00
pkgs nix build/flake support added 2026-07-08 14:10:31 +10:00
.commitlintrc.json chore(repo): add renovate.json 2026-06-19 09:38:07 +10:00
.dockerignore build(gui): fix missed packages folder changes 2025-08-13 11:33:56 +10:00
.gitattributes workflow: added .gitattributes 2021-05-13 21:39:09 +02:00
.gitignore build(gui): fix missed packages folder changes 2025-08-13 11:33:56 +10:00
.prettierignore chore: use prettier for package.json 2024-08-26 17:48:22 +10:00
docker-compose.yml chore: use quotes in env vars 2025-04-01 08:57:29 +10:00
Dockerfile ci(webui): pass turbo_token as docker secret 2026-08-24 14:54:15 +10:00
eslint.config.mjs chore(repo): move to packages dir 2025-08-13 11:11:25 +10:00
flake.lock nix build/flake support added 2026-07-08 14:10:31 +10:00
flake.nix nix build/flake support added 2026-07-08 14:10:31 +10:00
LICENSE.txt Added README.md and LICENSE.txt 2021-05-29 18:32:29 +02:00
lint-staged.config.mjs chore: add eslint, prettier, husky, lint-staged, commitlint 2024-08-23 15:54:51 +10:00
package.json chore(deps): update dependency vitest to v4 [security] 2026-09-14 10:03:49 +10:00
pnpm-lock.yaml fix(deps): update dependency zod to v4 [security] 2026-11-03 06:52:56 +10:00
pnpm-workspace.yaml chore(ci): build webui and gui on changes 2026-06-19 11:13:53 +10:00
prettier.config.mjs feat: migrate to vite 2024-08-31 23:43:12 +10:00
README.md feat(cli): make the deemix CLI available in the docker image 2026-08-24 14:03:24 +10:00
renovate.json chore(repo): add github-actions and docker to renovate 2026-06-19 11:22:37 +10:00
turbo.json fix(deemix): keep both adding number to first download 2025-03-19 09:06:28 +10:00
vercel.json ci(repo): use vercel remote cache for turbo 2024-09-13 09:52:48 +10:00
vitest.config.ts chore(repo): move to packages dir 2025-08-13 11:11:25 +10:00

Deemix

This is the monorepo for the revived Deemix project, originally created by the very talented RemixDev.

The docker image was heavily inspired by the fantastic work of Bockiii.

Packages in this Repo

  • deezer-sdk: Wrapper for Deezer's API
  • deemix: The brains of the operation
  • webui: Vue.js + Express web interface
  • gui: Packaged Electron app

Buy Me a Coffee at ko-fi.com

Downloads

Standalone Electron App

https://github.com/bambanah/deemix/releases

Note: The app is not signed (because it's crazy expensive), so you'll need to disable the security warnings when running it.

For MacOS

xattr -d com.apple.quarantine /Applications/deemix.app

Modify path if installed to a different locaiton

Docker Image

Deemix is also available as a docker image.

Example Usage

docker run -d --name Deemix \
  -v /path/to/music:/downloads \
  -v /path/to/config:/config \
  -p 6595:6595 \
  ghcr.io/bambanah/deemix:latest

Parameters

All paremeters are optional - if not specified, the default value will be used.

You'll probably want to at least map the download and config folders, as well as the port.

Parameter Description Default
-v /path/to/music:/downloads Path to the music folder
-v /path/to/config:/config Path to the config folder
-p 6595:6595 Port mapped to the host
-e DEEMIX_SERVER_PORT=6595 Port to expose the server on 6595
-e DEEMIX_DATA_DIR=/config Path to the config folder /config
-e DEEMIX_MUSIC_DIR=/downloads Path to the music folder /downloads
-e DEEMIX_HOST=0.0.0.0 Host to bind the server to 0.0.0.0
-e DEEMIX_SINGLE_USER=true Enables single user mode true
-e PUID=1000 User ID to use for downloaded files 1000
-e PGID=1000 Group ID to use for downloaded files 1000
-e UMASK_SET=022 Set umask 022
-e DISABLE_OWNERSHIP_CHECK=true Disable ownership fix on container start globally
-e DISABLE_OWNERSHIP_CHECK_MUSIC=true Disable ownership fix on container start for music files
-e DISABLE_OWNERSHIP_CHECK_DATA=true Disable ownership fix on container start for config files

CLI

The deemix CLI is available inside the running container, so downloads can be triggered from the host (from a cron job, for example):

docker exec Deemix deemix https://www.deezer.com/track/3135556
docker exec Deemix deemix -b flac -p /downloads/singles https://www.deezer.com/track/3135556
Flag Description
-p, --path <path> Downloads into the given folder instead of /downloads
-b, --bitrate <t> Overrides the configured bitrate - 128, 320, flac

You must be logged in first. Logging in through the web UI is enough - the CLI reads the same credentials. Alternatively, run it interactively once to be prompted for an ARL:

docker exec -it Deemix deemix https://www.deezer.com/track/3135556

Without a valid ARL and without a TTY, the command exits 1 rather than waiting for input. Downloads are performed as PUID:PGID, so files are owned the same way as web UI downloads.

Nix Flake

Build and run the webui server or cli reproducibly with Nix (flakes enabled):

nix run github:bambanah/deemix#webui      # start the webui server on 0.0.0.0:6595
nix run github:bambanah/deemix#cli -- <url>  # download a track/playlist

nix build github:bambanah/deemix#webui    # build only, result in ./result

A dev shell with the pinned node + pnpm is available via nix develop.

Feature requests

Before asking for a feature make sure there isn't already an open issue.

Developing

This repo uses pnpm for package management and Turborepo for monorepo management.

Dependencies

  • Install Node.js 24.x
  • Enable pnpm:
    corepack enable
    

Local Development

  1. Clone the repository

    git clone https://github.com/bambanah/deemix.git
    # - OR -
    gh repo clone bambanah/deemix
    
  2. Install dependencies

    pnpm i
    
  3. Start development server

    pnpm dev
    
    • This will start the development server on port 6595
    • It will also watch for changes in dependencies and hot reload the app

Building the Docker Image

A docker image can be built with the provided Dockerfile.

docker build -t deemix .

Packaging the Electron GUI

A distributable GUI app can be built with the following command:

pnpm make