
Easily and securely send things from one computer to another :crocodile: :package:
About
Languages
Contributors30
“croc: Effortless, Secure, and Cross-Platform File Transfer via Command Line. Send Anything, Anywhere, Anytime with a Simple Code – No Firewall Hassles.”
The Essence
croc is a robust, free, and open-source command-line utility for securely transferring files and folders between two computers. Written in Go, it leverages a P2P architecture with a relay server to facilitate connections, even when devices are behind NATs or firewalls. It uses a passphrase-based key exchange for end-to-end encryption, ensuring data privacy. This design makes it a versatile tool for quick and secure peer-to-peer data exchange.
Capabilities
croc simplifies the process of sending data by allowing users to initiate a transfer with a single command and receive it using a unique, temporary code. It automatically handles network complexities like port forwarding, making it accessible for users without advanced network configuration skills. This tool empowers developers and everyday users to share sensitive information efficiently and without relying on potentially insecure third-party cloud services.
Replaces
croc acts as a modern, secure, and more convenient replacement for traditional file transfer methods such as SCP, FTP, and even `netcat` for ad-hoc transfers. While SCP requires SSH access and careful configuration, and FTP often lacks inherent encryption, croc provides secure, out-of-the-box encrypted transfers. It also mitigates the privacy concerns and upload overhead associated with using cloud storage services like Google Drive or Dropbox for direct machine-to-machine transfers, offering a direct and ephemeral solution.
Editor's Highlights
- Secure end-to-end encrypted transfers
- Cross-platform compatibility (Windows, macOS, Linux)
- No port-forwarding required via relay
- Resumable transfers for interrupted sessions
- Easily send entire folders recursively
How It Compares
| Alternative | Main Strength | Main Weakness |
|---|---|---|
| SCP | Widely available on Linux/macOS, reliable for SSH-based transfers. | Requires SSH access and port forwarding, can be complex for firewalls/NAT. |
| Google Drive/Dropbox | Cloud-based, accessible from anywhere, good for large files. | Requires uploading to a third-party server, potential privacy concerns, dependent on internet connection. |
| Netcat (nc) | Simple for quick, direct transfers on LAN. | Lacks encryption, requires manual setup for each transfer, no built-in relay for NAT traversal. |





