<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Team Spotube</title>
    <description>The latest articles on DEV Community by Team Spotube (@team-spotube).</description>
    <link>https://dev.to/team-spotube</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4277477%2F14689b3c-1d0a-40c8-96a1-198f9373b67c.png</url>
      <title>DEV Community: Team Spotube</title>
      <link>https://dev.to/team-spotube</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/team-spotube"/>
    <language>en</language>
    <item>
      <title>Open-source licenses in plain English: MIT, Apache 2.0, GPL and AGPL</title>
      <dc:creator>Team Spotube</dc:creator>
      <pubDate>Wed, 02 Dec 2026 07:48:31 +0000</pubDate>
      <link>https://dev.to/team-spotube/open-source-licenses-in-plain-english-mit-apache-20-gpl-and-agpl-7o5</link>
      <guid>https://dev.to/team-spotube/open-source-licenses-in-plain-english-mit-apache-20-gpl-and-agpl-7o5</guid>
      <description>&lt;p&gt;Every open-source repo has a file most people never open: &lt;code&gt;LICENSE&lt;/code&gt;. It is the only reason you are allowed to copy that code at all. Without it, default copyright applies and the code is "look, don't touch", no matter how public the repo is.&lt;/p&gt;

&lt;p&gt;We get questions about ours fairly often, usually some version of "why AGPL and not MIT?". So here is the guide we wish we had when we started: what the big four licenses actually ask of you, where they clash, and why Spotube ended up where it did.&lt;/p&gt;

&lt;p&gt;One thing before we start: &lt;strong&gt;this is not legal advice.&lt;/strong&gt; We are developers who have read these licenses more times than is healthy, not lawyers. If real money or a real product depends on the answer, ask one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two families: permissive and copyleft
&lt;/h2&gt;

&lt;p&gt;Almost every popular license falls into one of two families, and the split comes down to one question: &lt;strong&gt;what happens when you pass the code on?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A &lt;a href="https://en.wikipedia.org/wiki/Permissive_software_license" rel="noopener noreferrer"&gt;permissive license&lt;/a&gt; says: do what you want, keep our name on it, don't sue us. You can take MIT code, change it, close it up and sell a proprietary product. The original authors get credit and nothing else.&lt;/p&gt;

&lt;p&gt;A &lt;a href="https://en.wikipedia.org/wiki/Copyleft" rel="noopener noreferrer"&gt;copyleft&lt;/a&gt; license says: do what you want, but if you hand your version to someone else, they get the same freedoms you got. The source code and the license travel with the program. You can't take GPL code, improve it and give people only a binary.&lt;/p&gt;

&lt;p&gt;Neither family is "more open". They just protect different people. Permissive licenses maximize freedom for the next developer. Copyleft licenses protect the freedom of the end user, even against that next developer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fju19sez21yra8t71dabh.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fju19sez21yra8t71dabh.gif" alt="Flat-lay of a desk with three manila folders side by side. A red rubber stamp hits the first folder with PERMISSIVE, and two cream sheets labelled MIT and Apache-2.0 slide into it. A blue stamp marks the second folder COPYLEFT and sheets labelled GPL-2.0 and GPL-3.0 slide in. A second blue stamp marks the third folder NETWORK and one sheet labelled AGPL-3.0 slides in. Under each folder an index card lists the duties, earlier duties appearing as carbon copies and the new one typed fresh: under PERMISSIVE &amp;quot;keep notice&amp;quot;, under COPYLEFT &amp;quot;keep notice, share source when you distribute&amp;quot;, under NETWORK &amp;quot;keep notice, share source when you distribute, share source with network users of modified versions&amp;quot;." width="740" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Each folder keeps everything the one before it asks, and adds one more duty.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What each license actually requires
&lt;/h2&gt;

&lt;h3&gt;
  
  
  MIT: keep the notice
&lt;/h3&gt;

&lt;p&gt;The &lt;a href="https://opensource.org/license/mit" rel="noopener noreferrer"&gt;MIT License&lt;/a&gt; is about 170 words. It grants permission "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software" on one condition: "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software." Then comes the all caps "AS IS" warranty disclaimer.&lt;/p&gt;

&lt;p&gt;That's it. Ship a minified bundle with MIT code inside? Keep the notice somewhere in it (that's why so many apps have an "open source licenses" screen). The FSF's &lt;a href="https://www.gnu.org/licenses/license-list.html#Expat" rel="noopener noreferrer"&gt;license list&lt;/a&gt; calls it "a lax, permissive non-copyleft free software license, compatible with the GNU GPL".&lt;/p&gt;

