• mikae1 a few seconds ago

    croc[1] has worked better for me. It supports resuming transfers, which is a must. It is very wormhole like and written in Go.

    [1] https://github.com/schollz/croc

    • brendyn an hour ago

      This project made me learn about and attempt to implement the SPAKE2 protocol and HKDF as an exercise. It's quite fascinating. It lets you upgrade a short password to a long key, but requires trusting a server to rate limit attempts on brute-forcing that short password. It seems difficult to find a practical use case for it tho. Because it's only relevant when it is impractical to send a long key. But if you think for a second, lets say you are transferring from a desktop to a phone, you can show a QR code and scan in with your phones camera, thus achieving a secure handshake bypassing the need for SPAKE2 all together. Maybe it would defeat the simplicity of the tool, but if it also provided a long string of words for the key, a user could optionally send all the words instead of just the first few and get themselves a secure key without needing to trust the server.

    • klysm 2 hours ago

      I use this all the time when trying to get files between devices that need multiple hops to get to. Way easier then remembering what scp or rsync combo I need to jump through a host

      • hshdhdhehd 20 minutes ago

        Hmm how does this negotiate the hops or does it assume internet access? E.g. what if the last hop is inside a VPC.

      • nine_k 3 hours ago

        A simple encrypted channel for file transfer. A great way to send a file to a stranger who is near you but shares nothing with you, e.g. at a conference.

        /* A modern version should, of course, work in a browser, so that there'd be no Python packages to install. But the browser security model does not allow listening, so a signaling server would be needed to create a WebRTC connection. It could run on one of the devices involved, but still can't be a pure web app. */

        • ameliaquining an hour ago

          They don't have to be near you, they can be over the internet. Relatedly, the Magic Wormhole CLI also depends on a signaling server (referred to in the documentation as the "mailbox"), so I don't think it's doing anything you couldn't do with WebRTC.

          • w-ll an hour ago

            "Near you" physically only matters in coordination, not the network. I can beside someone and it will still go towers and space before we establish a connection.

        • FireInsight 2 hours ago

          I prefer https://localsend.org/ nowadays. Nice cross-platform GUI, "just works". Requires being on the same lan, but discovery of other devices is automatic and there are no alphanumeric codes that have to be shared. It's a good QoL improvement to have "airdrop" between Android and Linux

          • standup75 41 minutes ago

            I use it all the time. this tool is so great

            • aborsy 2 hours ago

              I use magic wormhole when I first install a computer to send an SSH key. At that point, I have ssh. Also if you use a mesh VPN, your devices are already connected and there are several ways to transfer files.

              I like to use it more. What is your use case for this?

              BTW, I haven’t found a good iOS app.

              • dmarinus 43 minutes ago

                I think you should create a new ssh key for every computer so you only have to share the public key .

                • mikepurvis 36 minutes ago

                  If you’re launching machines from a prebaked image or template, it may not be possible to inject/generate something unique for each one, or doing so is finicky to the point that using something like wormhole may be simpler than fighting with your provisioning tool.

              • remram 2 hours ago

                AFAIK, Web Wormhole is the only one of those tools that can be used both as a command-line tool and from a browser. It looks like the site is down at the moment though. https://github.com/saljam/webwormhole https://webwormhole.io/

                • totetsu 44 minutes ago

                  Their TURN and STUN servers are down too.

                  • aborsy 2 hours ago

                    The website doesn’t work on my phone.

                  • smusamashah 2 hours ago

                    https://gist.github.com/SMUsamaShah/fd6e275e44009b72f64d0570... List of p2p file sharing tools including this one. Most in the list are browser based.

                    • AnonHP 2 hours ago

                      I’m glad to see that there are mobile apps and web applications that work on/use Magic Wormhole for peer to peer file transfers. The mobile app and web applications seem to be limited (number of files is one at a time, size of file allowed, etc.) due to limitations on mobile platforms and due to choices by the developer/server host.

                      • jerrythegerbil 3 hours ago

                        And its lesser known component, the mailbox server used for signaling to connect the two computers. If you’ve ever installed and used magic wormhole, you’ve likely used the default public mailbox server unless you configured and set up your own.

                        https://github.com/magic-wormhole/magic-wormhole-mailbox-ser...

                        • peterhadlaw 3 hours ago

                          It just works.

                          • cloudking 2 hours ago

                            Another simple solution works on LAN https://pairdrop.net/