diff --git a/index.html b/index.html index 77a2ab3..d5aa231 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,14 @@ - - - + + + Nostr Authentication Example - - + +

Nostr Authentication Example

- + - + diff --git a/readme.md b/readme.md index ea0b7b3..7c18bfb 100644 --- a/readme.md +++ b/readme.md @@ -23,13 +23,13 @@ TODO: Check for security make sure I can't get around it some easy way at least. new npub with proper nip05 and username access? -grab preferred relays from nip (notepress has an example in setup.js) instead of using an explicit one. +I can just make a manual post request with curl to /upload with a nip05 that already hasa folder and upload whatever. The credentiasl need to be in the backend -Create directory for a user it doesn't already exist. UI think upload will fail right now if the user doesn't already have a directory +Create directory for a user it doesn't already exist. I think upload will fail right now if the user doesn't already have a directory need provisions to catch if the user is uploading a file with the same name as a file already in their storage, ask to replace or rename the new file -config for max file size and default storage limit for a given user +config for max file size and default storage limit for any given user can make a exceptions later to allow more storage for a user based on criterea