Licence
Licence suggestion
- Host, Shell, and reference Apps:
AGPL-3.0-or-later. - Third-party Apps may use other licences.
Explanation
The project should use an open licence that supports its long-term freedom and encourages companies that fork it to contribute improvements. Unlike a permissive licence such as MIT, AGPL’s copyleft requires those who distribute modified versions—or make them available for network use—to offer the corresponding source under the licence’s terms. This lets others benefit from improvements, including when the Host is run as a service. The -or-later option preserves the ability to use later versions of the GNU Affero General Public Licence.
Nextcloud also uses AGPL 3.0, so it can’t be totally wrong.
Similar licence options
- MIT (
MIT) — Permissive. People may use, modify, and redistribute the code, including in proprietary products, subject mainly to preserving the copyright and licence notice. It does not require publishing modifications. - GNU GPL (
GPL-3.0-onlyorGPL-3.0-or-later) — Strong copyleft for covered works that are distributed. Distributors of modified versions must provide corresponding source under the GPL. It does not add AGPL’s specific source-offer requirement for users interacting with modified software over a network. - GNU AGPL (
AGPL-3.0-onlyorAGPL-3.0-or-later) — GPL-style copyleft that also addresses network use: operators of a modified version users interact with over a network must offer those users its corresponding source. This is the selected option for the Host, Shell, and reference Apps. - GNU LGPL (
LGPL-3.0-onlyorLGPL-3.0-or-later) — Weaker copyleft, intended mainly for libraries. Changes to the LGPL-covered library remain under the LGPL, while applications may generally use the library under other terms, subject to the licence’s conditions. It does not impose AGPL’s network-use source-offer requirement.
For GPL, AGPL, and LGPL, -only means that version of the licence applies; -or-later also permits use under later versions. These licences apply to the covered code and do not automatically determine the licence of separate third-party Apps.