apple-music-wrapper
  • C 88.1%
  • C++ 10.5%
  • CMake 1.3%
Find a file
世界观察日志 1dac7bb82a
Merge pull request #34 from cynthia2006/main
Several QoL improvments, particularly docs (fixes #33)
2026-03-14 12:22:10 +08:00
.github/workflows Fix CI integrations to use new change 2026-03-11 22:39:39 +05:30
cjson fix: use native methods to get dev_token 2025-07-27 14:16:08 +08:00
rootfs ci: use make 2024-12-28 16:55:53 +08:00
subhook@e935959d2f feat: submodule for subhook 2025-07-14 22:44:19 +08:00
.gitattributes Initial commit 2024-06-26 11:31:54 +08:00
.gitignore Several QoL improvments, particularly docs 2026-03-11 19:49:15 +05:30
.gitmodules feat: submodule for subhook 2025-07-14 22:44:19 +08:00
CMakeLists.txt ci: incorrect ANDROID_NDK_PATH 2026-03-14 12:20:10 +08:00
cmdline.c Add account info server on configurable port 2025-11-27 12:09:40 -03:00
cmdline.h Add account info server on configurable port 2025-11-27 12:09:40 -03:00
Dockerfile Update Dockerfile base image and file structure 2025-11-27 12:07:02 -03:00
import.h feat: offline channel 2025-12-02 18:11:39 +08:00
main.c feat: offline channel 2025-12-02 18:11:39 +08:00
main.cpp fix: remove error means crash 2025-08-05 00:17:06 +08:00
README.md Several QoL improvments, particularly docs 2026-03-11 19:49:15 +05:30
wrapper.c fixup! Merge branch 'main' of https://github.com/WorldObservationLog/wrapper 2025-07-18 05:04:08 +08:00
wrapper.ggo Add account info server on configurable port 2025-11-27 12:09:40 -03:00

wrapper

A tool to decrypt Apple Music songs. An active subscription is still needed.

Supports only x86_64 and arm64 Linux.

Installation

Installation methods:

Docker

Available for x86_64 and arm64. Need to download prebuilt version from releases or actions.

  1. Build image:
docker build --tag wrapper .
  1. Login:
docker run -it -v ./rootfs/data:/app/rootfs/data -e args='-L username:password -H 0.0.0.0' wrapper

Quit after this (using Ctrl-C).

  1. Run:
docker run -v ./rootfs/data:/app/rootfs/data -p 10020:10020 -p 20020:20020 -p 30020:30020 -e args="-H 0.0.0.0" wrapper

Build from source

  1. Install dependencies:
  • Build tools:

    sudo apt install build-essential cmake curl unzip git
    
  • LLVM:

    sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
    
  • Android NDK r23b:

    curl -fLO https://dl.google.com/android/repository/android-ndk-r23b-linux.zip
    unzip -d . android-ndk-r23b-linux.zip
    
  1. Build:
git clone https://github.com/WorldObservationLog/wrapper
cd wrapper
mkdir build
cd build
cmake ..
make -j$(nproc)

Usage

Usage: wrapper [OPTION]...

  -h, --help              Print help and exit
  -V, --version           Print version and exit
  -H, --host=STRING         (default=`127.0.0.1')
  -D, --decrypt-port=INT    (default=`10020')
  -M, --m3u8-port=INT       (default=`20020')
  -A, --account-port=INT    (default=`30020')
  -P, --proxy=STRING        (default=`')
  -L, --login=STRING        (username:password)
  -F, --code-from-file      (default=off)

Special thanks

  • Anonymous, for providing the original version of this project and the legacy Frida decryption method.
  • chocomint, for providing support for arm64 arch.