News for hackers. Stuff that matters.

Ask HN: I need a license for an open source project allowing commercial reuse

Tipjoy made http://tatatweet.com

You can get the source here: http://bit.ly/git_tatatweet

I'd like to fill up the license file with something more than:

  todo: insert business friendly license here :)
I'd like others to be able to copy the code and make money off of it. Any pointers?

An actual license file I can copy and paste would be helpful.

( 19 comments | 10 points | on HN )
Re:Ask HN: I need a license for an open source project allow... by ivankirigin on Thursday May 21, 2009 @10:38AM (#620493)
Re:Ask HN: I need a license for an open source project allow... by xenoterracide on Thursday May 21, 2009 @09:55AM (#620434)
I'm not aware of any OSS license that doesn't allow others to copy the code and make money off it. even AGPLv3 (arguably the most restrictive license) allows it.
Re:Ask HN: I need a license for an open source project allow... by j_baker on Thursday May 21, 2009 @11:17AM (#620558)
The problem is that the AGPL and GPL require you to let anyone who buys your software fork it or give it away for free. This is how CentOS is made.

And if you use a GPL or AGPL library, you have to license the whole software package as such.

Re:Ask HN: I need a license for an open source project allow... by vorador on Thursday May 21, 2009 @01:30PM (#620781)
This is not a problem for a webapp. Or is it ?
Re:Ask HN: I need a license for an open source project allow... by twopoint718 on Thursday May 21, 2009 @04:49PM (#621109)
You may have to watch out because the GPLv3 is designed to prevent this sort of thing (having some GPL'd software inaccessible on the server side (the "application service provider" loophole)).

So it could be a problem, I'm not an expert on this.

http://en.wikipedia.org/wiki/GNU_General_Public_License#Vers...

*Edit, nothing to do with "Tivoization"

Re:Ask HN: I need a license for an open source project allow... by sachmanb on Friday May 22, 2009 @02:14PM (#622460)
if it is AGPL (notice the A), then you must provide source to to your users, whereas with GPL it's when you distribute the code (can't send precompiled webapp)
Re:Ask HN: I need a license for an open source project allow... by JeremyBanks on Thursday May 21, 2009 @09:37AM (#620402)
The MIT license (http://en.wikipedia.org/wiki/MIT_License ) and similar ones are pretty common choices. They more or less allow anything as long as attribution is provided.
Re:Ask HN: I need a license for an open source project allow... by asb on Thursday May 21, 2009 @11:43AM (#620612)
As a consumer of open source libraries, my vote has to go for MIT. There's nothing wrong with Apache but I really appreciate the brevity of MIT and BSD licenses. I know brevity isn't all you should care about, but both licenses seem to have stood up fairly well over the years while being intuitive to understand. I'm no fan of custom licenses, even if their meaning seems crystal clear (like the WTFPL). Sure it's funny, but I'd rather have people using my code be able to use it with complete confidence and with minimal hassle from their legal department.
Re:Ask HN: I need a license for an open source project allow... by NonEUCitizen on Thursday May 21, 2009 @09:41AM (#620410)
APACHE / BSD / MIT
Re:Ask HN: I need a license for an open source project allow... by davidw on Thursday May 21, 2009 @09:47AM (#620422)
A lot of work went into the Apache license, and it's definitely business friendly, allowing for reuse in proprietary projects. BSD and MIT are a bit simpler more straightforward. The two things that are nice about the Apache license are the contributors clause and the patent clause.
Re:Ask HN: I need a license for an open source project allow... by graemep on Thursday May 21, 2009 @01:43PM (#620803)
The old BSD license is not compatible with the GPL - I assume that if you are allowing proprietary re-use, you would also want to allow as much open source re-sure as possible.
Re:Ask HN: I need a license for an open source project allow... by kelnos on Thursday May 21, 2009 @04:54PM (#621120)
When people say "BSD license" these days they usually mean the "modified BSD license" or "2/3-clause BSD license" that doesn't include the advertising clause, and as such is indeed compatible with the GPL. I don't think anyone of any notoriety actually uses the original, GPL-incompatible BSD license these days.
Re:Ask HN: I need a license for an open source project allow... by wheels on Thursday May 21, 2009 @10:40AM (#620499)
MPL is my personal favorite. Basically says you can use and modify the code in a whole bunch of ways, but if you release a version with changes you have to post the diff somewhere.
Re:Ask HN: I need a license for an open source project allow... by Janzert on Thursday May 21, 2009 @04:36PM (#621088)
I really do like the simplicity, brevity, and complete freedom of use of the MIT license.

http://www.opensource.org/licenses/mit-license.php

Just replace <year> and <copyright holders> as appropriate.

Re:Ask HN: I need a license for an open source project allow... by oomkiller on Thursday May 21, 2009 @11:37AM (#620601)
You could go with BSD, it seems to be the standard for allowing other people to take your source and distribute it in a closed source product.

http://en.wikipedia.org/wiki/BSD_licenses

Re:Ask HN: I need a license for an open source project allow... by NonEUCitizen on Thursday May 21, 2009 @09:42AM (#620412)
also, can do like SQLite and just make it Public Domain.
Re:Ask HN: I need a license for an open source project allow... by xenoterracide on Thursday May 21, 2009 @09:55AM (#620436)
This was more of a pain for SQLite than it was worth. It requires a lot more paperwork than just giving it a BSD (or similar) license.
Re:Ask HN: I need a license for an open source project allow... by lsb on Thursday May 21, 2009 @10:20AM (#620474)
In http://www.simple-talk.com/opinion/geek-of-the-week/dr-richa... he specifically says that if he knew more about copyright, he would have released under the Apache license.

That said, it's a warm fuzzy feeling to read "The author disclaims copyright to this source code. In place of a legal notice, here is a blessing: may you do good and not evil. May you find forgiveness for yourself and forgive others. May you share freely, never taking more than you give."

Re:Ask HN: I need a license for an open source project allow... by j_baker on Thursday May 21, 2009 @11:18AM (#620562)
If you make it public domain, aren't you still liable (in the legal sense) for bugs or other issues?