Skip to content

Instantly share code, notes, and snippets.

@davebeach
Created March 16, 2018 03:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davebeach/871d621df512581e6150abc83b812883 to your computer and use it in GitHub Desktop.
Save davebeach/871d621df512581e6150abc83b812883 to your computer and use it in GitHub Desktop.
Open Source License Guide

Repository Licenses

Code Licenses

  1. MIT
  • Code that can be re-used, copied, distributed by others as a dependency with attribution, downstream re-used code can carry any license.
  • This license is "permissive".
  • You can change this license to a more strong license at a future date, as long as the permissive license is retained as a copy.
  • Does not carry patent rights.
  • May need a future patent agreement with the contributors to a project.
  1. Apache 2.0
  • Code that can be re-used, copied, distributed by others with attribution.
  • Carries patent rights if code is re-used and assigned a proprietary copyright.
  • Inbound or outbound code is treated legally the same.
  1. GPLv3
  • Code that can be re-used, copied, distrubuted by others with attribution, but downstream code must carry the same license (copy left)
  • Enforces downstream code to carry the same strong open source license.
  1. Public Domain
  • No copyright, free to use, with no restrictions.

Dependencies

All of the dependencies that you use in your code is relevant when considering which license. If some dependencies exist that carry copy left terms, then that must carry to your license.

Trademarks

Trademarks are allowed with open source licenses and they do not conflict. Trademarks protect logos, names etc. They do not protect code. Open source licenses do.

Reference FOSSmarks

Content

  • Content (images, videos, written word and other creative content) is not protected under the code copyrights above.
  • Content can be copyrighted, while the underlying code is open source.
  • If content contains code in it, you need two licenses.

Creative Commons Attribution 4.0 International

  • Allows for re-use.
  • Must attribute.
  • Can rework and modify.
  • No restrictions on license of derivatives.

Creative Commons Attribution-ShareAlike 4.0 International

  • Same as 4.0 but enforces derivates of your work, but also be open source and all of future derivatives of that work.

Creative Commons Attribution-NoDerivatives 4.0 International

  • Same as 4.0 but does not allow changes to the work.

Mixed Licenses

The content of this project itself is licensed under the Creative Commons Attribution 4.0 license, and the underlying source code used to format and display that content is licensed under the MIT license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment