Netlify.com it’s free.

1. Create a Guthub account

2. Create a public repo

3. Add a hidden folder .well-known in the root

4. Create a file name nostr.json inside previous created folder

5. Inside that file add:

{"names":{"YourUsername": "YourHexKeyHere"}}

6. Commit / push

7. Create a Netlify account and connect your GitHub account and add you project.

8. Add netlify.config file at the root of your repo and add this inside:

[[headers]]

for = "/*"

[headers.values]

Access-Control-Allow-Origin = "*"

9. Commit / push

Reply to this note

Please Login to reply.

Discussion

Great if you don’t have hosting but isn’t it better to have it on your hosting if you do have it? Or no difference really?