&lt;h3&gt;
  
  
  Apache 2.0: notice, changes, and patents
&lt;/h3&gt;

&lt;p&gt;The &lt;a href="https://www.apache.org/licenses/LICENSE-2.0" rel="noopener noreferrer"&gt;Apache License 2.0&lt;/a&gt; is permissive too, but longer and more careful. Section 4 asks you to give recipients a copy of the license, to make "any modified files to carry prominent notices stating that You changed the files", and to keep existing copyright, patent, trademark and attribution notices (including a &lt;code&gt;NOTICE&lt;/code&gt; file if the project has one).&lt;/p&gt;

&lt;p&gt;The big difference is section 3, the &lt;strong&gt;patent grant&lt;/strong&gt;. Every contributor gives you a "perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable" license to any of their patents that their contribution infringes. MIT says nothing explicit about patents.&lt;/p&gt;

&lt;p&gt;There is a sting in the tail. If you sue anyone claiming the project infringes your patent, "any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed." It works like a peace treaty: use our patents freely, but if you start a patent war over this code, you lose your shield.&lt;/p&gt;

&lt;h3&gt;
  
  
  GPL: share the source when you distribute
&lt;/h3&gt;

&lt;p&gt;The &lt;a href="https://www.gnu.org/licenses/gpl-3.0.html" rel="noopener noreferrer"&gt;GNU GPL version 3&lt;/a&gt; (dated 29 June 2007) is the classic copyleft license. Run it, study it, change it, all fine. The obligations kick in when you &lt;strong&gt;convey&lt;/strong&gt; the program, meaning you give copies to someone else. Then you must pass on the GPL itself and provide the "Corresponding Source", the full source needed to build and modify the version you shipped.&lt;/p&gt;

&lt;p&gt;The license gives you several ways to do that. Ship the source next to the binary, host it on a server, or, for physical products, include a written offer "valid for at least three years" to provide it later.&lt;/p&gt;

&lt;p&gt;What the GPL does &lt;strong&gt;not&lt;/strong&gt; do is make you publish anything you never distribute. The official &lt;a href="https://www.gnu.org/licenses/gpl-faq.html#GPLRequireSourcePostedPublic" rel="noopener noreferrer"&gt;GPL FAQ&lt;/a&gt; is blunt: "You are free to make modifications and use them privately, without ever releasing them," and that applies to companies using a modified version internally too.&lt;/p&gt;

&lt;h3&gt;
  
  
  AGPL: share the source with network users too
&lt;/h3&gt;

&lt;p&gt;The &lt;a href="https://www.gnu.org/licenses/agpl-3.0.html" rel="noopener noreferrer"&gt;GNU Affero GPL version 3&lt;/a&gt; is the GPLv3 plus one extra clause. The FSF describes it as "the terms of GPLv3, with an additional paragraph in section 13". Here is the heart of section 13:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Read it slowly, because every phrase matters. It applies when &lt;strong&gt;you modify&lt;/strong&gt; the program. It covers users &lt;strong&gt;interacting remotely&lt;/strong&gt;, not people who never touch your server. And you satisfy it by &lt;strong&gt;offering&lt;/strong&gt; the source, typically through a link in the interface. The &lt;a href="https://www.gnu.org/licenses/gpl-faq.html#AGPLv3InteractingRemotely" rel="noopener noreferrer"&gt;GPL FAQ&lt;/a&gt; says programs "expressly designed to accept user requests and send responses over a network" qualify, such as "web and mail servers, interactive web-based applications, and servers for games that are played online."&lt;/p&gt;

&lt;p&gt;To see why anyone would want that clause, we need to talk about the loophole it closes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The SaaS loophole, and why AGPL exists
&lt;/h2&gt;

&lt;p&gt;The GPL's trigger is distribution. That made sense when software meant a program on your own computer. Then the web happened, and lots of programs stopped being distributed at all. You don't download a webmail service; you send requests to a server and get pages back.&lt;/p&gt;

