From caa47fb00ce56df0181fb1a5c399ef067f9b5183 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Balter" Date: Tue, 9 Apr 2013 12:41:25 -0400 Subject: [PATCH] First pass at Jekylification * Move licenses to license template * Move home / about to page template * Move annotations to config file, included via annotations.js * Move license metadata to YML Front matter * Automate the presentation of license metadata * Move sidebar to include * Add _site to gitignore --- .gitignore | 5 +- _config.yml | 57 +++ _includes/sidebar.html | 44 ++ _layouts/default.html | 38 ++ _layouts/license.html | 60 +++ about.md | 27 ++ about/index.html | 56 --- index.html | 36 +- javascripts/annotations.js | 11 + javascripts/app.js | 27 -- licenses.html | 73 ++++ licenses/{agpl/index.html => agpl.html} | 129 ++---- licenses/{apache/index.html => apache.html} | 130 ++---- .../{artistic/index.html => artistic.html} | 123 ++---- licenses/bsd-3-clause.html | 34 ++ licenses/bsd-3-clause/index.html | 103 ----- licenses/bsd.html | 52 +++ licenses/bsd/index.html | 119 ----- licenses/{eclipse/index.html => eclipse.html} | 121 ++--- licenses/{gpl-v2/index.html => gpl-v2.html} | 125 ++---- licenses/{gpl-v3/index.html => gpl-v3.html} | 128 ++---- licenses/index.html | 412 ------------------ .../{lgpl-v2.1/index.html => lgpl-v2.1.html} | 123 ++---- licenses/{lgpl-v3/index.html => lgpl-v3.html} | 120 ++--- licenses/mit.html | 43 ++ licenses/mit/index.html | 110 ----- licenses/{mozilla/index.html => mozilla.html} | 121 ++--- 27 files changed, 696 insertions(+), 1731 deletions(-) create mode 100644 _config.yml create mode 100644 _includes/sidebar.html create mode 100644 _layouts/default.html create mode 100644 _layouts/license.html create mode 100644 about.md delete mode 100644 about/index.html create mode 100644 javascripts/annotations.js create mode 100644 licenses.html rename licenses/{agpl/index.html => agpl.html} (89%) rename licenses/{apache/index.html => apache.html} (70%) rename licenses/{artistic/index.html => artistic.html} (67%) create mode 100644 licenses/bsd-3-clause.html delete mode 100644 licenses/bsd-3-clause/index.html create mode 100644 licenses/bsd.html delete mode 100644 licenses/bsd/index.html rename licenses/{eclipse/index.html => eclipse.html} (74%) rename licenses/{gpl-v2/index.html => gpl-v2.html} (80%) rename licenses/{gpl-v3/index.html => gpl-v3.html} (89%) delete mode 100644 licenses/index.html rename licenses/{lgpl-v2.1/index.html => lgpl-v2.1.html} (86%) rename licenses/{lgpl-v3/index.html => lgpl-v3.html} (65%) create mode 100644 licenses/mit.html delete mode 100644 licenses/mit/index.html rename licenses/{mozilla/index.html => mozilla.html} (79%) diff --git a/.gitignore b/.gitignore index 81ca958..b5474b4 100644 --- a/.gitignore +++ b/.gitignore @@ -163,4 +163,7 @@ pip-log.txt .DS_Store # .NET crap -.config \ No newline at end of file +.config + +#jekyll +_site \ No newline at end of file diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..448bd1a --- /dev/null +++ b/_config.yml @@ -0,0 +1,57 @@ +title: ChooseALicense.com + +rules: + + required: + include-copyright: + description: Include the original copyright with the code. + label: Copyright inclusion + include-license: + description: Include the full text of the license with the code. + label: License inclusion + document-changes: + description: Indicate significant changes made to the code. + label: State Changes + disclose-source: + description: Source code must be made available when distributing the software. + label: Disclose Source + nonstatic-linkage: + description: The library must be linked in a way that allows it to be replaced with a similar library + label: Nonstatic Linkage + rename: + description: You must change the name of the software if you modify it. + label: Rename + + permitted: + commercial-use: + description: This software and derivatives may be used for commercial purposes. + label: Commercial Use + modifications: + description: This software may be modified. + label: Modification + distribution: + description: You may distribute this software. + label: Distribution + sublicense: + description: You may grant a sublicense to modify and distribute this software to third parties not included in the license. + label: Sublicensing + warranty: + description: You may place a warranty on the software. + label: Warranty + private-use: + description: You may use and modify the software without distributing it. + label: Private Use + + forbidden: + no-warranty: + description: Software is released without warranty and the software/license owner cannot be charged for damages. + label: Liability + trademark-use: + description: "You may NOT use the names, logos, or trademarks of contributors." + label: Use Trademark + no-liability: + description: Software is provided without warranty and the software author/license owner cannot be held liable for damages. + label: Liability + no-sublicense: + description: You may not grant a sublicense to modify and distribute this software to third parties not included in the license. + label: Sublicensing diff --git a/_includes/sidebar.html b/_includes/sidebar.html new file mode 100644 index 0000000..43c1108 --- /dev/null +++ b/_includes/sidebar.html @@ -0,0 +1,44 @@ + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..a602f65 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,38 @@ + + + + {% if page.title %}{{ page.title }} - {% endif %}{{ site.title}} + + + + + + + + + + + + + + +
+ +{{ content }} + + +
+ + \ No newline at end of file diff --git a/_layouts/license.html b/_layouts/license.html new file mode 100644 index 0000000..b93af20 --- /dev/null +++ b/_layouts/license.html @@ -0,0 +1,60 @@ + + + + {% if page.title %}{{ page.title }} - {% endif %}{{ site.title}} + + + + + + + + + + + + + + + + +
+ + + +

