wush vs magic-wormhole
Computer-to-computer transfers compared
wush and magic-wormhole both provide command-line ways to transfer data between computers. wush uses a WireGuard connection and also offers remote shells, while magic-wormhole pairs endpoints with a one-time code and supports files, directories, and short text.

wush: Transfer Files and Open Shells Over WireGuard
wush is a command-line tool for transferring files and opening remote shells over peer-to-peer WireGuard connections. It suits people who need a direct, authenticated connection without setting up a relay or relying on a third-party authentication server.

magic-wormhole: Transfer Files Safely Between Computers
Magic Wormhole is a Python library and command-line tool for sending files, directories, or short text between computers using a one-time, human-readable code. It is useful when you want a simple transfer without exchanging a permanent account or memorizing credentials.
| wush | magic-wormhole | |
|---|---|---|
| Language | Go | Python |
| License | CC0-1.0 | MIT |
| Stars | 1.5k | 23k |
| Forks | 48 | 759 |
| Last analyzed | Oct 3, 2026 | Oct 3, 2026 |
Key differences
- wush transfers files and opens remote shells; magic-wormhole transfers files, directories, and short text, but does not list remote-shell access.
- wush uses WireGuard with UDP hole punching when possible and DERP relays as an alternative; magic-wormhole uses separate mailbox and transit relay servers.
- wush authenticates connections with keys generated by `wush serve`; magic-wormhole pairs endpoints using a single-use, human-readable code.
- wush is written in Go and licensed CC0-1.0; magic-wormhole is written in Python and licensed MIT.
- wush is a command-line tool; magic-wormhole provides both a command-line tool and a Python library.
Choose wush if you…
- need remote shell access as well as file transfer.
- want a WireGuard-based connection and can securely share authentication keys.
- want to carry tools such as rsync over the overlay.
Choose magic-wormhole if you…
- want to send files, directories, or short text with a one-time code.
- prefer a pronounceable code over sharing a persistent authentication key.
- want a Python library for adding transfer capabilities to software.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.