# External modules Each subdirectory is a provider the `drm` host discovers, builds, and runs. ``` modules/ bbc/ module-publish.yaml # tracked universal values (channels, labels, ui) module.yaml # LOCAL secrets/overrides (gitignored) go.mod + main.go .bin/bbc.exe # built on demand rte/ tg4/ ``` ## Config files | File | Published? | Purpose | |---|---|---| | `module-publish.yaml` | yes (in git + release zips) | Universal package/channels/UI | | `module.yaml` | **no** | Operator secrets; overlays publish at runtime | Release zips rename `module-publish.yaml` → `module.yaml` so end users edit one file. ## Commands ``` drm modules drm --modules-dir D:\mods modules drm capture --app bbc --channel s4c DRM_MODULES_DIR=D:\mods drm capture --app rte --channel rteone ``` ## Releases Push a `modules-v*` tag to publish per-module zips (`module-bbc-….zip`, …) via Forgejo Actions. Host `drm` stays on separate `v*` tags. Requires Go on PATH to build from source. Release zips may ship `.bin/` prebuilt.