When starting or managing an open science project, one of the most important decisions you’ll make is selecting the right licence.
If you’ve already decided to make your project openly accessible, the next step is to understand the types of licences available and determine which one best aligns with your project’s goals. Throughout this blog, we’re going to use the term ‘open science’ to refer to a project that has open source code and/or open access data or materials.
In this article, I’ll be sharing some guidelines to keep in mind when you want to choose the licence that best supports your project’s long-term plans.
Types of Licences
When it comes to software, there are three broad categories of open-source licences.
- Strong copyleft: These licences require that any modifications or derivative works be distributed under the same licence. This is the most restrictive type of open-source licence. An example is the GNU General Public licence (GNU GPL).
- Weak copyleft: Similar to strong copyleft, but with provisions that allow the project to be combined with other licences under certain conditions. An example is the GNU Lesser General Public licence (GNU LGPL).
- Permissive licences: These licences allow broad use, including in closed-source or commercial projects, with minimal obligations. They are less restrictive than copyleft licences. Examples include the MIT licence, Apache licence 2.0, and BSD licence.
Usually, when licensing openly accessible data, people use Creative Commons licences. There are several to choose from, but the most common are:
- CC BY: Allows people to adapt and share materials as long as credit is given, similar to permissive open-source licences.
- CC BY-SA: This is closer to a weak copyleft open-source licence, as people can adapt and share materials as long as the same licence is used for redistribution and attribution is given.
- CC BY-ND: The materials can be used, but no derivatives (adaptations) can be made; if you plan to share the materials, attribution is again required.
- CC BY-NC: The materials can be adapted and redistributed, but not for commercial purposes.
Combinations of the above licences are also possible, such as CC BY-NC-ND.
Guidelines for Choosing Your Licence
With these categories, we can now think about which licence is the best fit for your project. This means aligning your licence with your project’s goals, the type of work you’re creating, and the community you hope to build around it.
Type of materials
A very common source of confusion is when to use open-source licences versus Creative Commons (CC) licences. In general, open-source applies to code and CC to everything else. However, this question quickly becomes complicated. Consider images generated by code, or text written alongside code in a Jupyter notebook, or the ‘open weights’ of large language models.
These grey areas demonstrate why it’s very important that your licences align across material types. If you have permissive code to generate images, but those images are licenced under CC BY-NC, it’s unclear how your users can use those images if they generate them from the code you wrote!
Therefore, it can be helpful to think about your project goals and then use these to align on licences for all materials.
Project goals
Define what you want for your project, long-term.
Some potential questions could be:
- “Am I comfortable with users adapting my project for commercial use?”
If not, then you’d require a strong copyleft open-source licence and a Creative Commons licence that includes ‘NC’.
- “Do I want all derivatives of this project to also be open source?”
If yes, then again that will mean a copyleft open-source licence as well as a Creative Commons licence that includes ‘SA’.
- “Would I be concerned if this licence has the potential to exclude users or contributors?”
Restrictive licences can be confusing to understand. If you don’t have a good reason to add restrictions, then permissive licences are the way to go.
Answering questions like these helps identify what licences align with your project’s trajectory.
In this blog, we are not providing advice about which licence to choose but you may notice our blogs are licenced under CC BY and our website code under Apache 2.0 – both permissive licences as these are not areas we feel we need to restrict access. In contrast, our logo and name remain under copyright, showing how it’s possible to mix and match licences.
How does this affect users?
Whether you’re building an open-source project for fun or because it’s your full-time job, you might be surprised by the number of external people who could discover it and become contributors.
Nadia Eghbal, in her book Working in Public, uses the analogy of a person who puts up Christmas decorations one year and the whole street loves them, but then, they expect to see them each year, they may even start demanding them, or telling you they’re good or bad, giving you advice about how to improve them. What was a bit of fun suddenly became an effort.
Taking this analogy further, your neighbours might start copying your exact decorations and designs. How would this make you feel? What if they started creating packages for sale that included the exact same lights and designs and kept the profits for themselves? Or, what if they copied your decorations and then put up a sign that said “no looking!”. Perhaps we’ve taken this analogy too far, but hopefully it demonstrates our point.
Conclusion
Picking an open source licence is an important task as a project owner, maintainer, or community manager. They practically define your project’s trajectory and future interactions, so it is important that sufficient thought is given to deciding one.
Hopefully some of the information here gives you an idea of where to start but ultimately it is a complicated decision and for some projects, especially commercial ones, it can be one of the most important decisions you make. It’s best to spend sometime carefully considering your licences before launching your project, as changing licences once you have established users can be a complex and difficult process.
Some relevant resources:
- the Linus Torvalds reaction to GPLv3 update
- Mozilla Archive on licence Change Process
- Mozilla upgrading to a version 2.0. (with earlier versions also available)
We’re experienced in helping everyone from non-profit NGOs to open-core start-ups select which licences are right for them, so get in touch today.
