A permissive copyleft license for code, websites, and digital works.
ShareAlike. If you distribute a modified version or a work that incorporates this code, you must release your changes under the same CaelLab BY-SA Code License. This keeps the commons growing.
Attribution. Keep the copyright notice and license text intact in all distributed copies.
Source Code. When distributing the work or derivatives, provide the complete corresponding source code under this license.
| Feature | MIT | GPL | CaelLab BY-SA |
|---|---|---|---|
| Commercial use | ✓ | ✓ | ✓ |
| Private use | ✓ | ✓ | ✓ |
| Modification | ✓ | ✓ | ✓ |
| Distribution | ✓ | ✓ | ✓ |
| Closed-source derivatives | ✓ | ✗ | ✗ |
| License length | Short | Long | Short |
Add this header to each file in your project:
// CaelLab BY-SA Code License // Copyright (c) 2026 [Your Name] // Source: [https://your-repo-link]
<!-- CaelLab BY-SA Code License Copyright (c) 2026 [Your Name] Source: [https://your-repo-link] -->
/* * CaelLab BY-SA Code License * Copyright (c) 2026 [Your Name] * Source: [https://your-repo-link] */
# CaelLab BY-SA Code License # Copyright (c) 2026 [Your Name] # Source: [https://your-repo-link]
Or include a LICENSE file at the root of your repository containing the full license text above.
Does this apply to websites and web apps? Yes. The term "Work" covers any code, markup, stylesheets, scripts, or configuration files used to build or run a website or application.
Can I use this in proprietary software internally? Yes. The ShareAlike obligation only triggers when you distribute the work to others.
Can I dual-license? The license text does not explicitly allow dual-licensing. If you need that, consider using a standard license or adding a specific clause.