Like Localshare but works over the internet?
Any recommendations appreciated
Thanks in advance
I don't think the entire service is open source but I really like https://wormhole.app/
pairdrop.net maybe?
It's mainly for local network, but you can do internet transfers.
https://github.com/schlagmichdoch/pairdrop#features
SFTP should come with your OS. If you're on *nix, some fiddling around with usergroups is recommended for security reasons.
I wrote my own. I aimed for a different UX than most services. For my use case I have a few devices that I often share files between. So opening the tool on both devices was a bit annoying. Instead you select the file on the first device and you get a push notification on the other. Then the transfer is done over WebRTC (locally if possible). All communication is done end-to-end encrypted and over your browser's push service.
Hosted: https://filepush.kevincox.ca/
Source: https://gitlab.com/kevincox/filepush
In order of personal preference:
scp (sftp)
rsync/openrsync
nfs
host files on an ftp server with ftpd
hosting files on an http server with httpd
https://github.com/positive-intentions/chat
It uses webrtc for P2P connections.