I am developing a free, open-source (duh) JavaScript library, and wondering how to license it.
I was considering the GNU GPL, but I heard that I must distribute the license with the software, and I'm not sure anymore.
I would like the library to be available much like jQuery: In a free, downloadable script, preferably in either original or minified form. Am I mistaken about the GNU GPL license terms? jQuery is dual licensed under GNU GPL or MIT licenses.
How does the GPL apply to single script files like that? Can I license my library with nothing more than a few sentences in the script file? Is there another license that better suits my needs?
What would be nice is a license that allows you to put the URL in the source, for people to read if they want. I don't know that many do, unless I am mistaken.
I am generally looking to release the library as free software like the GPL specifies, but don't want to have to force licensees to download the full license unless they wish to read it.
Best Answer
Keep it Simple
Use the MIT/X11 License.
I rarely recommend anything else if I don't have a specific reason or am not bound by another license.
Or Just Hyper-Link It...
Many JavaScript libraries simply provide:
This can be an alternative, which allows you to have still a very clear license and keep it short.
IANAL Disclaimer
Though, IANAL and I'm not entirely sure this hyper-link theory really holds, as links are not really perennial resources (though you might argue you could try to prove what they pointed to or contained at a time T).
Laws regulating software, both national or international, are pretty much still in their infancy. This is all rather gray. So you could just go with it, as for now it's a bit obscure what flies and what doesn't.