Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 41 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
# wrapper
A tool to decrypt Apple Music's music. An active subscription is still needed.

Only support Linux x86_64 and arm64.
A tool to decrypt Apple Music songs. An active subscription is still needed.

# Install
Get the pre-built version from this project's Actions.
Supports only x86_64 and arm64 Linux.

Or you can refer to the Actions configuration file for compilation.
## Installation

Installation methods:

- [Docker](#docker) (recommended)
- Prebuilt binaries (from [releases](https://github.com/WorldObservationLog/wrapper/releases) or [actions](https://github.com/WorldObservationLog/wrapper/actions))
- [Build from source](#build-from-source)

### Docker

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

Build image: `docker build --tag wrapper .`
1. Build image:

Login: `docker run -v ./rootfs/data:/app/rootfs/data -p 10020:10020 -e args="-L username:password -F -H 0.0.0.0" wrapper`
```
docker build --tag wrapper .
```

Run: `docker run -v ./rootfs/data:/app/rootfs/data -p 10020:10020 -e args="-H 0.0.0.0" wrapper`
2. Login:

# Usage
```
Usage: wrapper [OPTION]...
docker run -v ./rootfs/data:/app/rootfs/data -e args="-L username:password -F -H 0.0.0.0" wrapper
```

3. Run:

-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)
```
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
### Build from source

1. Install dependencies:

Expand All @@ -45,7 +47,7 @@ Usage: wrapper [OPTION]...
- LLVM:

```
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
```

- Android NDK r23b:
Expand All @@ -65,7 +67,23 @@ 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

# Special thanks
- Anonymous, for providing the original version of this project and the legacy Frida decryption method.
- chocomint, for providing support for arm64 arch.
Loading