Move the Nayuki notice to THIRD_PARTY_NOTICES.md so GitHub detects MIT

This commit is contained in:
mortyzip committed 2026-10-09 20:27:25 +00:00
1 parent 3900c68331
commit 74562419eb
4 files changed
+25 -26

No files matched your search

-24
View File
@@ -19,27 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS 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.
----------------------------------------------------------------------------
The QR code encoder in src/index.html is based on the QR Code generator
library by Project Nayuki (https://www.nayuki.io/page/qr-code-generator-library),
used under the following terms:
Copyright (c) Project Nayuki. (MIT License)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
- The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall the
authors or copyright holders 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.
+1 -1
View File
@@ -117,4 +117,4 @@ Keep Awake is free. If it's useful to you, you can [buy me a coffee](https://buy
## License
[MIT](LICENSE).
[MIT](LICENSE). The QR code encoder is based on code from Project Nayuki, see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
+23
View File
@@ -0,0 +1,23 @@
# Third-party notices
The QR code encoder in src/index.html is based on the QR Code generator
library by Project Nayuki (https://www.nayuki.io/page/qr-code-generator-library),
used under the following terms:
Copyright (c) Project Nayuki. (MIT License)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
- The Software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall the
authors or copyright holders 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.
+1 -1
View File
@@ -446,7 +446,7 @@ button.link.confirm { color: var(--danger); font-weight: 600; }
<script>
/* Small QR code encoder: byte mode, error correction level M, versions 1-6
(up to 106 bytes). Based on Project Nayuki's QR Code generator,
Copyright (c) Project Nayuki, MIT License (see LICENSE).
Copyright (c) Project Nayuki, MIT License (see THIRD_PARTY_NOTICES.md).
https://www.nayuki.io/page/qr-code-generator-library
qrEncode(text) returns rows of booleans, true = dark. Throws if the text
doesn't fit. */