Couchdogs client
The Couchdogs client is Moonlight plus a small patch series (ADR 0040), one folder per upstream. Nothing of Moonlight's code lives here: each folder pins an upstream release (UPSTREAM) and holds only our patches and assets, so every upstream fix is one rebase away.
moonlight-qt/: the Windows, macOS and Linux client, built from moonlight-qt.moonlight-android/: the Android client, built from moonlight-android.scripts/apply.sh <qt|android> <dest-dir>: clones the pinned release and applies the series;scripts/apply_test.shtests it.
What the app shows: its home page is the Couchdogs page (titled "Couchdogs"). It lists Couchdogs servers first, then hosts already paired and hosts added by hand; any other host found on the LAN is not shown, and a hidden host appears as soon as its serverinfo mark arrives. With none to show, the page says "Looking for Couchdogs on your network" and "Or add a server by its address", and Add takes an address as usual. Picking a paired Couchdogs host opens its "Couchdogs" app straight away, not the app grid; the per-host menu keeps "View all apps" for the host's other apps. A cold start opens the last Couchdogs host streamed to (cancellable, once per process, and switchable off with "Open Couchdogs on start"), and ending or losing a Couchdogs stream, including an error or a failed reconnect, comes back to the host page with that host selected, never to the app grid and never auto-reconnecting. Streams to other hosts behave as in Moonlight.
CI (client.yml) applies the series, builds each platform with upstream's own build scripts and attaches the packages to client-v* releases: Couchdogs-windows-x64.zip, Couchdogs-macos.dmg, Couchdogs-linux-x86_64.AppImage, Couchdogs-android.apk, and Couchdogs-client-source.tar.gz, the source of that exact build (this repository's client/ folder plus both patched upstream trees, submodules included), so the GPLv3's corresponding-source offer travels with the binaries and does not depend on this repository being reachable or on upstream's GitHub tags staying up. On macOS the package holds Couchdogs.app, with its own bundle id, so it installs beside stock Moonlight instead of replacing it; the Windows zip holds Couchdogs.exe (upstream's build scripts and WiX files are patched to build it under that name), with its own settings key, so it sits beside an installed stock Moonlight rather than over it. The first start of a desktop Couchdogs copies an existing v0.1.0 pairing and settings once, when its own store is still empty. v0.1.0 kept Moonlight's settings identity: on macOS and Linux that is stock Moonlight's own store, and on Windows v0.1.0 shipped the portable build, whose settings live beside the exe in Moonlight Game Streaming Project/Moonlight.ini. The new Windows zip is portable too, so unzip it over the old folder (or copy that Moonlight Game Streaming Project folder across) and the first start finds the pairing; a non-portable Windows build falls back to the registry store. The old store is only read, never changed, so stock Moonlight keeps working beside Couchdogs, and because the copied identity is Moonlight's, the Couchdogs server sees both apps as one device. The desktop builds are unsigned, so each OS warns once on the first open: Windows SmartScreen, "More info" then "Run anyway"; macOS, open Couchdogs.app once, then System Settings, Privacy & Security, "Open Anyway"; Linux, chmod +x the AppImage first. The APK is signed with the owner's release key, which lives in the repository's client-signing environment (ANDROID_KEYSTORE_B64, ANDROID_KEYSTORE_PASSWORD, ANDROID_KEY_ALIAS, ANDROID_KEY_PASSWORD): Android refuses an update signed with another key, so a tag build fails when one is missing instead of publishing a debug-signed APK. A workflow_dispatch run builds the same APK with the debug key, as a check.
A maintainer with no client-signing environment yet must create it before the first client-v* tag, with those four secrets as the values the keystore was made with; if it has deployment rules, they must allow tags client-v*, otherwise the tag build gets no secrets. workflow_dispatch needs nothing. While this repository is private, the releases and the LAN page's link to them open only for a signed-in GitHub account, so household devices get the files that way or by hand. Nothing here waits for the repository to go public.
Licence, credit and source
Couchdogs is based on Moonlight (https://moonlight-stream.org) by the Moonlight Game Streaming Project, whose moonlight-qt and moonlight-android are GPLv3. Modification notice: these programs are modified versions of moonlight-qt v6.2.0 and moonlight-android v12.2, changed by the Couchdogs project in November 2026 (renamed to Couchdogs, new icons, Couchdogs servers listed first and opened directly, on Android pairing kept running while the PIN is typed in another app). Our patches and assets are GPLv3 too.
- Source: this repository, and each
client-v*release attachesCouchdogs-client-source.tar.gz, the source of the exact build. Our changes are the patch series inmoonlight-qt/patches/andmoonlight-android/patches/; the exact upstream release (repository, tag, commit) is pinned inmoonlight-qt/UPSTREAMandmoonlight-android/UPSTREAM.bash scripts/apply.sh <qt|android> <dir>rebuilds the source tree that CI builds from. - Every package carries the GPLv3 text and
NOTICE-Couchdogs.txt(the notice with these pointers, generated from theUPSTREAMpin byapply.sh, so a pin bump can never ship a stale upstream tag or commit): the Windows zip root, macOSCouchdogs.app/Contents/Resources, the AppImage'susr/share/licenses/couchdogs, the APK's assets (upstream'sLICENSE.txtrides in the assets overlay, so a hand-built APK has them too). CI fails a build that lacks them. - Both About screens credit Moonlight, disclaim the warranty and point at the repository and the release's source tarball; the release body names the pinned upstream tags.
- Moonlight's name stays only in credits and where it names an upstream thing (the Moonlight Internet Hosting Tool, upstream help and privacy pages,
moonlight-stream.orgservices).