&lt;p&gt;The GNU project's own explainer, &lt;a href="https://www.gnu.org/licenses/why-affero-gpl.html" rel="noopener noreferrer"&gt;Why the Affero GPL&lt;/a&gt;, walks through it with a developer called D. You release a server program under the GPL. D modifies it, "might very likely run it on his own server and never release copies. Then you would never get a copy of the source code of his version". D never conveyed anything, so the GPL never asked for anything. D's users get HTML, you get nothing back.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F63y6v0at2oc66szwsv88.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F63y6v0at2oc66szwsv88.gif" alt="Three rows of carbon copies on a desk, each starting from a folder labelled &amp;quot;modified program&amp;quot;. Row 1, stamped GPL, &amp;quot;ships an app download&amp;quot;: a binary and a stapled source bundle both slide to a user, with a checkmark. Row 2, stamped GPL, &amp;quot;runs on a server&amp;quot;: only a web page slides to the user, the source bundle drops into a steel lockbox that locks shut, and a slip is stamped in red &amp;quot;nothing owed&amp;quot;. Row 3, stamped NETWORK, AGPL, &amp;quot;runs on a server&amp;quot;: the web page slides to the user with a paper tag &amp;quot;Source&amp;quot; clipped to it, which unfolds into the source bundle, with a checkmark." width="740" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The GPL triggers on copies. AGPL section 13 also triggers on network users of modified versions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The same essay gives the AGPL version of the story: "If D runs his version on a server that everyone can use, you too can use it," download the source, and merge his changes back.&lt;/p&gt;

&lt;p&gt;The idea is older than the GNU license. According to &lt;a href="https://en.wikipedia.org/wiki/GNU_Affero_General_Public_License" rel="noopener noreferrer"&gt;Wikipedia's history of the AGPL&lt;/a&gt;, Affero, Inc. published the original Affero GPL in March 2002, and the FSF published the GNU AGPLv3 on November 19, 2007. Spotube's own &lt;code&gt;LICENSE&lt;/code&gt; file carries that date right under its title: "Version 3, 19 November 2007".&lt;/p&gt;

&lt;h2&gt;
  
  
  Compatibility: when licenses can't share a file
&lt;/h2&gt;

&lt;p&gt;Licenses don't only govern what you owe. They decide what you can &lt;strong&gt;combine&lt;/strong&gt;. A combined copyleft work has to go out under the copyleft license, so every piece in it must allow that. If one piece adds a requirement the copyleft license forbids, the combination can't legally be distributed.&lt;/p&gt;

&lt;p&gt;The classic example is Apache 2.0 and GPLv2. The FSF says Apache 2.0 is "compatible with version 3 of the GNU GPL" but "not compatible with GPL version 2, because it has some requirements that are not in that GPL version. These include certain patent termination and indemnification provisions." The Apache Software Foundation agrees on its &lt;a href="https://www.apache.org/licenses/GPL-compatibility.html" rel="noopener noreferrer"&gt;GPL compatibility page&lt;/a&gt;: "Apache 2 software can therefore be included in GPLv3 projects", but the FSF "has never considered the Apache License to be compatible with GPL version 2".&lt;/p&gt;