{{ page.title }}

+ +
+
+
+
+{{ content }}
+        
+          
+
+ +{% include sidebar.html %} + +
+ + + +
+ + \ No newline at end of file diff --git a/about.md b/about.md new file mode 100644 index 0000000..27209a0 --- /dev/null +++ b/about.md @@ -0,0 +1,27 @@ +--- +title: About +layout: default +permalink: /about/ +--- + + + +# What’s this about? + +We want to help developers choose a license for their source code. + +If you already know what you’re doing and have a license you prefer to use, that’s great! We’re not here to change your mind. But if you are bewildered by the large number of OSS license choices, maybe we can help. + +## Not comprehensive + +This site is not a comprehensive directory of open source licenses. If you’re looking for a comprehensive list, we recommend the Open Source Initiative website. + +We think there are too many options, which adds to the confusion. On the homepage, we break it down into just three licenses. For the vast majority of projects, these are probably the only three you will need to choose from. Just in case you have specific needs not covered by those three, we also highlight a few other licenses to consider. + +## Disclaimer + +We are not lawyers. Well most of us anyways. It is not the goal of this site to provide legal advice. The goal of this site is to provide a starting point to help you make an informed choice by providing information on popular open source licenses. If you have any questions regarding the right license for your code or any other legal issues relating to it, it’s always best to consult with a professional. diff --git a/about/index.html b/about/index.html deleted file mode 100644 index 4342593..0000000 --- a/about/index.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - About - ChooseALicense.com - - - - - - - - - -
- -

What’s this about?

-

- We want to help developers choose a license for their source code. -

-

- If you already know what you’re doing and have a license you prefer to use, that’s great! We’re not here to change your mind. But if you are bewildered by the large number of OSS license choices, maybe we can help. -

- -

Not comprehensive

-

- This site is not a comprehensive directory of open source licenses. If you’re looking for a comprehensive list, we recommend the Open Source Initiative website. -

-

