Creative Commons and Non-Code Licenses
You'll learn when and why to use Creative Commons and other non-code licenses for documentation, images, and supplementary project materials.
Beyond Software Code
While most of your project consists of code covered by software licenses like MIT or GPL, modern software projects also include documentation, images, icons, tutorials, diagrams, videos, and other creative content. These non-code assets need appropriate licenses too—but software licenses weren't designed for them.
What Are Creative Commons Licenses?
Creative Commons (CC) licenses are a family of standardized licenses specifically designed for creative works—writing, images, music, videos, and more. They're modular and human-readable, using simple combinations of four conditions:
- BY (Attribution): Credit must be given to the creator
- SA (ShareAlike): Derivatives must use the same license (like copyleft)
- NC (NonCommercial): Commercial use is prohibited
- ND (NoDerivatives): Modified versions cannot be distributed
Common combinations include CC BY (most permissive), CC BY-SA (like GPL for content), and CC0 (public domain dedication).
When to Use Non-Code Licenses
Use Creative Commons for your project's README, user documentation, wiki pages, tutorial videos, logo files, and marketing images. Use CC BY or CC BY-SA to encourage sharing while requiring attribution. Avoid NC and ND in open source projects—they conflict with the freedom to modify and use commercially that open source promotes.
For fonts, consider the SIL Open Font License. For data sets, Open Data Commons licenses exist. For hardware designs, CERN Open Hardware License or TAPR may apply.
Dual Licensing Your Repository
Many projects use a software license (like Apache 2.0) for code and CC BY 4.0 for documentation. Clearly state this in your LICENSE or CONTRIBUTING files: "Code is Apache 2.0, documentation is CC BY 4.0."
Key Takeaway: Creative Commons licenses are purpose-built for documentation, images, and creative content—use them for non-code assets to give clear usage rights that complement your software license.