ADR-0009: Licence: GPL-3.0-or-later
- Status: accepted
- Date: 2026-11-08
- Deciders: maintainer
- Tags:
legal,community
Context
Tether is a clean-room reimplementation of a proprietary product’s behaviour (no reverse engineering of Microsoft binaries or protocols). It will reuse open-source components where licences allow, and its most valuable property is that the phone-to-PC link stays under the user’s control. Candidate reuse we have already identified and their licences:
- scrcpy (Apache-2.0): shell-helper techniques for display capture, virtual displays and input injection (ADR-0007).
- KDE Connect (GPL-2.0-or-later / LGPL): plugin payload semantics as reference only; no code copied.
- Klinker
android-smsmms(Apache-2.0): MMS PDU handling (M2). gst-plugin-gtk4(MPL-2.0), rustls/tokio/prost/zbus (MIT/Apache-2.0), gtk4-rs (MIT), Wire (Apache-2.0), CameraX/Compose (Apache-2.0), ZXing (Apache-2.0).
A permissive licence would let an OEM or a cloud vendor ship a closed fork with the same feature set and a proprietary relay, which is the exact outcome the project exists to avoid. GPL-2.0-only would be incompatible with incorporating Apache-2.0 code (scrcpy, Klinker), which we need. GPL-3.0-or-later is compatible with Apache-2.0 (one way, into GPL-3), MPL-2.0, MIT and BSD, and the “or later” clause avoids a future licence dead end.
Decision
- All first-party code in this repository (Android app, Rust crates, protocol
schemas, build and packaging scripts) is licensed GPL-3.0-or-later. The
repository root
LICENSEis the GPLv3 text; every source file carries an SPDX header// SPDX-License-Identifier: GPL-3.0-or-later(or the comment syntax of its language). - Documentation under
docs/is also GPL-3.0-or-later for simplicity (no dual-licensing of docs). - Contributions are accepted under the Developer Certificate of Origin (DCO,
Signed-off-bytrailer), not a CLA. The project therefore cannot relicense contributions to anything other than later GPL versions. - Third-party code is included only if its licence is GPL-3.0 compatible; each
inclusion is recorded in a
THIRD_PARTY.md(created when the first inclusion happens) with licence and origin. Reference-only reading of GPL-2.0-only code (none identified so far) is avoided to keep the clean-room claim simple. - The relay server (M5, ADR-0010) will be evaluated separately for AGPL-3.0-or-later because it is a network service; that will be its own ADR.
Consequences
Positive
- Copyleft protects the user-controlled link; forks must stay open.
- Compatible with everything we plan to reuse; F-Droid inclusion is straightforward.
- DCO keeps contribution friction to a one-line trailer.
Negative / risks
- GPL-incompatible components (CDDL, some OEM SDKs, proprietary codecs’ SDKs) cannot be linked. Accepted; none are needed.
- Companies with GPL-3 policies may not contribute or embed. Accepted.
- No relicensing is possible without every contributor’s consent. Accepted; “or later” covers the FSF’s future versions.
Alternatives considered
- MIT / Apache-2.0: maximum adoption, no protection against closed forks. Rejected.
- GPL-2.0-or-later (KDE Connect’s licence): compatible via “or later”, but choosing 2 signals nothing we want and complicates Apache-2.0 inclusion for people reading it as 2-only. Rejected.
- AGPL-3.0-or-later for everything: appropriate for the relay, unnecessary for client software and off-putting for app distribution. Deferred to the relay ADR.
- MPL-2.0 (file-level copyleft): allows proprietary combination at the binary level, which defeats the purpose. Rejected.
- CLA instead of DCO: enables relicensing but deters contributors and concentrates power in the maintainer. Rejected.