simple atproto oauth for static svelte apps flo-bit.dev/svelte-atproto-client-oauth/

add license, update readme

+26 -4
+21
LICENSE
··· 1 + MIT License Copyright (c) 2025 flo-bit 2 + 3 + Permission is hereby granted, free of 4 + charge, to any person obtaining a copy of this software and associated 5 + documentation files (the "Software"), to deal in the Software without 6 + restriction, including without limitation the rights to use, copy, modify, merge, 7 + publish, distribute, sublicense, and/or sell copies of the Software, and to 8 + permit persons to whom the Software is furnished to do so, subject to the 9 + following conditions: 10 + 11 + The above copyright notice and this permission notice 12 + (including the next paragraph) shall be included in all copies or substantial 13 + portions of the Software. 14 + 15 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF 16 + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO 18 + EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 19 + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 + THE SOFTWARE.
+2 -2
README.md
··· 1 1 # svelte atproto client oauth demo 2 2 3 3 this is a scaffold for how to get client side oauth working with sveltekit and atproto 4 - using the `@atcute/oauth-browser-client` library. 4 + using the [`@atcute/oauth-browser-client`](https://github.com/mary-ext/atcute) library. 5 5 6 - perfect for static builds e.g. using github pages. 6 + useful when you want people to login to your static sveltekit site. 7 7 8 8 ## how to install 9 9
+3 -2
package.json
··· 38 38 }, 39 39 "dependencies": { 40 40 "@atcute/oauth-browser-client": "^1.0.13" 41 - } 42 - } 41 + }, 42 + "license": "MIT" 43 + }