Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing a piece of software (a WordPress plugin) in PHP and Javascript and CSS. The PHP code must be licensed under GPL, but CSS and Javascript can be under another license (as far as I've understood).

I'm thinking about writing a more permissive version of the AGPL license, and use it, for Javascript and CSS. It would be like the AGPL, but it would only concern files accessible over the network (e.g. Javascript and CSS).


  1. I want users of my software, and small companies that use and produce open source software, to be able to use my plugin for free, without having to publish any GPL licensed server side code (PHP code).

  2. At the same time, I might not want "big companies" to copy all code I've written, without paying me something. — Most "big companies" would probably be unable to use the AGPL-like license discussed here, and instead I would offer them to buy a commercial license.

Question 1: Is this a bad / impossible idea, for some reason?

Question 2: Are there any obvious problems with the below license text? (Is this okay to ask here? If not, please consider editing this question to remove this part of it — or add a comment to me, that I should remove it)

...The AGPL v3 license text..., see

Additional permission under the GNU Affero GPL version 3 section 7:

If you modify or combine this Program, or any covered work,
by linking or combining it with other code, then any such
other code not accessible remotely through a computer
network, is not, for that reason alone (i.e. linking or combining
it) subject to any of the requirements of the GNU Affero GPL
version 3 or later.

Related link: Lesser Affero GPLv3

share|improve this question
Why not just use the AGPL? – Cole Johnson Aug 17 '13 at 21:01
up vote 4 down vote accepted

It's pointless writing your own license.

1, 99.999% of people will ignore it anyway
2, 0.0001% will read it and reject it because they don't understand it, or could never get legal to agree to it.
3, Any license without the firepower of somebody like $MegaCorp$ or the FSF behind it is doomed anyway. How many lawyers can you afford to defend against it in London/Tokyo while they clock up $1000/hour costs deciding what is a "large company"

share|improve this answer
The license actually grants additional permissions, in addition to what is already permitted by the AGPL. Are you arguing that people would ignore the additional permissions? I don't think people would ignore permissions? Well and if they do, then — they would probably abide by the license anyway :-) Without knowing it. – KajMagnus Jul 17 '12 at 18:17
However those 0.0001% that read it, and don't want to adhere to the AGPL licese + some more permissions — well, they're supposed to buy a commercial license. — Actually there are other companies that license their code under a pure AGPL license, and then sell commercial licenses, to companies that don't want to use the AGPL license (and thus open source their own code). Neo4j is one example and the Aloha editor another. – KajMagnus Jul 17 '12 at 18:20
@KajMagnus it doesn't matter. If i use a 'standard' license I (and my company lawyers) know what it means. If you change anything then I'm am potentially going to have problems downstream. Perhaps a simple change eg. wx (LGPL but you can static link on platforms without dlls). You seem to be negating parts of the AGPL in your addition, but it would take a team of lawyers to decide what you meant! – Martin Beckett Jul 17 '12 at 18:22
@KajMagnus, you can simply say GPL or buy commercial and that would work - remember you need to get the copyright of any contributions assigned to you. I'm just saying that in most companies a non-FSF known license == not worth the effort of reading – Martin Beckett Jul 17 '12 at 18:24
@KajMagnus, in most companies the developers have to get this approved. I can explain to my boss, MIT/BSD=ok, LGPL=~ok, GPL=careful. But a change of a single comma means that down the road we are potentially going to have to pay $$$$ to lawyers, and my boss is going to get blamed. – Martin Beckett Jul 17 '12 at 18:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.