nice, so nip-05s are creating a redirection? or you have to host it on the same IP as the DNS name? what's the name resolution protocol exactly?
Login to reply
Replies (4)
#golang has a "vanity import" scheme which is basically a meta tag that points to the "real" address, i have mine going to https://realy.lol but that points to https://github.com/mleku/realy and additionally i added a redirect header that bounces a normal access over to the actual hosting
this thing `nostr://lez@nostr.hu` should equate to X.X.X.X IPv4 address at port 443 or port 80, so what is the protocol exactly?
Nip05 addresses enable a GET request to the server at the domain which returns user pubkey and relay information. In ngit we use that to find the repository announcement event and everything related from there.
What I didn't appriciate until the following docussions is that the use of a domain name in the URL heavily suggets that the git content is hosted at that domain. This is misleading and I'm not sure what to do about that.
View quoted note →

GitHub
NIP-34: Git Remote Nostr URL format and helper spec by DanConwayDev · Pull Request #1624 · nostr-protocol/nips
Add Git Remote Nostr URL format which can be used as a normal git clone address when ngit is installed. This used by ngit and gitworkshop.dev, minu...