Null-DRM-Official/docs/README.md
404errordeveloper 066e018749
All checks were successful
release / build-and-upload (push) Successful in 6m18s
modules-release / build-and-upload (push) Successful in 5m18s
streamd: preview quality picker, dashboard polish, C4 wrap keys
- Preview player can select FHD/HD/SD (or ABR master) from publish links
- Embed dashboard screenshots in README; Linux streamd+agent setup guide
- C4 Widevine wrap license mode + require --wvd; prefer Widevine PSSH
- Channel 4 and My5 modules; streamd auth, variants, schedules, HLS gate
2026-10-09 20:57:43 +02:00

44 lines
2 KiB
Markdown

# Documentation
| Doc | Read it when |
|---|---|
| [quickstart.md](quickstart.md) | You just cloned the repo and want something working |
| [release.md](release.md) | Cross-compile Windows / macOS / Linux (+ Android MITM) for Forgejo releases |
| [architecture.md](architecture.md) | You want to know how the pieces fit and why |
| [modules.md](modules.md) | You are adding support for a new streaming app |
| [capture.md](capture.md) | You need to discover an app's URLs, IDs and UI selectors |
| [capture.md § Transparent](capture.md#transparent-capture-vpn-on-the-phone) | Phone VPN must stay on (BBC / NordVPN UK) — iptables MITM + pull |
| [streamd.md](streamd.md) | You are running the control plane + agent |
| [streamd-server-setup.md](streamd-server-setup.md) | Dumb-friendly Linux server install: curl, chmod, MPD streams, keep-alive |
| [providers/bbc.md](providers/bbc.md) | BBC iPlayer clear live DASH — transparent capture with UK VPN |
| [providers/rte.md](providers/rte.md) | You are filling in `apps/modules/rte/module.yaml` |
| [providers/tg4.md](providers/tg4.md) | You are filling in `apps/modules/tg4/module.yaml` |
## The one idea worth knowing first
The repo separates **logic** from **values**:
```text
apps/modules/tg4/*.go tracked. How to drive the app. No secrets, ever.
apps/modules/tg4/module.yaml gitignored. Account IDs, policy keys, video IDs, KIDs.
```
Both module packages have a test asserting an empty config yields empty
credentials, so the separation is checked rather than merely intended:
```bash
go -C apps/modules test ./... -run NoHardcoded -v
```
A fresh clone therefore builds and runs, but knows no channels until you supply
your own values. Each `providers/*.md` doc explains where to get them.
## Build
```bash
go -C apps/cli build -o ../../bin/drm . # Windows: -o ../../bin/drm.exe
./bin/drm proxy build # once, for phone capture
```
There is no build script and no Makefile — `go build` is the build system.
[quickstart.md](quickstart.md) lists every command.