Skip to content

Instantly share code, notes, and snippets.

@ItsFelix5
Last active June 11, 2025 18:32
Show Gist options
  • Select an option

  • Save ItsFelix5/b6433d9e656830ee70a45baaa2c342bf to your computer and use it in GitHub Desktop.

Select an option

Save ItsFelix5/b6433d9e656830ee70a45baaa2c342bf to your computer and use it in GitHub Desktop.
License draft
SLN V1 draft
Copyright (c) [year] [name] ([contact])
Permission is hereby granted, free of charge, to any person obtaining a copy of the source code, binaries and associated documentation files (the “Software”), to use, modify, and distribute the Software, subject to the following terms and conditions:
1. Definitions
“You” or “your” refers to the individual or entity exercising rights under this License.
“Original Work” means the unmodified version of the Software that you are modifying.
“Modified Work” means any version of the Software that has been altered in any way that could reasonably lead a user to perceive a difference in functionality, behavior, or appearance compared to the Original Work. Text-only changes such as version numbers, author attribution, translation keys, comments, documentation updates, or other non-functional text elements do not by themselves constitute a Modified Work.
“Redistribution” includes making the Software or any derivative works available to any third party, whether in source or binary form.
“Publicly accessible” means freely available to the general public over the internet, without restriction or payment.
“Copyright Holder” means an individual or entity listed at the top of the LICENSE file (lines starting with "Copyright (c)").
2. You may reproduce, modify, and redistribute the Software, in whole or in part, only if all of the following conditions are met:
(a) The redistributed work must be licensed under the same license (SLN V1).
(b) If you redistribute the Software in binary form, the redistributed version must be a Modified Work. If you are not using a Version Control System (VCS) to track changes, you should make a reasonable effort to describe the major differences from the Original Work in a noticeable place (like a release notes file). If you are using a VCS, the commit history can serve as a record of changes.
(c) A clear and visible acknowledgment of all Copyright Holders must be included in a way that is easily accessible to users, such as in a 'README' file, an 'About' section in the software, or similar documentation.
(d) The full source code and any associated binaries of the redistributed version must be made publicly accessible, for as long as the redistributed version is available.
(e) Modified versions of the Software must not be presented in a manner that suggests the modified version is the same, endorsed by, affiliated with, or connected to the original or its authors when it is not.
Interaction with a Modified Work over a network must comply with the above conditions as if it were distributed as source or binary.
3. Use of Software in AI Training
You may not use the Software, or any part of it, for the purposes of training, fine-tuning, or enhancing machine learning or artificial intelligence systems, whether commercial or non-commercial, including but not limited to large language models, generative models, or foundation models.
4. If any condition of Section 2 or 3 is not met, you must obtain prior explicit written permission from all copyright holders before distributing the Software or any derivative works.
This permission may be revoked at any time.
5. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6. This License shall be governed by and construed in accordance with the laws of the jurisdiction in which the original Copyright Holder resides, unless otherwise agreed in writing.
If any provision of this License is held to be unenforceable, that provision shall be reformed only to the extent necessary to make it enforceable, and the remaining provisions shall remain in full force and effect.
7. Each Copyright Holder hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Software, where such license applies only to those patent claims licensable by such Copyright Holder that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Software.
If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Software or a Contribution incorporated within the Software constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Software shall terminate as of the date such litigation is filed.
8. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Modified Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 5, 6 and 8 will survive any termination of this License.
If You cure all violations of this License, then Your rights under this License will be reinstated (a) provisionally, unless and until the Copyright Holder explicitly and finally terminates Your rights, and (b) permanently, if the Copyright Holder fails to notify You of the violation by some reasonable means prior to 60 days after cessation of violation.
9. All Copyright Holders of the Original Work are granted a perpetual, non-exclusive right to incorporate any Modified Work, in part or in full, back into the Original Work.
This does not grant you any rights to claim authorship of the Original Work or use its name or branding unless explicitly allowed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment