I have a Samba mount at home (behind NAT, accessible via wireguard VPN), which works very well when accessing my home files when traveling (I travel a lot for work).
The only detail missing from this solution is sharing individual files with friends. I could give them access to my VPN, but that gives them access to everything, not just one thing I want to share. Also not all my friends are that tech savvy to manage connecting to a VPN.
What would be really great is to have a link-generator that punches a hole in the NAT to give them access to specific files. Are there any self-hosted solutions for that?
Are both parties online at the same time?
Maybe something like this is a good solution: https://github.com/magic-wormhole/magic-wormhole
It will figure out the fastest p2p connection and send even very large files without hassle.
Does anyone use Blaze? ( https://github.com/blenderskool/blaze )
I always thought it looked promising, even supporting peer-peer transfer, so in theory if you are transferring to multiple destinations multiple folks would seed.
Edit: ah, ni commits for the last 2 years
You can consider using a Pikapods service for this. It’s dead simple to strand up a server when you need one.
https://www.pikapods.com/apps#storage
They have Gokapi and/or PrivateBin for just about a buck per month. You can turn the service on and off whenever you like. Good company to work with, IME, too.
you might configure Syncthing in that way
There are a few implementations of wormhole that might work.
If you’re ok with exposing a server to the internet, I’ve had good luck with sharry. https://eikek.github.io/sharry/
I’ve also had good luck running a Nextcloud instance to share with friends and family. But that is probably overkill here.
Not selfhosted but after I found catbox.Moe I haven’t had yo worry about sharing files.
I would not rely on catbox for the long term.
That’s always sound advice
Any particular reason why you can’t do something like host a Send instance instead? Better to treat “filesystem behind the network” and “files to share” as two different things: one is imanent, the other is punctual and sporadic.
I’ve been looking for something like this as well. Hopefully someone has a solution.
Do you have a domain? If you do, maybe try Nginx Proxy Manager and SFTPGo. I previously used File Browser but the developers made some fairly large breaking changes and I never went back. SFTPGo lets you add accounts easily and I have specific folder setup for sharing with friends. It has a clean interface too. If you don’t have a domain, maybe try Tailscale?
I use Pingvin. You upload a file to it and it generates a link. Has expiration on the link.
You can allow anonymous uploads or not, give friends logins etc.
I have it locked down to just me with a login and I use it to let others download the files.
Last I checked it was abandoned and no one is maintaining a fork either.
Good to know, thanks.
I tried it but Copyparty worked better, it has a massive community suddenly and tons of cool features that mostly stay out of the way unless you enable them
Copyparty is amazing
Just make sure not to shorten the name of that using the linux command for copy
I use Warpinator in combination with tailscale
Does this require the recipient to install and sign up for Tailscale?
Just run a web server and expose the specific files you want to share through that?
Yea just draw the rest of the owl duh! 🙄

python3 -m http.server
croc is really easy to setup as well, https://github.com/schollz/croc
it looks awesome tbh, thanks
Try nextcloud. It can generate links to files like this.
100% this. I have one running in a lxc, and I expose it to the world through a CloudFlare tunnel so I needn’t worry about dyndns or people probing my public IP.
Mind if u ask how much that cloudflare front end costs you a month for how many hits?
I’m on their free tier. If you don’t have a domain you need to get one, but CloudFlare does offer domain registration basically at-cost.
Because I’m on free, I can’t break down my analytics like a paid account can. i can say though that for the past 30 days my account has generated 886k requests and 47.56GB of bandwidth. I can’t tell you how much of that is nextcloud and how much is other stuff, like audiobookshelf, but hopefully this helps answer you.



