Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static Websites #1538

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Static Websites #1538

wants to merge 3 commits into from

Conversation

hzrd149
Copy link
Collaborator

@hzrd149 hzrd149 commented Oct 12, 2024

This nip defines a spec for hosting static websites under a pubkey using kind 34128 events, Blossom servers, and specialized host servers

Readable version here

Implementations:

@vitorpamplona
Copy link
Collaborator

vitorpamplona commented Oct 15, 2024

I would just remove the word nsite from the title because it feels like you are defining a new NIP-19 bech address.

The rest is good.

@fiatjaf
Copy link
Member

fiatjaf commented Oct 16, 2024

I feel like this is better specified as a BUD since it depends on Blossom and Blossom is not even a NIP.

nsite.md Outdated
Host: npub10phxfsms72rhafrklqdyhempujs9h67nye0p67qe424dyvcx0dkqgvap0e.nsite-host.com
```

If the requests `Host` does not have a subdomain server MUST lookup any `CNAME` or `TXT` DNS records for the domain and attempt to resolve the pubkey from them
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how?

nsite.md Outdated Show resolved Hide resolved
@hzrd149 hzrd149 changed the title Static Websites (nsite) Static Websites Oct 19, 2024
@hzrd149
Copy link
Collaborator Author

hzrd149 commented Oct 26, 2024

I feel like this is better specified as a BUD since it depends on Blossom and Blossom is not even a NIP.

I could go either way on this, but I think its closer to nostr since the majority of this NIP is the static file event for mapping path -> hash

@fiatjaf
Copy link
Member

fiatjaf commented Oct 26, 2024

The same can be said about Blossom.

And I do feel like Blossom should be published as a NIP somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants