Live data from Hacker News

Croc: Easily and securely send things from one computer to another

github.com

61–70 of 146 posts

Re: Croc: Easily and securely send things from one computer to another

#61
post #55

I wish there was an easier way to send things to/from a phone. I use a 1-person slack channel for this because I can't find a simpler way. Google Drive and Dropbox are both awful mobile clients.

Was just dissing KDE connect but it works well in most combinations. Also you can connect a USB cable.

USB cables involve about 5 steps and half my cables don't work because they were not built sturdy enough and got chomped by my office chair, standing desk, or something else.

There should be a way to just right click and "send to phone"

Re: Croc: Easily and securely send things from one computer to another

#62

Haven't tried this but I recently started using syncthing.net and I highly recommend it. Like rsync, it only sends the chunks of the file that changed, so it can be extremely fast for small changes in large files. It's able to use a variety of methods to connect including good through relay servers if the machines can't directly talk to each other.

Syncthing is not for ad hoc file sending. Totally different use case

Re: Croc: Easily and securely send things from one computer to another

#63
Tried it with a friend a few weeks ago and unfortunately it failed. It first began transferring the file, then for seemingly no reason I stopped receiving and then after waiting a bit got EOF and the file was not fully transferred. Seems like it is not that reliable in transferring files, or it has requirements, like open ports or so. But then why would it start and then stop trnasferring?

Re: Croc: Easily and securely send things from one computer to another

#64
I like croc, wormhole, snapdrop and whatever else there is I just don't get that there is no universal convenient standard for transferring files from one device to another over a wired/wireless connection. Mindboggling that most people use cloud hosting or email to transfer a file from one device to another when they are just 30cm from each other.

Re: Croc: Easily and securely send things from one computer to another

#66
post #65

I wish there was a gui version for croc. I've used it a couple of times to send files to non-techie friends. While croc worked great, having to spend 15' on the phone guiding them how to run the command felt like an unnecessary hassle.

For that application, Web Wormhole is unbeatable: https://webwormhole.io/

Re: Croc: Easily and securely send things from one computer to another

#67
post #66
post #65

I wish there was a gui version for croc. I've used it a couple of times to send files to non-techie friends. While croc worked great, having to spend 15' on the phone guiding them how to run the command felt like an unnecessary hassle.

For that application, Web Wormhole is unbeatable: https://webwormhole.io/

But here you download the source code every time you use it. It's not end-to-end anymore, as the person who designed the website can deliver malicious code, unless you pin the JS somehow.

I wish magicwormhole or croc came with every major OS preinstalled.

Re: Croc: Easily and securely send things from one computer to another

#68
post #64

I like croc, wormhole, snapdrop and whatever else there is I just don't get that there is no universal convenient standard for transferring files from one device to another over a wired/wireless connection. Mindboggling that most people use cloud hosting or email to transfer a file from one device to another when they are just 30cm from each other.

Used to be "put it on a USB stick". Now no-one carries those so email/google drive it is :-)

When sharing files between devices I own (including my mobile phones) I attach them to a draft email to myself, then get them from the drafts on the other device.

Re: Croc: Easily and securely send things from one computer to another

#70
post #8

A more popular and, I think, carefully analyzed alternative, from which croc was inspired, is Magic Wormhole; a good Golang implementation that compiles down to a single binary is wormhole-william: https://github.com/psanford/wormhole-william/releases I believe croc has some features wormhole doesn't (and some anti-features, like being able to pick curves and hashes). But also just that it's worth knowing that Magic…

I think Wormhole William is great, also has a mobile app. But when I discovered croc, I switched to that, it has been very reliable. From the developer:

AFAIK, croc is the only CLI file-transfer tool does all of the following:

- allows any two computers to transfer data (using a relay)

- provides end-to-end encryption (using PAKE)

- enables easy cross-platform transfers (Windows, Linux, Mac)

- allows multiple file transfers

- allows resuming transfers that are interrupted

- does not require a server or port forwarding

Post reply on HN