Streamd v0.2.0: rename, modules panel, stable/beta channels
All checks were successful
release / build-and-upload (push) Successful in 7m5s

- Rename product/host binary to streamd (drm compat copy still shipped)
- Go module path streamd; STREAMD_* env aliases; agent UA streamd-agent
- Panel Modules store + agent pull sync (modstore / modsync)
- Rolling stable + beta download tags; README/docs channel curl blocks
- Release notes in docs/releases/v0.2.0.md attached by Forgejo Actions
This commit is contained in:
404errordeveloper 2026-10-10 15:58:26 +02:00
parent 066e018749
commit da8e1123ec
140 changed files with 2949 additions and 851 deletions

View file

@ -31,7 +31,7 @@ export PATH="$GOROOT/bin:$PATH"
git clone https://git.nulldrm.com/nulldrm/Null-DRM-Official.git
cd Null-DRM-Official
go -C apps/cli build -o ../../bin/drm . # Windows: -o ../../bin/drm.exe
go -C apps/cli build -o ../../bin/streamd . # Windows: -o ../../bin/streamd.exe
```
That single command builds the whole toolchain: capture, catalog, agent, the
@ -40,8 +40,8 @@ streamd control plane, the MITM host CLI, and every app module.
Verify:
```bash
./bin/drm help
./bin/drm modules
./bin/streamd help
./bin/streamd modules
```
Expected on a fresh clone — modules exist, values do not:
@ -103,14 +103,14 @@ channels:
Confirm it loaded:
```bash
./bin/drm modules
./bin/drm catalog --app tg4 --list
./bin/streamd modules
./bin/streamd catalog --app tg4 --list
```
Nothing stored? Pass values per run instead:
```bash
./bin/drm catalog --app tg4 --channel ioi \
./bin/streamd catalog --app tg4 --channel ioi \
--tg4.account-id 1234567890 --tg4.policy-key 'BCpkAD...'
```
@ -128,7 +128,7 @@ mechanical defaults (timeouts, DASH timescales, card geometry) have built-ins.
If the app has a public playback catalog:
```bash
./bin/drm catalog --app tg4 --channel ioi --keys --wvd data/device.wvd
./bin/streamd catalog --app tg4 --channel ioi --keys --wvd data/device.wvd
```
```text
@ -149,8 +149,8 @@ One-time device setup:
```bash
adb devices # your phone must be listed and authorised
./bin/drm proxy build # cross-compiles the on-device MITM (linux/arm64)
./bin/drm proxy install-ca --reinject
./bin/streamd proxy build # cross-compiles the on-device MITM (linux/arm64)
./bin/streamd proxy install-ca --reinject
```
`install-ca` pushes the MITM CA and Magisk-mounts it into the system trust store.
@ -160,7 +160,7 @@ if the reinject does not report success.
Then capture:
```bash
./bin/drm capture --app rte --channel rteone --auto-play --wvd data/device.wvd
./bin/streamd capture --app rte --channel rteone --auto-play --wvd data/device.wvd
```
What it does: start the on-device MITM → point the phone's HTTP proxy at it →
@ -192,7 +192,7 @@ entirely for passive mode — the MITM records whatever you play.
## 7. Control plane
```bash
./bin/drm serve --bind 127.0.0.1:8083 --data .cache/streamd --token SECRET
./bin/streamd serve --bind 127.0.0.1:8083 --data .cache/streamd --token SECRET
```
Open <http://127.0.0.1:8083>. The app and channel pickers are populated from
@ -201,7 +201,7 @@ Open <http://127.0.0.1:8083>. The app and channel pickers are populated from
Create a stream from a capture:
```bash
./bin/drm catalog --app tg4 --channel ioi --keys --wvd data/device.wvd --json \
./bin/streamd catalog --app tg4 --channel ioi --keys --wvd data/device.wvd --json \
> /tmp/s.json
curl -X POST http://127.0.0.1:8083/api/streams \
@ -216,11 +216,11 @@ credentials, claims a free phone, re-captures it and POSTs the result back.
```bash
export STREAMD_TOKEN=SECRET
./bin/drm agent run --config apps/agent/agent.yaml
./bin/streamd agent run --config apps/agent/agent.yaml
./bin/drm agent devices # which phones it can use
./bin/drm agent status # recent jobs
./bin/drm agent enqueue --stream tg4-ioi --reason manual
./bin/streamd agent devices # which phones it can use
./bin/streamd agent status # recent jobs
./bin/streamd agent enqueue --stream tg4-ioi --reason manual
```
Details in [streamd.md](streamd.md).
@ -243,10 +243,10 @@ go -C apps/modules test -tags live ./rte/ -v
| Symptom | Cause |
|---|---|
| `unknown module "x"` / `unknown app "x"` | missing under `modules/<name>/` — add the folder or check `drm modules` |
| `channels 0` in `drm modules` | no `module.yaml`, or `channels:` is empty |
| `unknown module "x"` / `unknown app "x"` | missing under `modules/<name>/` — add the folder or check `streamd modules` |
| `channels 0` in `streamd modules` | no `module.yaml`, or `channels:` is empty |
| `unknown channel "y"` | id not in `channels:` and not in `aliases:` |
| `tls: unknown certificate` on the phone | CA not mounted — `drm proxy install-ca --reinject` |
| `tls: unknown certificate` on the phone | CA not mounted — `streamd proxy install-ca --reinject` |
| `wvkey requires --wvd` | pass `--wvd path/to/device.wvd` |
| `timed out waiting for capture` | playback never started, or the app used a path the MITM missed — see [capture.md](capture.md) |
| `INVALID_POLICY_KEY` | wrong or stale `policy_key` |