Croc: Securely transfer files and folders between two computers

gregsadetsky 42 points 21 comments July 12, 2026
github.com · View on Hacker News

Discussion Highlights (9 comments)

turadg

Sounds like Magic Wormhole ( https://magic-wormhole.io/ ). The readme acknowledges Warner at the end. Key differences seem to be resumable transfers and proxy support. Another is a single binary, whereas MW is in Python, but there’s now https://github.com/magic-wormhole/magic-wormhole.rs I appreciate that the project acknowledges its inspiration. I wish it were more common for projects to provide detailed comparisons with similar ones for people trying to choose.

technol0gic

one thing that gets me is this should be one of the most basic tasks between two machines and it has been increasingly, systematically abstracted from us, to control what channels it goes through, if it even goes through at all. so kudos to this app but this should be easy at an OS level and it isn't, by design. likely for the same reason airdrop is not a thing in china

themgt

Hard-coded to use his relay server and then asking for donations for bandwidth? https://github.com/schollz/croc/issues/931

siraben

I use croc instead of magic wormhole as of a year ago now. In my testing the throughput is higher than magic wormhole because it uses multiple TCP connections to transfer the files.

atmosx

Croc has broke down for me quite a few times when transferring large files. I switched back to MW.

smusamashah

I keep a list of mostly browser based and some cli, p2p file sending tools in like croc. https://gist.github.com/SMUsamaShah/fd6e275e44009b72f64d0570...

whimsicalism

What does this give me that unison doesn't?

dmitrygr

this has been fine working since the 80s pc1> tar c <SRC_FOLDER_OR_FILES> | nc -l 12345 pc2> nc <IP_OF_PC_1> 12345 | tar xv -C <DST_LOCATION>

teo_zero

How can one be sure that the relay does not record all the data flowing through it? There's not a second independent channel where the key is exchanged between sender and receiver.

Semantic search powered by Rivestack pgvector
14,015 stories · 131,331 chunks indexed