Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 3
Generated: 15:42:57
Login to reply

Replies (3)

aside from that, you can also use the nip-05 to decode a prefix, being the npub, which could be another option, but since you can't have more than one key in a json object with the exact same string, it's equally distinct as the hex pubkey, and human readable just trying to get you to think about how it's implemented so the spec is not complicated, do it this way, or be retarded. username@example.com has a standard implied meaning to put the username:password fields into headers in the actual request, the semantics are being muddled here that's what i'm trying to get you to consider, i think it's better to just do it as a subpath, but leave the actual URL how you are using it, web servers are webservers and maybe someone wants to implement this with some nginx configuration and your scheme doesn't make it clear where that username fits into it
2024-12-20 20:34:28 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
no, i'm just saying i make a git redirection reverse proxy what path is lez@example.com/reponame resolving to because in case you didn't realise this is equivalent to an email or lightning address, which has a whole set of rules about resolution as well do i use the npub in the nip-05, do i use the name (which has to be unique by json syntax) and if so where do i place it in the path, it has to be in the path, or is it in the header be specific, it's not hard to decide on one scheme to use what's bugging me about this is that i deal with javascript structures on a pretty regular basis, designed by javascript programmers, and they have like 10 different ways of explicitly or implicitly designating types and so every single different piece of data their app produces needs to be processed differently please, just define a standard rewrite syntax, and then you know that nobody is going to screw it up you are working with two moving parts here, a router, and a server, and a server expects as stardard http(s)://example.com/path/to/repo.git as i said, i've tried to deploy git hosting and the Go tool i used was great but it had all kinds of other issues with it then i go over to the Git site and try to make sense of their instructions, *facepalm* http is really simple is it get, or put, is it in the header, or is it part of the path, is it a subdomain, is it an address, just decide on one, and make that the standard and nobody screws it up i can tell you haven't had much to do with web servers because they are the most arcane voodoo in computer science, only Go's implementation is really strict about the taxonomy of the parts i can make reverse proxies, protocol relays and all kinds of neat stuff, websockets, with go and http shit, but then i look at these other language implementations and it's a real hodge podge in comparison
2024-12-20 20:45:00 from 1 relay(s) ↑ Parent Reply