in a universe where everything is instantly scraped and consumed and tracked it is a quiet kind of freedom to be able to rent a domain and be able to put one-off pages on it that would only be findable by brute force enumeration of the domain. every web content system is built around not creating "orphan pages" like this, but if you are a human being online who just wants to show something to a few people, they're the best way i know how to. i feel like this would be made impossible if the web protocols were written today.
i wonder if there's an nginx plugin for this that lets you make/revoke ephemeral share URLs. like i know i can just do this in 5 minutes with a python web server, but i also love just having a website that is just "files in a directory" where the web server part is basically invisible in the OS infra
@jonny just disable automatic directory indexes, and you can just create directories within your site and they would only be accessible by direct links. No need for anything special in nginx.
@jonny I've been writing a little P2P tool called `sned` for quickly sending files between devices.
Just yesterday I added the ability to forward TCP connections through it via a local TCP port. (My idea was for a p2p ngrok alternative.)
So, you could start up a local server, have someone run `sned meet` to configure aliases for each other. Then `sned tcp-connect` them to a web server you're running locally.
https://codeberg.org/nfnitloop/sned/commit/adae1dfdcdf6c4653817ea43c94ca0b1e6384c2a
@jonny@neuromatch.social ohhhh that would rule
so like you say "hey, here's my link: example.com/big-shkroompin"
and then it gets shared and you're like "ehhh, fuck that old URL" and then hit a button and it scrambles it, server side, to "example.com/lord-fossledossle" or some such? As in, not just a "share" link, but those are the actual canonical URLs?
that would rule
@aud
I guess I don't know exactly what I mean, I suppose I could accomplish this with symlinks?
@jonny@neuromatch.social hmmm, I guess that's true, too. You could just serve up a directory and then have a program that scrambles symlinks, basically, or creates new ones wherever you want, running on the machine?
That would work, I think?
@jonny IPv8 would have a 48-bit credit card number field for each packet.