News for hackers. Stuff that matters.

Ask HN: What license to use for my open source project?

I am working on a open source project, but I have some difficulties in choosing the license.

1. Software will be open source (github source code)

2. I will run a paid hosted version (free version with paid plugins)

3. Anyone can use it for non-commercial purposes, otherwise pay for a license.

Question: What license type suits best for this?

( 4 comments | 2 points | on HN )
Re:Ask HN: What license to use for my open source project? by dalke on Monday April 11, 2016 @03:16AM (#11470072)
The first step is to realize that #1 and #3 are incompatible.

By definition, "open source" means people who acquire the software, including those who download it from its github project page, are allowed to use it for commercial purposes without paying for a license.

You cannot say that a project is "open source" if it has a license which restricts it to non-commercial purposes.

Re:Ask HN: What license to use for my open source project? by SITZ on Monday April 11, 2016 @03:23AM (#11470085)
This page by Github has pretty good outline of different Open Source license options: http://choosealicense.com/

It also pops up when you try to create a file named LICENSE* on the website.

Re:Ask HN: What license to use for my open source project? by twctek43a on Monday April 11, 2016 @03:59AM (#11470210)
I'd dual license it as GPL/Commercial. People can use GPL code for commercial purposes but its use will be limited, and any company serious about using it without risking legal issues will pay for the commercial version. Qt follows a similar model. You can look at AGPL if your project is SaaS.
Re:Ask HN: What license to use for my open source project? by justintocci on Monday April 11, 2016 @03:15AM (#11470068)
I had trouble with this recently. I wanted something that prohibited hosted copies and forks but was free in other respects. I couldn't find anything.