Live data from Hacker News

Magic Wormhole: get things from one computer to another, safely

github.com

21–30 of 262 posts

Re: Magic Wormhole: get things from one computer to another, safely

#21
post #6

Earlier quoted context omitted.

scp

scp has the assumption that you have a login on the computers you're trying to share data from. wormhole allows for sharing with others without providing login access to the computer

Right. Also you may have to reconfigure some firewalls to use scp.

Typically, a firewall allows outbound connections without needing an explicit entry for the protocol, and in the case of magic wormhole, both sides are an outbound connection. So it passes right through.

If you've got security-minded folk managing that sort of thing for you, it's possible that magic wormhole will upset them for this reason. More for policy/compliance reasons than actual security ones.

Re: Magic Wormhole: get things from one computer to another, safely

#22
post #9

Tailscale has that Taildrop thing now, too: https://tailscale.com/kb/1106/taildrop

Taildrop is neat, but Wormhole is much more flexible and much easier to use (if you're OK with a command line tool). We use Tailscale everywhere here and I still wormhole things all the time.

Re: Magic Wormhole: get things from one computer to another, safely

#23
post #12

There are a few others p2pcopy https://github.com/psantosl/p2pcopy pcp https://github.com/dennis-tra/pcp wormhole-william https://github.com/psanford/wormhole-william

And more https://github.com/mat-sz/filedrop https://github.com/saljam/webwormhole https://github.com/schollz/croc https://github.com/dutchcoders/transfer.sh https://github.com/timvisee/send https://github.com/schlagmichdoch/pairdrop https://github.com/SnapDrop/snapdrop

10 different tools? Ridiculous! We need to develop one universal tool that covers everyone's use cases.

Re: Magic Wormhole: get things from one computer to another, safely

#24
post #13

Earlier quoted context omitted.

Mobius Sync. Works like a charm.

Möbius Sync doesn't sync in the background; you must have the app in the foreground for it to function. So, not quite a proper substitute for Syncthing, but may work for OPs usecase.

Of course it syncs in the background. It‘s just not instantaneous, because iOS severely limits what you can do in the background.

Re: Magic Wormhole: get things from one computer to another, safely

#26
post #13

Earlier quoted context omitted.

Mobius Sync. Works like a charm.

Möbius Sync doesn't sync in the background; you must have the app in the foreground for it to function. So, not quite a proper substitute for Syncthing, but may work for OPs usecase.

[deleted]

Re: Magic Wormhole: get things from one computer to another, safely

#27
I find `syncthing` pretty useful for this kind of stuff. It's been around a long time and has a lot of different options for configuration and clients for every platform you could imagine, both UI based and command line.

On every *nix platform I would just install the `syncthing` package and use it quite easily. I've experimented with some wormhole stuff before and looked at this package some, but there would be a lot of extra steps involved right because of the packaging choices.

The package was removed from Fedora in 37 with the "replacement" being use a Snap instead [1]. That doesn't make any sense because that platform is heavily invested in Flatpak and it's very "against the grain." There are some other "Wormhole" apps on Flathub that are verified, but none of them are the same as this. Are they compatible protocol wise or just named similar things? That's assuming you want to enter the game of "is this app safe or made by the same entity?"

I want to enjoy this project and others like it, but it's very confusing. The goal of these tools is to simplify transfer of files and to take most of the "pain" in doing that away. Yet, to actually use most of these tools in any meaningful way between two computers you would need to invest more time into getting this to run on those systems. My brain tells me to make this work you need a big button on the homepage for each well supported platform that just says "Download for Windows" along with a one-click solutions for various Linux platforms (one line command, Flatpak, AppImage, etc.)

[1]: https://magic-wormhole.readthedocs.io/en/latest/welcome.html...

Re: Magic Wormhole: get things from one computer to another, safely

#28
post #17

I realize this is a dumb question, but what's a good way to do this between an iPhone and a MacBook? Airdrop is disabled (by policy), iCloud storage is full (because I'm lazy), and I use syncthing on every other device, but I haven't found a client I can use on my work iPhone.

Use Signal. If you install the desktop client Signal has a special "Note to Self" address you can use to transfer message attachments between devices.

Signal 'note to self' works. I have several nts's...medical, links only, shopping...if I think of something on one device (pc/ android for me), it's on the other within seconds.

Re: Magic Wormhole: get things from one computer to another, safely

#29
post #25

How does this relate to https://wormhole.app/ ?

That is something I want to know too. Do these various "wormhole" apps use any common protocol between them or do they just all use the same words and branding for different things?

Re: Magic Wormhole: get things from one computer to another, safely

#30
I've used this for years when passing large files between systems in weird network environments, it's almost always flawless.

For some more exotic testing, I was able to run my own magic wormhole relay[1], which let me tweak some things for faster/more reliable huge file copies. I still hate how often Google Drive will fall over when you throw a 10s-of-GB file at it.

[1] https://www.jeffgeerling.com/blog/2023/my-own-magic-wormhole...

Post reply on HN