&lt;p&gt;So the version wording in a header matters a lot. A quick cheat sheet:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;You want to combine&lt;/th&gt;
&lt;th&gt;Into&lt;/th&gt;
&lt;th&gt;Works?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;MIT&lt;/td&gt;
&lt;td&gt;anything (keep the notice)&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Apache-2.0&lt;/td&gt;
&lt;td&gt;GPL-3.0 or AGPL-3.0&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Apache-2.0&lt;/td&gt;
&lt;td&gt;GPL-2.0-only&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPL-2.0-or-later&lt;/td&gt;
&lt;td&gt;GPL-3.0&lt;/td&gt;
&lt;td&gt;yes, by picking v3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPL-3.0&lt;/td&gt;
&lt;td&gt;a project you want to keep MIT-only&lt;/td&gt;
&lt;td&gt;no, the combined work must be GPL&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That "or later" row is worth pausing on. GNU-style license notices (Spotube's is quoted further down) name a version and then add "or (at your option) any later version." For a &lt;a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" rel="noopener noreferrer"&gt;GPLv2&lt;/a&gt; project, keeping that phrase means the code can move to v3 when it needs to; deleting it makes the project GPL-2.0-only. That one sentence decides whether a project can absorb Apache code a decade later.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5pbjftsipbv1pn7ysav0.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5pbjftsipbv1pn7ysav0.gif" alt="A desk with two license cards on pads of carbon copies, MIT and Apache-2.0, and four docket cards: GPL-2.0-only, GPL-3.0, AGPL-3.0 and GPL-2.0-or-later. A carbon copy of MIT is clipped into every docket, each paper clip turning green with &amp;quot;yes&amp;quot; pencilled underneath. Apache-2.0 is clipped into GPL-3.0 and AGPL-3.0 the same way, then tries GPL-2.0-only, is turned away, and a red INCOMPATIBLE stamp lands in the empty slot with the note &amp;quot;patent termination + indemnification&amp;quot;. Finally a red pencil rings &amp;quot;or-later&amp;quot; on the GPL-2.0-or-later docket, &amp;quot;by picking v3&amp;quot; is typed, and Apache-2.0 is clipped in with a green clip." width="740" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Apache-2.0 fits into GPLv3 but not GPLv2-only. 'Or later' is the escape hatch.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  SPDX: one line instead of a paragraph
&lt;/h2&gt;

&lt;p&gt;Long license headers are hard for tools to read and easy to mangle. &lt;a href="https://spdx.org/licenses/" rel="noopener noreferrer"&gt;SPDX&lt;/a&gt; is a standard list of short license identifiers: &lt;code&gt;MIT&lt;/code&gt;, &lt;code&gt;Apache-2.0&lt;/code&gt;, &lt;code&gt;GPL-2.0-only&lt;/code&gt;, &lt;code&gt;GPL-3.0-or-later&lt;/code&gt;, &lt;code&gt;AGPL-3.0-or-later&lt;/code&gt;, and hundreds more. Notice that "only" and "or later" are part of the identifier, which bakes in the compatibility point above.&lt;/p&gt;

&lt;p&gt;The SPDX project's &lt;a href="https://spdx.dev/learn/handling-license-info/" rel="noopener noreferrer"&gt;guide to handling license info&lt;/a&gt; shows the convention: "Adding an SPDX ID only requires adding a single &lt;code&gt;SPDX-License-Identifier:&lt;/code&gt; line." Expressions work too, like &lt;code&gt;MIT OR Apache-2.0&lt;/code&gt; for dual licensing. Scanners, package managers and compliance tools can read these without a human squinting at prose.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="cm"&gt;/* Copyright (C) 2026 Kingkor Roy Tirtho and Spotube Contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is the top of a real file in Spotube, &lt;a href="https://github.com/team-spotube/spotube/blob/master/composeApp/src/commonMain/kotlin/org/spotube/spotube/core/ui/component/cards/MediaEmptyState.kt" rel="noopener noreferrer"&gt;&lt;code&gt;MediaEmptyState.kt&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common myths
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;"You can't sell GPL software."&lt;/strong&gt; You can. The &lt;a href="https://www.gnu.org/licenses/gpl-faq.html#DoesTheGPLAllowMoney" rel="noopener noreferrer"&gt;GPL FAQ&lt;/a&gt; says "Yes, the GPL allows everyone to do this," and the GNU essay on &lt;a href="https://www.gnu.org/philosophy/selling.html" rel="noopener noreferrer"&gt;selling free software&lt;/a&gt; says you can charge "nothing, a penny, a dollar, or a billion dollars." The catch is commercial, not legal: each buyer gets the source and the right to share it, so selling copies is hard to scale.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"AGPL applies the moment you run it."&lt;/strong&gt; Private use triggers nothing. Section 13 starts with "if you modify the Program", and it is about other people interacting with your modified version over a network. Running unmodified AGPL software on your own server, or a modified copy only you use, does not create a duty to offer source to anyone. (Distributing copies still brings in the normal GPL rules, of course.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"MIT means no rules."&lt;/strong&gt; Dropping the copyright notice is the one thing MIT forbids, and it is the most common way people break it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"Public repo means open source."&lt;/strong&gt; No license file, no permission. Public visibility and a license grant are different things.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Spotube uses AGPL
&lt;/h2&gt;

&lt;p&gt;Spotube's &lt;a href="https://github.com/team-spotube/spotube/blob/master/LICENSE" rel="noopener noreferrer"&gt;&lt;code&gt;LICENSE&lt;/code&gt;&lt;/a&gt; is the full GNU AGPL version 3 text, and the README states it as AGPL-3.0-or-later. Most source files carry the long-form notice from &lt;a href="https://github.com/team-spotube/spotube/blob/master/.github/agpl_header.txt" rel="noopener noreferrer"&gt;&lt;code&gt;.github/agpl_header.txt&lt;/code&gt;&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Copyright (C) 2026 Kingkor Roy Tirtho and Spotube Contributors

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We don't add those headers by hand. Our &lt;a href="https://github.com/team-spotube/spotube/blob/master/lefthook.yaml" rel="noopener noreferrer"&gt;&lt;code&gt;lefthook.yaml&lt;/code&gt;&lt;/a&gt; pre-commit hook runs Google's &lt;a href="https://github.com/google/addlicense" rel="noopener noreferrer"&gt;addlicense&lt;/a&gt; on staged &lt;code&gt;kt&lt;/code&gt;, &lt;code&gt;kts&lt;/code&gt;, &lt;code&gt;xml&lt;/code&gt;, &lt;code&gt;yaml&lt;/code&gt; and &lt;code&gt;yml&lt;/code&gt; files with that header as the template, so new files get it before they reach the repo. A few dozen newer files use the short SPDX form shown earlier instead.&lt;/p&gt;

&lt;p&gt;Why AGPL for a music app that runs on your own device? Spotube is a client, so for the app itself, AGPL behaves almost exactly like GPLv3: if you ship a modified build, you ship the source. Section 13 is about the future. Music apps are full of logic that could be lifted into a hosted service: playlists, search, plugin plumbing. AGPL means that if someone does that with a modified version of our code, their users can still get the source. For a project that runs on volunteer time and donations (we wrote about that in &lt;a href="https://spotube.org/blog/open-source-solo-maintainer-sustainability" rel="noopener noreferrer"&gt;keeping an open-source app alive as a solo maintainer&lt;/a&gt;), that reciprocity is the deal we want: take it, improve it, and share the improvements back.&lt;/p&gt;

&lt;p&gt;The "or later" choice is about the future too. If the FSF ever publishes an AGPLv4, people can use Spotube under it without us chasing every past contributor for permission.&lt;/p&gt;

&lt;h2&gt;
  
  
  Picking a license for your own project
&lt;/h2&gt;

&lt;p&gt;A rough rule of thumb, not legal advice: if you want maximum adoption, including inside closed products, pick MIT or Apache 2.0, and prefer Apache when patents could ever matter. If you want improvements to come back, pick GPLv3. If your code is likely to run on someone else's server, pick AGPLv3. Whatever you pick, put an SPDX line in each file, a full &lt;code&gt;LICENSE&lt;/code&gt; at the root, and say "or later" on purpose, not by accident.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://opensource.org/license/mit" rel="noopener noreferrer"&gt;The MIT License (Open Source Initiative)&lt;/a&gt;: the full license text.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.apache.org/licenses/LICENSE-2.0" rel="noopener noreferrer"&gt;Apache License, Version 2.0&lt;/a&gt;: sections 3 (patent grant and termination) and 4 (redistribution).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.gnu.org/licenses/gpl-3.0.html" rel="noopener noreferrer"&gt;GNU General Public License v3&lt;/a&gt;: conveying, Corresponding Source and the written offer.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" rel="noopener noreferrer"&gt;GNU General Public License v2&lt;/a&gt;: the older version and its "any later version" wording.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.gnu.org/licenses/agpl-3.0.html" rel="noopener noreferrer"&gt;GNU Affero General Public License v3&lt;/a&gt;: section 13, remote network interaction.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.gnu.org/licenses/why-affero-gpl.html" rel="noopener noreferrer"&gt;Why the Affero GPL&lt;/a&gt;: the GNU project's explanation of the server problem.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.gnu.org/licenses/license-list.html" rel="noopener noreferrer"&gt;Various Licenses and Comments about Them (FSF)&lt;/a&gt;: compatibility notes for MIT, Apache 2.0 and AGPL.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.apache.org/licenses/GPL-compatibility.html" rel="noopener noreferrer"&gt;Apache License v2.0 and GPL Compatibility&lt;/a&gt;: the ASF's side of the GPLv2 story.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.gnu.org/licenses/gpl-faq.html" rel="noopener noreferrer"&gt;Frequently Asked Questions about the GNU Licenses&lt;/a&gt;: private modification, selling, and what counts as remote interaction.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.gnu.org/philosophy/selling.html" rel="noopener noreferrer"&gt;Selling Free Software&lt;/a&gt;: why charging for copies is allowed.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://en.wikipedia.org/wiki/GNU_Affero_General_Public_License" rel="noopener noreferrer"&gt;GNU Affero General Public License (Wikipedia)&lt;/a&gt;: history from Affero, Inc. in 2002 to GNU AGPLv3 in 2007.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://en.wikipedia.org/wiki/Permissive_software_license" rel="noopener noreferrer"&gt;Permissive software license (Wikipedia)&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/Copyleft" rel="noopener noreferrer"&gt;Copyleft (Wikipedia)&lt;/a&gt;: background on the two families.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://spdx.org/licenses/" rel="noopener noreferrer"&gt;SPDX License List&lt;/a&gt; and &lt;a href="https://spdx.dev/learn/handling-license-info/" rel="noopener noreferrer"&gt;Handling License Info (SPDX)&lt;/a&gt;: identifiers and the one-line header convention.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/google/addlicense" rel="noopener noreferrer"&gt;google/addlicense&lt;/a&gt;: the tool that adds license headers to source files.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://spotube.org/blog/open-source-licenses-explained" rel="noopener noreferrer"&gt;spotube.org&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>licensing</category>
      <category>agpl</category>
      <category>gpl</category>
    </item>
  </channel>
</rss>