- We think there are too many options, which adds to the confusion. On the homepage, we break it down into just three licenses. For the vast majority of projects, these are probably the only three you will need to choose from. Just in case you have specific needs not covered by those three, we also highlight a few other licenses to consider. - - -

Disclaimer

-

- We are not lawyers. Well most of us anyways. It is not the goal of this site to provide legal advice. The goal of this site is to provide a starting point to help you make an informed choice by providing information on popular open source licenses. If you have any questions regarding the right license for your code or any other legal issues relating to it, it’s always best to consult with a professional. -

- - -
- - diff --git a/index.html b/index.html index ab28c7f..578372d 100644 --- a/index.html +++ b/index.html @@ -1,20 +1,8 @@ - - - - ChooseALicense.com - - - - - - - - - -
-
+--- +layout: default +class: home +--- +

Choosing an OSS license doesn’t need to be scary.

{ @@ -59,16 +47,4 @@

None of these work for me. Show me more licenses »

-

- -
- - +
\ No newline at end of file diff --git a/javascripts/annotations.js b/javascripts/annotations.js new file mode 100644 index 0000000..6b0e7ad --- /dev/null +++ b/javascripts/annotations.js @@ -0,0 +1,11 @@ +--- +--- +var annotations = { +{% for type_hash in site.rules %} + "{{ type_hash[0] }}": { + {% for rule_hash in type_hash[1] %} + "{{ rule_hash[0] }}" : "{{ rule_hash[1].description }}"{% if forloop.rindex0 > 0 %},{% endif %} + {% endfor %} + }{% if forloop.rindex0 > 0 %},{% endif %} +{% endfor %} +} \ No newline at end of file diff --git a/javascripts/app.js b/javascripts/app.js index f6a56fb..35f8c36 100644 --- a/javascripts/app.js +++ b/javascripts/app.js @@ -1,30 +1,3 @@ -var annotations = { - permitted: { - 'commercial-use' : 'This software and derivatives may be used for commercial purposes.', - 'modifications' : 'This software may be modified.', - 'distribution' : 'You may distribute this software.', - 'sublicense' : 'You may grant a sublicense to modify and distribute this software to third parties not included in the license.', - 'warranty' : 'You may place a warranty on the software.', - 'private-use' : 'You may use and modify the software without distributing it.' - }, - - forbidden: { - 'no-warranty' : 'Software is released without warranty and the software/license owner cannot be charged for damages.', - 'trademark-use' : 'You may NOT use the names, logos, or trademarks of contributors.', - 'no-liability' : 'Software is provided without warranty and the software author/license owner cannot be held liable for damages.', - 'no-sublicense' : 'You may not grant a sublicense to modify and distribute this software to third parties not included in the license.', - }, - - required: { - 'include-copyright' : 'Include the original copyright with the code.', - 'include-license' : 'Include the full text of the license with the code.', - 'document-changes' : 'Indicate significant changes made to the code.', - 'disclose-source' : 'Source code must be made available when distributing the software.', - 'nonstatic-linkage' : 'The library must be linked in a way that allows it to be replaced with a similar library.', - 'rename' : 'You must change the name of the software if you modify it.' - } -} - var qtip_position = { my: 'top center', at: 'bottom center' diff --git a/licenses.html b/licenses.html new file mode 100644 index 0000000..fe78a63 --- /dev/null +++ b/licenses.html @@ -0,0 +1,73 @@ +--- +layout: default +permalink: licenses/ +class: license-types +--- + +

Featured

+ +{% for page in site.pages %} + {% if page.layout == "license" %} + {% if page.featured %} + + + + + + {% assign types = "required|permitted|forbidden" | split: "|" %} + {% for type in types %} + + + + + {% endfor %} +
+ {{ page.title }} + + {{ page.description }} View full license » +
{{ type | capitalize }} +
    + {% for req in page[type] %} +
  • {{ site.rules[type][req].label }}
  • + {% endfor %} +
+
+ {% endif %} + {% endif %} +{% endfor %} + +

Other licenses

+

+ Some communities tend to have specific licenses preferred by the + community. For example, PERL developers often choose the artistic license. +

+ +{% for page in site.pages %} + {% if page.layout == "license" %} + {% if page.featured != true %} + + + + + + {% assign types = "required|permitted|forbidden" | split: "|" %} + {% for type in types %} + + + + + {% endfor %} +
+ {{ page.title }} + + {{ page.description }} View full license » +
{{ type | capitalize }} +
    + {% for req in page[type] %} +
  • {{ site.rules[type][req].label }}
  • + {% endfor %} +
+
+ {% endif %} + {% endif %} +{% endfor %} \ No newline at end of file diff --git a/licenses/agpl/index.html b/licenses/agpl.html similarity index 89% rename from licenses/agpl/index.html rename to licenses/agpl.html index 07e7f04..f867a28 100644 --- a/licenses/agpl/index.html +++ b/licenses/agpl.html @@ -1,34 +1,33 @@ - - - - Affero GPL - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

Affero GPL

-
-
-
+---
+title: Affero GPL
+layout: license
+permalink: agpl/
+source: http://www.gnu.org/licenses/gpl-3.0-standalone.html
+
+note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
+
+how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
+
+required:
+  - include-copyright
+  - document-changes
+  - disclose-source
+
+permitted:
+  - commercial-use
+  - modifications
+  - distribution
+  - warranty
+
+forbidden:
+  - no-liability
+  - no-sublicense
+
+using:
+  Some Project: "#"
+
+---
+
                     GNU GENERAL PUBLIC LICENSE
                        Version 3, 29 June 2007
 
@@ -703,71 +702,3 @@ may consider it more useful to permit linking proprietary applications with
 the library.  If this is what you want to do, use the GNU Lesser General
 Public License instead of this License.  But first, please read
 {http://www.gnu.org/philosophy/why-not-lgpl.html}.
-          
-
- -
- -
- - diff --git a/licenses/apache/index.html b/licenses/apache.html similarity index 70% rename from licenses/apache/index.html rename to licenses/apache.html index befb96d..230f623 100644 --- a/licenses/apache/index.html +++ b/licenses/apache.html @@ -1,34 +1,35 @@ - - - - Apache License Version 2 - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

Apache v2 License

-
-
-
+---
+title: Apache v2 License
+layout: license
+permalink: apache/
+
+featured: true
+
+description: A permissive license that also grants a license to patent claims from contributors that are necessarily infringed by the software.
+
+note: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice at the very end of the license in the appendix.
+
+how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
+
+source: http://www.apache.org/licenses/LICENSE-2.0.html
+
+required:
+  - include-copyright
+  - include-license
+  - document-changes
+
+permitted:
+  - commercial-use
+  - modifications
+  - distribution
+  - sublicense
+  - warranty
+  
+forbidden:
+  - no-warranty
+  - trademark-use
+---
+
 Apache License
 Version 2.0, January 2004
 http://www.apache.org/licenses/
@@ -220,70 +221,3 @@ third-party archives.
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-          
-
- -
- -
- - diff --git a/licenses/artistic/index.html b/licenses/artistic.html similarity index 67% rename from licenses/artistic/index.html rename to licenses/artistic.html index f289b15..83e3459 100644 --- a/licenses/artistic/index.html +++ b/licenses/artistic.html @@ -1,34 +1,29 @@ - - - - Artistic License 2.0 - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

Artistic License 2.0

-
-
-
+---
+layout: license
+title: Artistic License 2.0
+permalink: /artistic/
+
+source: http://opensource.org/licenses/Artistic-2.0
+
+description: A license that’s heavily favored by the PERL community.
+
+how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace {year} with the current year and {copyright holders} with the name (or names) of the copyright holders.
+
+required:
+  - include-copyright
+  - document-changes
+  - disclose-source
+permitted:
+  - commercial-use
+  - modifications
+  - distribution
+  - sublicense
+  - private-use
+forbidden:
+  - no-liability
+  - trademark-use
+---
+
 Artistic License 2.0
 Copyright (c) 2000-2006, The Perl Foundation.
 
@@ -191,69 +186,3 @@ UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR
 ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY
 OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 DAMAGE.
-          
-
- -
- - -
- - diff --git a/licenses/bsd-3-clause.html b/licenses/bsd-3-clause.html new file mode 100644 index 0000000..5587cc3 --- /dev/null +++ b/licenses/bsd-3-clause.html @@ -0,0 +1,34 @@ +--- +layout: license +title: BSD (3-Clause) License +permalink: bsd-3-clause/ + +how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace {year} with the current year and {copyright holders} with the name (or names) of the copyright holders. Replace {organization} with the organization, if any, that sponsors this work. + +source: http://opensource.org/licenses/BSD-3-Clause + +required: + - include-copyright + +permitted: + - commercial-use + - modifications + - distribution + - sublicense + - warranty + +forbidden: + - no-liability + - trademark-use + +--- + +Copyright (c) {year}, {copyright holder} +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +Neither the name of the {organization} nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/licenses/bsd-3-clause/index.html b/licenses/bsd-3-clause/index.html deleted file mode 100644 index 7080035..0000000 --- a/licenses/bsd-3-clause/index.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - BSD 3-Clause License - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

BSD (3-Clause) License

-
-
-
-Copyright (c) {year}, {copyright holder}
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-Neither the name of the {organization} nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-          
-
- -
- - -
- - diff --git a/licenses/bsd.html b/licenses/bsd.html new file mode 100644 index 0000000..1f4cd7f --- /dev/null +++ b/licenses/bsd.html @@ -0,0 +1,52 @@ +--- +layout: license +title: BSD 2-Clause license +permalink: /bsd/ + +description: A permissive license that comes in two variants, the BSD 2-Clause and BSD 3-Clause. Both have very minute differences to the MIT license. + +how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace {year} with the current year and {copyright holders} with the name (or names) of the copyright holders. + +source: http://opensource.org/licenses/BSD-2-Clause + +required: + - include-copyright + +permitted: + - commercial-use + - modification + - distribution + - sublicense + - warranty + +forbidden: + - no-liability + - trademark-use + +--- + +Copyright (c) {year}, {copyright holder} +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list +of conditions and the following disclaimer. +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. +Neither the name of the {organization} nor the names of its contributors may be +used to endorse or promote products derived from this software without specific +prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/licenses/bsd/index.html b/licenses/bsd/index.html deleted file mode 100644 index ac9524c..0000000 --- a/licenses/bsd/index.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - BSD 2-Clause license - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

BSD (2-Clause) License

-
-
-
-Copyright (c) {year}, {copyright holder}
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list
-of conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice, this
-list of conditions and the following disclaimer in the documentation and/or
-other materials provided with the distribution.
-Neither the name of the {organization} nor the names of its contributors may be
-used to endorse or promote products derived from this software without specific
-prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-          
-
- -
- - -
- - diff --git a/licenses/eclipse/index.html b/licenses/eclipse.html similarity index 74% rename from licenses/eclipse/index.html rename to licenses/eclipse.html index 318c9d7..799f2d9 100644 --- a/licenses/eclipse/index.html +++ b/licenses/eclipse.html @@ -1,34 +1,30 @@ - - - - Eclipse Public License v1.0 - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

Eclipse Public License v1.0

-
-
-
+---
+layout: license
+title: Eclipse Public License v1.0
+permalink: eclipse/
+
+description: Used by the Eclipse foundation for its software, this license includes reciprocal requirements in some cases.
+
+how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
+
+source: http://www.eclipse.org/legal/epl-v10.html
+
+required:
+  - disclose-source
+  - include-license
+
+permitted:
+  - commercial-use
+  - distribution
+  - modifications
+  - sublicense
+  - warranty
+
+forbidden:
+  - no-liability
+  - trademark-use
+
+---
 Eclipse Public License - v 1.0
 
 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
@@ -227,66 +223,3 @@ intellectual property laws of the United States of America. No party to this
 Agreement will bring a legal action under this Agreement more than one year
 after the cause of action arose. Each party waives its rights to a jury trial in
 any resulting litigation.
-          
-
- -
- -
- - diff --git a/licenses/gpl-v2/index.html b/licenses/gpl-v2.html similarity index 80% rename from licenses/gpl-v2/index.html rename to licenses/gpl-v2.html index 509f01b..291cc47 100644 --- a/licenses/gpl-v2/index.html +++ b/licenses/gpl-v2.html @@ -1,34 +1,29 @@ - - - - GPL v2 - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

GPL v2

-
-
-
+---
+title: GPL v2
+layout: license
+permalink: gpl-v2/
+
+how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
+
+note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
+
+required:
+  - include-copyright
+  - document-changes
+  - disclose-source
+
+permitted:
+  - commercial-use
+  - modifications
+  - distribution
+  - warranty
+
+forbidden:
+  - no-liability
+  - no-sublicense
+
+---
+
                     GNU GENERAL PUBLIC LICENSE
                        Version 2, June 1991
 
@@ -368,71 +363,3 @@ proprietary programs.  If your program is a subroutine library, you may
 consider it more useful to permit linking proprietary applications with the
 library.  If this is what you want to do, use the GNU Lesser General
 Public License instead of this License.
-          
-
- -
- -
- - diff --git a/licenses/gpl-v3/index.html b/licenses/gpl-v3.html similarity index 89% rename from licenses/gpl-v3/index.html rename to licenses/gpl-v3.html index dff0176..7122674 100644 --- a/licenses/gpl-v3/index.html +++ b/licenses/gpl-v3.html @@ -1,34 +1,32 @@ - - - - GPL v3 - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

GPL v3

-
-
-
+---
+title: GPL v3
+layout: license
+permalink: gpl-v3/
+
+featured: true
+
+description: GPL is the most widely used free software license and is fully reciprocal. Derived works must be distributed under the same license.
+
+how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
+
+note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
+
+required:
+  - include-copyright
+  - document-changes
+  - disclose-source
+
+permitted:
+  - commercial-use
+  - modifications
+  - distribution
+  - warranty
+
+forbidden:
+  - no-liability
+  - no-sublicense
+
+---
                     GNU GENERAL PUBLIC LICENSE
                        Version 3, 29 June 2007
 
@@ -703,71 +701,3 @@ may consider it more useful to permit linking proprietary applications with
 the library.  If this is what you want to do, use the GNU Lesser General
 Public License instead of this License.  But first, please read
 {http://www.gnu.org/philosophy/why-not-lgpl.html}.
-          
-
- -
- -
- - diff --git a/licenses/index.html b/licenses/index.html deleted file mode 100644 index a5ca544..0000000 --- a/licenses/index.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - More Licenses - ChooseALicense.com - - - - - - - - - - - - - -
- -

Featured

- - - - - - - - - - - - - - - - - -
- MIT - - A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. View full license » -
Required -
    - -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Sublicensing
  • -
-
Forbidden -
    -
  • Liability
  • -
-
- - - - - - - - - - - - - - - - - -
- Apache - - A permissive license that also grants a license to patent claims from contributors - that are necessarily infringed by the software. View full license » -
Required -
    - -
  • License inclusion
  • -
  • State Changes
  • -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Sublicensing
  • -
  • Warranty
  • -
-
Forbidden -
    -
  • Liability
  • -
  • Use Trademark
  • -
-
- - - - - - - - - - - - - - - - - -
- GPL v2 / v3 / Affero - - GPL is the most widely used free software license and is fully reciprocal. Derived - works must be distributed under the same license. - View full license » -
Required -
    - -
  • State changes
  • -
  • Disclose Source
  • -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Warranty
  • -
-
Forbidden -
    -
  • Liability
  • -
  • Sublicensing
  • -
-
- -

Other licenses

-

- Some communities tend to have specific licenses preferred by the - community. For example, PERL developers often choose the artistic license. -

- - - - - - - - - - - - - - - - - -
- Artistic - - A license that’s heavily favored by the PERL community. - View full license » -
Required -
    - -
  • State changes
  • -
  • Disclose source
  • -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Sublicensing
  • -
  • Private Use
  • -
-
Forbidden -
    -
  • Liability
  • -
  • Use Trademark
  • -
-
- - - - - - - - - - - - - - - - - - -
- BSD - - A permissive license that comes in two variants, the BSD 2-Clause and BSD 3-Clause. Both have very minute differences to the MIT license. - View full license » -
Required -
    - -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Sublicensing
  • -
  • Warranty
  • -
-
Forbidden -
    -
  • Liability
  • -
  • Use Trademark (3-clause)
  • -
-
- - - - - - - - - - - - - - - - - -
- Eclipse - - Used by the Eclipse foundation for its software, this license includes reciprocal requirements in - some cases. View full license » -
Required -
    -
  • Disclose source
  • -
  • License inclusion
  • -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Sublicensing
  • -
  • Warranty
  • -
-
Forbidden -
    -
  • Liability
  • -
  • Use Trademark
  • -
-
- - - - - - - - - - - - - - - - - -
- Mozilla - - The Mozilla Public License (MPL 2.0) is maintained by the Mozilla foundation. This license attempts to be a compromise between the permissive BSD license and the reciprocal GPL license. - View full license » -
Required -
    -
  • Disclose source
  • - -
  • License inclusion
  • -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Sublicensing
  • -
  • Warranty
  • -
-
Forbidden -
    -
  • Liability
  • -
  • Use Trademark
  • -
-
- - - - - - - - - - - - - - - - - -
- LGPL v2.1 - - Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but - works that only link to it do not fall under this restriction. - View full license » -
Required -
    - -
  • Nonstatic linkage
  • -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Sublicensing
  • -
-
Forbidden -
    -
  • Liability
  • -
-
- - - - - - - - - - - - - - - - - -
- LGPL v3 - - Version 3 of the LGPL is an additional set of permissions to the GPL v3 license - that requires that derived works be licensed under the same license, but works that only link to - it do not fall under this restriction. - View full license » -
Required -
    - -
  • Nonstatic linkage
  • -
-
Permitted -
    -
  • Commercial use
  • -
  • Modification
  • -
  • Distribution
  • -
  • Sublicensing
  • -
-
Forbidden -
    -
  • Liability
  • -
-
-
- - diff --git a/licenses/lgpl-v2.1/index.html b/licenses/lgpl-v2.1.html similarity index 86% rename from licenses/lgpl-v2.1/index.html rename to licenses/lgpl-v2.1.html index 1e1cb44..3b7c6d6 100644 --- a/licenses/lgpl-v2.1/index.html +++ b/licenses/lgpl-v2.1.html @@ -1,34 +1,29 @@ - - - - LGPL v2.1 - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

LGPL v2.1

-
-
-
+---
+layout: license
+title: LGPL v2.1
+permalink: lgpl-v2.1/
+
+description: Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction.
+
+how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
+
+note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
+
+required:
+  - include-copyright
+  - nonstatic-linkage
+
+permitted:
+  - commercial-use
+  - modifications
+  - distribution
+  - sublicense
+
+forbidden:
+  - no-liability
+
+---
+
                   GNU LESSER GENERAL PUBLIC LICENSE
                        Version 2.1, February 1999
 
@@ -531,69 +526,3 @@ necessary.  Here is a sample; alter the names:
   Ty Coon, President of Vice
 
 That's all there is to it!
-          
-
- -
- -
- - diff --git a/licenses/lgpl-v3/index.html b/licenses/lgpl-v3.html similarity index 65% rename from licenses/lgpl-v3/index.html rename to licenses/lgpl-v3.html index 297e3b0..4c251ee 100644 --- a/licenses/lgpl-v3/index.html +++ b/licenses/lgpl-v3.html @@ -1,34 +1,28 @@ - - - - GPL v3 - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

LGPL v3

-
-
-
+---
+layout: license
+title: LGPL v3
+permalink: lgpl-v3/
+
+description: Version 3 of the LGPL is an additional set of permissions to the GPL v3 license that requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction.
+
+how: This license is an additional set of permissions to the GPL v3 license. Follow the instructions to apply the GPL v3 license. Then either paste this text to the bottom of that file OR add a separate file (typically named COPYING.lesser or LICENSE.lesser) in the root of your source code and copy the text.
+
+note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
+
+required:
+  - include-copyright
+  - nonstatic-linkage
+
+permitted:
+  - commercial-use
+  - modifications
+  - distribution
+  - sublicense
+
+forbidden:
+  - no-liability
+
+---
                    GNU LESSER GENERAL PUBLIC LICENSE
                        Version 3, 29 June 2007
 
@@ -194,67 +188,3 @@ whether future versions of the GNU Lesser General Public License shall
 apply, that proxy's public statement of acceptance of any version is
 permanent authorization for you to choose that version for the
 Library.
-          
-
- -
- -
- - diff --git a/licenses/mit.html b/licenses/mit.html new file mode 100644 index 0000000..f3bfdd6 --- /dev/null +++ b/licenses/mit.html @@ -0,0 +1,43 @@ +--- +layout: license +title: MIT License +permalink: mit/ + +featured: true + +description: A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty. + +how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace {year} with the current year and {copyright holders} with the name (or names) of the copyright holders. + +required: + - include-copyright + +permitted: + - commercial-use + - modifications + - distribution + - sublicense + +forbidden: + - no-liability + +--- + +Copyright (c) {year} {copyright holders} + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/licenses/mit/index.html b/licenses/mit/index.html deleted file mode 100644 index b9d1e5c..0000000 --- a/licenses/mit/index.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - MIT License - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

MIT License

-
-
-
-Copyright (c) {year} {copyright holders}
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-          
-
- -
- - -
- - diff --git a/licenses/mozilla/index.html b/licenses/mozilla.html similarity index 79% rename from licenses/mozilla/index.html rename to licenses/mozilla.html index 0076172..635100e 100644 --- a/licenses/mozilla/index.html +++ b/licenses/mozilla.html @@ -1,34 +1,29 @@ - - - - Mozilla Public License Version 2.0 - ChooseALicense.com - - - - - - - - - - - - - - - -
- -

Mozilla Public License
Version 2.0

-
-
-
+---
+layout: license
+title: Mozilla Public License Version 2.0
+permalink: mozilla/
+
+description: The Mozilla Public License (MPL 2.0) is maintained by the Mozilla foundation. This license attempts to be a compromise between the permissive BSD license and the reciprocal GPL license.
+
+how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
+
+required:
+  - disclose-source
+  - include-copyright
+  - include-license
+
+permitted:
+  - commercial-use
+  - modifications
+  - distribution
+  - sublicense
+  - warranty
+
+forbidden:
+  - no-liability
+  - trademark-use
+
+---
 Mozilla Public License, version 2.0
 
 1. Definitions
@@ -382,68 +377,4 @@ Exhibit B - “Incompatible With Secondary Licenses” Notice
       This Source Code Form is “Incompatible
       With Secondary Licenses”, as defined by
       the Mozilla Public License, v. 2.0.
-          
-
- -
- - -
- -