I decided to get rid of Nextcloud and use Syncthing instead. It is easier to manage for me, also avoiding bloat and temptations of having too many gadgets in one huge app, moreover Nextcloud is slow).
But Syncthing covers my needs for file synchronization between my own devices, best case scenario maybe with one or two other close nerdfriends. What to do if I just want to expose a file to public internet. One which is either too large for instant messengers/email, or are filtered by dozen of corporate tools?
I think that the most accessible will always be just a file placed on web server. Let it even be there without any authentication, uuid, obfuscation or other form of advanced defenses - threats aren’t too great, and if I delete the file automatically after short time, we should be alright.
In MacOS, which I’m abandoning, I had some right-click setup for sending a file immediately to web server on my VPS.
Wondered if this is easy to setup on my NixOS with KDE Plasma, and it comes out it was also really simple, just remember that both your script and .desktop file need execution privileges! Details here.