There’s already the excellent [croc](<a href="https://github.com/schollz/croc">https://github.com/schollz/croc</a>) which I’ve gotten all my friends to install and use.
there's also magic wormhole which seems to do something very similar? <a href="https://github.com/magic-wormhole/magic-wormhole">https://github.com/magic-wormhole/magic-wormhole</a>
Feedback: having to specify addresses and ports is a drag. I suggest looking at how magic wormhole does it; nobody wants to look up and type in IP addresses.<p>The user probably shouldn’t need to think about whether it’s in p2p mode or not.