Licensing policy
Licensing policy
- Effective 2025-07-08
- This Licensing Policy outlines how code snippets shared on our website ("Site") are licensed and what rights and responsibilities apply to both contributors and users.
User responsibility for licensing
- When you upload or share a code snippet, you are responsible for selecting and applying an appropriate license.
- You must ensure that you have the legal right to share the code and that it does not violate any third-party intellectual property rights.
- If no license is specified, the code is considered All Rights Reserved by default, and others may not use, modify, or redistribute it without your explicit permission.
Available license options
- We support a variety of open-source licenses, including but not limited to:
License type | Permissions | Conditions |
---|---|---|
MIT License | Use, copy, modify, distribute | Must include original license and copyright |
Apache 2.0 | Same as MIT, plus patent rights | Must include NOTICE file |
GPLv3 | Use, modify, distribute under same license | Derivatives must also be GPLv3 |
Creative Commons | Attribution, non-commercial, share-alike options | Varies by version and type |
Custom License | User-defined terms | Must be clearly stated in the snippet |
- Note: You can select a license when creating or editing a snippet.