chore: switch to AGPLv3 dual-license

Replace MIT with AGPLv3 + commercial dual-license. Add copyright header
and dual-license notice to LICENSE, add CLA to CONTRIBUTING.md, update
README license section, and update all package.json license fields.
This commit is contained in:
Siddharth Kumar Sah
2026-04-03 23:07:58 +08:00
parent c2709d60f0
commit 70b0ceed1c
12 changed files with 706 additions and 27 deletions
+12 -2
View File
@@ -87,6 +87,16 @@ Quick summary:
- Zod for API input validation
- No `any` types without justification
## License
## License and Contributor License Agreement
By contributing, you agree that your contributions will be licensed under the [MIT License](LICENSE).
Stirling Image is dual-licensed under the [AGPLv3](LICENSE) and a commercial license. To keep this dual-licensing possible, all contributions must be submitted under the following terms:
By submitting a pull request or otherwise contributing code to this project, you agree that:
1. Your contributions are your original work (or you have the right to submit them).
2. You grant the project maintainer a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license to use, reproduce, modify, distribute, sublicense, and relicense your contributions under any license, including the AGPLv3 and any commercial license offered for this project.
3. You understand that your contributions will be publicly available under the AGPLv3 and may also be included in commercially licensed versions of the software.
This is necessary because the project offers a commercial license alongside the open-source AGPLv3. Without this agreement, contributed code could only be distributed under the AGPLv3, which would prevent offering a commercial option.
If you have questions about this, open an issue before contributing.