diff --git a/LICENSE-0BSD b/LICENSE-0BSD new file mode 100644 index 0000000..41d6d88 --- /dev/null +++ b/LICENSE-0BSD @@ -0,0 +1,12 @@ +Copyright (c) 2024 pilcrowOnPaper and contributors + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..084aef9 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,19 @@ +Copyright (c) 2024 pilcrowOnPaper and contributors + +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. \ No newline at end of file diff --git a/README.md b/README.md index 5b335a8..723fb57 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,7 @@ Install [Malta](https://malta.pilcrowonpaper.com) and start the dev server. ``` malta dev ``` + +## License + +All example code are licensed under the [Zero-Clause BSD license](./0BSD-LICENSE), while everything else is licensed under the [MIT license](./LICENSE-MIT). diff --git a/pages/index.md b/pages/index.md index 0d1aecd..474814c 100644 --- a/pages/index.md +++ b/pages/index.md @@ -25,3 +25,9 @@ We came to the conclusion that at least for the core of auth - sessions - it's b - [The Copenhagen Book](https://thecopenhagenbook.com): A free online resource covering the various auth concepts in web applications. - [Oslo](https://oslojs.dev): Simple, runtime agnostic, and fully-typed packages with minimal dependency for auth and cryptography. - [Arctic](https://arcticjs.dev): OAuth 2.0 client library with support for 50+ providers. + +## Disclaimer + +All example code in this site is licensed under the [Zero-Clause BSD license](https://github.com/lucia-auth/next/blob/main/LICENSE-0BSD). You're free to use, copy, modify, and distribute it without any attribution. The license is approved by [the Open Source Initiative (OSI)](https://opensource.org/license/0bsd) and [Google](https://opensource.google/documentation/reference/patching#forbidden). + +Everything else including the documentation text is licensed under the [MIT license](https://github.com/lucia-auth/next/blob/main/LICENSE-MIT). \ No newline at end of file