nostream icon indicating copy to clipboard operation
nostream copied to clipboard

[REQUEST] Whitelist based on a .well-known/nostr.json

Open anotherhadi opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. I want to whitelist all public keys found on mydomain/.well-known/nostr.json

Describe the solution you'd like An option in the settings.yaml file would be great, with the url to search for the nostr.json file. It will also be nice to set a "refresh_whitelist" key, so every X hours the whitelist will be updated with a get request the domain/.well-known/nostr.json without restarting the container.

Describe alternatives you've considered I tried changing the TS code myself but couldn't locate where the settings.yaml file loads.

Additional context Giving sats to people who can help me do this/implement the feature!

anotherhadi avatar Mar 02 '23 18:03 anotherhadi