No description
Find a file
404errordeveloper f9c28be3f1
All checks were successful
release / build-and-upload (push) Successful in 6m8s
modules-release / build-and-upload (push) Successful in 4m47s
v0.1.1: external modules, publish YAML, proxy reset, binary-first README
- Host discovers/builds modules under modules/ (bbc, rte, tg4)
- module-publish.yaml tracked; local module.yaml gitignored
- drm --modules-dir / DRM_MODULES_DIR
- drm proxy reset; Magisk reinject reliability
- modules-v* Forgejo release workflow + build scripts
- BBC full Explore channel map including S4C
- README quickstart based on release binaries
2026-10-08 23:16:14 +02:00
.forgejo/workflows v0.1.1: external modules, publish YAML, proxy reset, binary-first README 2026-10-08 23:16:14 +02:00
apps v0.1.1: external modules, publish YAML, proxy reset, binary-first README 2026-10-08 23:16:14 +02:00
docs v0.1.1: external modules, publish YAML, proxy reset, binary-first README 2026-10-08 23:16:14 +02:00
modules v0.1.1: external modules, publish YAML, proxy reset, binary-first README 2026-10-08 23:16:14 +02:00
scripts v0.1.1: external modules, publish YAML, proxy reset, binary-first README 2026-10-08 23:16:14 +02:00
www Initial commit: Null DRM Official 2026-10-06 00:25:35 +02:00
.gitignore v0.1.1: external modules, publish YAML, proxy reset, binary-first README 2026-10-08 23:16:14 +02:00
README.md v0.1.1: external modules, publish YAML, proxy reset, binary-first README 2026-10-08 23:16:14 +02:00

Null DRM

Capture live sessions from Android streaming apps (BBC iPlayer, RTÉ, TG4, …) and restream them. The host is a single binary — drm — plus drop-in providers under modules/.

Releases: git.nulldrm.com
Docs: docs/


Quick start (binaries)

1. Download

From the latest v* release, grab your host binary (e.g. drm-windows-amd64.exe) and proxy-android-arm64. From a modules-v* release, grab the module zips you need (module-bbc-….zip, module-rte-….zip, module-tg4-….zip).

Null-DRM/
  drm.exe                 # or drm on Linux/macOS
  bin/proxy-android-arm64 # optional; also embedded in release drm
  modules/
    bbc/                  # unzip module-bbc-*.zip here
    rte/
    tg4/
  data/                   # your .wvd, optional
  outputs/                # created on first run

On first run, drm creates the install scaffold next to the exe.

2. Prerequisites

Need Why
adb on PATH phone capture
Rooted Android (Magisk) system CA for HTTPS MITM
.wvd in data/ Widevine keys (RTE/TG4; BBC mobile streams are clear)
Python 3.10+ + .venv only if you fetch keys with wvkey.py

3. Install a provider

Unzip into modules/<name>/. Edit module.yaml — fill sensitive fields only (RTE license URL / KIDs; TG4 account + policy key + video ids). BBC needs almost nothing extra.

drm modules
# or: drm --modules-dir D:\mods modules

4. Phone CA (once per device / CA)

drm proxy install-ca --reinject
adb shell am force-stop bbc.iplayer.android   # or the app you will capture

5. Capture

# BBC + NordVPN UK on the phone (transparent MITM; --channel auto-plays)
drm capture --app bbc --channel bbcone --wait 120
drm capture --app bbc --channel s4c --wait 120

# RTE / TG4 (keys via --wvd when needed)
drm capture --app rte --channel rteone --wvd data/device.wvd
drm capture --app tg4 --channel ioi --wvd data/device.wvd

# Catalog only (no phone) — TG4
drm catalog --app tg4 --channel ioi --keys --wvd data/device.wvd --json

Results: outputs/<app>/<stamp>/ (and latest/).

6. Clean the phone after a run

drm proxy reset

Stops MITM/iptables and deletes pushed CA/binaries so the next capture starts fresh.


Command cheat sheet

drm [--modules-dir DIR] <command> …

drm modules
drm capture  --app NAME [--channel ID] [--wait N] [--wvd PATH] [--serial S]
drm catalog  --app NAME --channel ID [--keys] [--wvd PATH] [--json] [--list]
drm proxy    install-ca [--reinject] | reset [--keep-captures]
             | transparent --package PKG | start | stop | push | discover | pull
drm serve    [--bind …] [--data …] [--token …]
drm agent    run|status|devices|enqueue|cancel [--config …]

Global: --modules-dir DIR or $DRM_MODULES_DIR (default: ./modules).

--channel implies interactive auto-play (Explore → channel → Watch live for BBC).


Config: publish vs local

File In git / zips? Purpose
module-publish.yaml yes Universal package, channels, UI
module.yaml no (local) Secrets + overrides; overlays publish

Release module zips ship module-publish.yaml renamed to module.yaml.


Building from source (optional)

git clone https://git.nulldrm.com/nulldrm/Null-DRM-Official.git
cd Null-DRM-Official
go -C apps/cli build -o ../../bin/drm.exe .    # Windows
# Host release:  .\scripts\build-release.ps1 -Version v0.1.1
# Modules:       .\scripts\build-modules-release.ps1 -Version modules-v0.1.1

More detail: docs/quickstart.md, docs/architecture.md, docs/providers/bbc.md.

Scope

Only for services you are authorised to access, with content you have the right to decrypt.