A library and wormhole command-line tool that moves files, directories, or short text between two computers. Endpoints pair using identical human-pronounceable, single-use wormhole codes.
Overview
Magic-Wormhole lets two machines exchange arbitrary-sized files and folders or brief text snippets without prior pairing infrastructure beyond shared codes. The sender generates and shows a code; the receiver types it in, with tab-completion on codewords so only part of the phrase is needed.
Codes are built from a phonetically distinct wordlist, meant to be short and easy to say. Each code works once and does not need to be memorized. Operation relies on a mailbox server and a transit relay, each maintained as separate projects.
The Python library targets Python 3.10 and newer. Packages ship with many operating systems, and documentation covers CLI usage, environment variables, Tor support, client applications, and the underlying wormhole, transit, and dilation protocols.
Developers can embed the library in applications; end users typically run the wormhole CLI to send or receive data between machines.
Key features
- Human-pronounceable single-use pairing codes
- Arbitrary-size file and directory transfer
- Short text message mode
- Tab-completion on receiver codes
- Python library and CLI tool
- Tor usage documented
- Separate mailbox and transit relay
Use cases
- Ad-hoc file transfer between two PCs
- Sending folders without cloud upload
- Exchanging short secrets or text
- Embedding wormhole in custom apps
Does the same job as
Magic-Wormhole doesn't name these products itself, but its own description shows it does the same job.