4

I had an idea for a website. After much coding and thinking out the idea, I've got it to a decent stage.

If I were someone else, potentially a more commercially-minded person, I might want to sell it, or slather it with ads. However, I've fallen somewhat in love with open-source, and I'd like to host the project on GitHub and give it a nice open-source license.

However, the project seems to be getting better all the time and, in fact, I think that it'll quickly grow to be fairly popular. So I want to put ads on it that benefit charity.

How can I ensure that one small text advertisement benefiting charity remains in all derivative works? Are there any licenses that would let me do this?

p.s. My other requirement for a license is that it gives me attribution (in the same form as the MIT license would be fine)

[EDIT] I've decided to just let it be Apache licensed. I'm hoping that people will just leave charity-benefiting ads in.

1
  • 1
    Such a license may exist, but it would not fit the OSI's licensing criteria nor satisfy the FSF's four freedoms, so it would be neither free software nor open source.
    – apsillers
    Commented Feb 1, 2013 at 0:47

4 Answers 4

4

I like Patkos' answer, but I'd like to throw in a few other things.

First off, I would assume you could modify the GPL, or another similar license, as they require attribution and you simply add the stipulation that the original advertisements must remain.

However, by doing this you are somewhat defying the concept of open source software, as the source is no longer (completely) open.

There is nothing preventing someone else from starting an open source project to duplicate your webapp, as long as they don't use your code. And given the choice, which do you think people will pick?

Personally, I believe you either have to embrace open source or not. Straddling the line will only alienate the public.

5
  • I'll highly advise against modifying a license. At least on GPL, you are limited how you can [change it] (gnu.org/licenses/old-licenses/gpl-2.0-faq.html#ModifyGPL). Modifying an existing license is the best way to get it trashed. This license is easy to "fool". Code can be modified to ignore exactly those sections. A deployment script can be done that skip those lines. Plus, your licenses will make sure your code never appears on the repositories of many Linux distributions. Finally, if this is a website, do not use GPL, you should AGPL instead.
    – carandraug
    Commented Aug 25, 2012 at 19:26
  • when i say modify, make it his own. it wouldnt be GPL at that point. He can make his own license with the same restrictions, along with his own. either way, he needs a lawyer to confirm this.
    – Keltari
    Commented Aug 25, 2012 at 19:30
  • @carandraug: a) The GPL lets you modify it, as long as you don't include or modify the preamble - which is not legally binding, and as such not an issue. b) How can I fool a license? c) This is code - written in JavaScript - that I don't think will be used in a Linux distro. d) Thanks, I've seen the AGPL before but forgot that I should use it for websites instead of the GPL. Commented Aug 26, 2012 at 1:15
  • @OwenVersteeg a) that's what I meant by limited and that's why I shown a link that says exactly that. b) I don't know the exact word, what I mean is that it licenses can be worked around and why you need a lawyer. c) I don't know what code is since you didn't show it, but with the license you wrote, I'm sure it can be worked around. Anyway, please think twice about doing that. It's not in tune with the philosophy behind free (as in freedom) software. You get paid for support, distribution, write new features when you are asked, whatever. Not a constant source of income.
    – carandraug
    Commented Aug 26, 2012 at 1:23
  • @OwenVersteeg One thing that just occurred to me. Your problem is that the free software community is not very fond of ads. However, I have noticed they have a lot of respect for donate buttons if they are not too annoying. For example, Gnome Do has the "Donate" button on their menus, and if you started typing. It was a very famous application and no one bothered to fork it just to remove that option.
    – carandraug
    Commented Aug 26, 2012 at 21:46
2

I think there is no prewritten license to fulfill your requirements. However, noone stops you write your own license and attach it to the original work.

On the other hand, if you have something successful and open-source you may want to consider a business model where users are not required to pay but may be encouraged to donate or support the project.

Open-source, by definition implies that the code is completely open, and no one person should be limited to modify it. GPL, MIT, CreativeCommons and other standard licenses guarantee attribution.

So, go open-source and be open, or make parts of the project closed source. You could make that module that contains the advertisement closed and make the rest of the project depend on it. This will, in some degree protect you, but may also be discouraging for developers to be required to depend on something secret from you.

Other business options would be to open only parts of your project and give them for free, but retain other parts of the project and keep the whole as a paid service.

1
  • Okay, thanks. I guess that I'll go the route of open-source. Thanks for all the advice. Commented Aug 26, 2012 at 4:07
0

If by "open source" you mean "Free Software", then you have no other choice but to allow every possible kind of commercial exploitation, except those that would prevent people from accessing the sources. If you put restrictions on the source, such as mandating the inclusion of certain advertisements, then the software is no longer "free" (as in speech).

So you want to make money off of the software: that's fine, nothing wrong with that. But I believe making in "open source, but not really" isn't the right way to do it: you will miss out on many of the benefits of Free Software (for example, your advertisement clause will make it impossible to include your software in, say, debian), but you won't see much of the benefits of proprietary software either.

Going proprietary is one way to go, and unless you are a full-scale bearded hippie, I don't see any problem with that - you will miss out on free contributions, you will have a harder time gaining traction in the market, and you will have to actively persuade people to buy your product rather than just throwing it out there and waiting for people to bite; but you will also be able to put whatever price tag you like on the software, and pepper it with as many ads as you like.

The other alternative is to go completely Open Source: pick a suitable pre-written Free Software license (there is no point writing your own: the existing ones already cover pretty much all needs), and release it. You can't make any money from selling licenses, and you can't include ads in the software either (that would be pointless, as any fork could just remove them), but here are a few things you can exploit for money:

  • Support. As the author, you are the prime source of inside information on the software; it's OK to make people pay for that information.
  • Custom extensions and modifications. More often than you think, people are more than willing to pay to see your software incorporate feature X, even if that means everyone else will also get the feature. They don't pay your for exclusive rights to your development effort, but for prioritizing features they need the most.
  • Resume building. If it becomes popular, you'll be famous. Not rock star famous, but enough to give your professional networking a significant boost and increase your employability.

And then, there's dual licensing - in short, you can offer the product gratis under an Open Source license (typically one from the GPL family), and offer the option to "upgrade" to a commercial license that allows things your Open Source license doesn't (such as re-selling with modifications without providing sources). This is a thin line though, and it won't help your 'street credit' in Free Software land.

0

The only way you can protect yourself against this sort of thing is to a) have a license that protects you from this, b) catch someone doing it, and c) use the court systems for remedy. Are you prepared to do that? Let's say you craft the perfect extension to a license which fully protects you. Are you willing and able to fight that in court when someone violates it?

No matter how great your website software is, the chance of you making money off of it once it goes open source is very nearly 0%. Accept that, and realize that the benefit of giving your source code away reaps benefits far greater than a small amount of money. If your software is as great as you think it is, giving it away will help people and that's a good thing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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