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

@ -4,7 +4,7 @@ import (
"strings"
"testing"
"drmdecryption/apps/capture/capturecmd"
"streamd/apps/capture/capturecmd"
)
func TestCaptureRejectsChannelAsApp(t *testing.T) {

View file

@ -11,9 +11,9 @@ import (
"sort"
"strings"
"drmdecryption/modhost"
"drmdecryption/repo"
"drmdecryption/session"
"streamd/modhost"
"streamd/repo"
"streamd/session"
)
// Run performs a catalog lookup for one channel.

View file

@ -1,13 +1,13 @@
module drmdecryption/apps/cli
module streamd/apps/cli
go 1.25.0
require (
drmdecryption v0.0.0
drmdecryption/apps/agent v0.0.0
drmdecryption/apps/capture v0.0.0
drmdecryption/apps/proxy v0.0.0
drmdecryption/apps/streamd v0.0.0
streamd v0.0.0
streamd/apps/agent v0.0.0
streamd/apps/capture v0.0.0
streamd/apps/proxy v0.0.0
streamd/apps/streamd v0.0.0
)
require (
@ -26,9 +26,9 @@ require (
)
replace (
drmdecryption => ../pkg
drmdecryption/apps/agent => ../agent
drmdecryption/apps/capture => ../capture
drmdecryption/apps/proxy => ../proxy
drmdecryption/apps/streamd => ../streamd
streamd => ../pkg
streamd/apps/agent => ../agent
streamd/apps/capture => ../capture
streamd/apps/proxy => ../proxy
streamd/apps/streamd => ../streamd
)

View file

@ -1,7 +1,8 @@
// Command drm is the single entry point for the toolchain: phone capture,
// Command streamd is the single entry point for the toolchain: phone capture,
// catalog lookups, the always-on agent, the streamd control plane and the
// on-device MITM. Providers live under modules/<name>/ and are discovered,
// built, and executed by the host — they are not linked into this binary.
// A drm.exe copy of this binary is still shipped for one release as a compat alias.
package main
import (
@ -13,14 +14,14 @@ import (
"os"
"strings"
"drmdecryption/apps/agent/agentcmd"
"drmdecryption/apps/capture/capturecmd"
"drmdecryption/apps/cli/catalogcmd"
"drmdecryption/apps/cli/modulescmd"
"drmdecryption/apps/proxy/proxyctlcmd"
"drmdecryption/apps/streamd/servecmd"
"drmdecryption/bootstrap"
"drmdecryption/modhost"
"streamd/apps/agent/agentcmd"
"streamd/apps/capture/capturecmd"
"streamd/apps/cli/catalogcmd"
"streamd/apps/cli/modulescmd"
"streamd/apps/proxy/proxyctlcmd"
"streamd/apps/streamd/servecmd"
"streamd/bootstrap"
"streamd/modhost"
)
func main() {
@ -39,12 +40,12 @@ func main() {
os.Exit(1)
}
} else if err := modhost.ApplyEnvModulesDir(); err != nil {
fmt.Fprintln(os.Stderr, "[!] DRM_MODULES_DIR:", err)
fmt.Fprintln(os.Stderr, "[!] STREAMD_MODULES_DIR / DRM_MODULES_DIR:", err)
os.Exit(1)
}
// Materialise apps/, bin/, modules/, outputs/, … next to this exe when
// missing so a lone downloaded drm.exe becomes a GitHub-like install tree.
// missing so a lone downloaded streamd.exe becomes a usable install tree.
if cmd != "help" && cmd != "-h" && cmd != "--help" {
if err := bootstrap.EnsureAndLogFor(cmd); err != nil {
fmt.Fprintln(os.Stderr, "[!] bootstrap:", err)
@ -102,23 +103,25 @@ func peelGlobalFlags(args []string) (modulesDir string, rest []string) {
}
func usage() {
fmt.Fprint(os.Stderr, `drm — DRM capture / restream toolchain
fmt.Fprint(os.Stderr, `streamd — capture / restream toolchain
Usage:
drm [--modules-dir DIR] modules
drm [--modules-dir DIR] capture --app NAME [--channel ID | --all] [--wvd PATH]
drm [--modules-dir DIR] catalog --app NAME --channel ID [--keys] [--json]
drm agent run|status|devices|enqueue|cancel [--config …]
drm serve [--bind …] [--data …] [--token …]
drm proxy build|push|install-ca|start|stop|reset|discover|pull|clear-proxy|transparent
streamd [--modules-dir DIR] modules
streamd [--modules-dir DIR] capture --app NAME [--channel ID | --all] [--wvd PATH]
streamd [--modules-dir DIR] catalog --app NAME --channel ID [--keys] [--json]
streamd agent run|status|devices|enqueue|cancel [--config …]
streamd serve [--bind …] [--data …] [--token …]
streamd proxy build|push|install-ca|start|stop|reset|discover|pull|clear-proxy|transparent
Global flags:
--modules-dir DIR provider folder (default: <install>/modules, or $DRM_MODULES_DIR)
--modules-dir DIR provider folder (default: <install>/modules, or $STREAMD_MODULES_DIR)
Providers live under modules/<name>/ (Go source + module-publish.yaml).
Local module.yaml holds secrets and is never published; release zips ship
module-publish.yaml renamed to module.yaml. The host builds modules on demand.
A drm binary may still be shipped as an identical compatibility copy.
Run any subcommand with --help for its own flags.
`)
}

View file

@ -9,8 +9,8 @@ import (
"sort"
"text/tabwriter"
"drmdecryption/modhost"
"drmdecryption/repo"
"streamd/modhost"
"streamd/repo"
)
// Run prints external modules under modules/.