Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 4
Generated: 15:43:19
Login to reply

Replies (4)

yes that's how i do it also, https://n.mleku.dev/.well-known/nostr.json i should just point out that it's a hyphen not an underscore https://n.mleku.dev/.well_known/nostr.json => 404 this is my names object: {"names":{"_":"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"} there is no space in that for a path separator aside from the key string if i am running a git-http service, i tried to do this, it's a serious PITA and the documentation is awful, but the point is related to how you translate that USERNAME for the web server, and how does the web server use that to differentiate same named repos from different users, it's just simplest, IMO to just make it a path prefix eg: https://example.com/lez/somerepo because nip-05 only gives you https://example.com there is no space in the json to specify any detail about anything other than the name match itself, and the pubkey you could use the pubkey as a subpath also, you could put it in a header, this is http, maybe you guys are just not familiar with the retardation of http
2024-12-20 20:22:02 from 1 relay(s) ↑ Parent 2 replies ↓ Reply
yes, but that resolves only to an NPUB hex pubkey, not a URL this is for a git-http service right? why leave this unclear, make an exact specification how the name goes into the path that is resolved, and it should be a path, not a subdomain, because not everyone has *cough* wildcard certs (and letsencrypt are bitches about ratelimiting)
2024-12-20 20:36:13 from 1 relay(s) ↑ Parent 1 replies ↓ Reply