readme
This commit is contained in:
parent
f4e97eb283
commit
47b76ff41c
14
index.html
14
index.html
@ -1,14 +1,14 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Nostr Authentication Example</title>
|
<title>Nostr Authentication Example</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Nostr Authentication Example</h1>
|
<h1>Nostr Authentication Example</h1>
|
||||||
<button>Log in with Browser Extension (NIP-07)</button>
|
<button>Log in with Browser Extension (NIP-07)</button>
|
||||||
|
|
||||||
<script type="module" src="index.js"></script>
|
<script type="module" src="index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -23,13 +23,13 @@ TODO:
|
|||||||
Check for security make sure I can't get around it some easy way at least.
|
Check for security make sure I can't get around it some easy way at least.
|
||||||
new npub with proper nip05 and username access?
|
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
|
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
|
can make a exceptions later to allow more storage for a user based on criterea
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user