What is a good self-hosted solution for sharing files with friends?

https://lemmy.ml/post/38283688

What is a good self-hosted solution for sharing files with friends? - Lemmy

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?

file.pizza just because the pizza toppings URLs are fun and nasty
FilePizza • Your files, delivered.

Peer-to-peer file transfers in your web browser.

not self-hosted
file.pizza can be self hosted, github.com/kern/filepizza
GitHub - kern/filepizza: :pizza: Peer-to-peer file transfers in your browser

:pizza: Peer-to-peer file transfers in your browser - kern/filepizza

GitHub
Could be tho. Link to github (“fork me”) at the bottom.