5 releases

new 0.7.4 Nov 24, 2024
0.7.3 Oct 25, 2024
0.7.2 Oct 11, 2024
0.7.1 Jul 25, 2024
0.7.0 Jul 17, 2024

#52 in Command line utilities

Download history 10/week @ 2024-08-02 2/week @ 2024-08-09 1/week @ 2024-08-16 26/week @ 2024-09-13 16/week @ 2024-09-20 8/week @ 2024-09-27 4/week @ 2024-10-04 167/week @ 2024-10-11 12/week @ 2024-10-18 151/week @ 2024-10-25 13/week @ 2024-11-01 6/week @ 2024-11-08 2/week @ 2024-11-15

173 downloads per month

EUPL-1.2

1.5MB
9K SLoC

Magic Wormhole CLI

A Rust implementation of the classic magic-wormhole command line client.

This package provides a library and a command-line tool named wormhole-rs, which makes it possible to get arbitrary-sized files and directories (or short pieces of text) from one computer to another. The two endpoints are identified by using identical "wormhole codes": in general, the sending machine generates and displays the code, which must then be typed into the receiving machine.

Installation

GitHub Releases

We publish source code and binaries to GitHub releases. Visit the releases page for the latest release.

Or use cargo binstall:

cargo binstall magic-wormhole-cli

crates.io

You can use cargo to install the CLI from crates.io:

cargo install --locked magic-wormhole-cli

Usage

Get things from one computer to another, safely

Usage: wormhole-rs [OPTIONS] <COMMAND>

Commands:
  send       Send a file or a folder [aliases: tx]
  receive    Receive a file or a folder [aliases: rx]
  send-many  Send a file to many recipients
  forward    Forward ports from one machine to another

Options:
  -v, --verbose  Enable logging to stdout, for debugging purposes
  -h, --help     Print help
  -V, --version  Print version

Run a subcommand with `--help` to know how it's used.
To send files, use `wormhole send <PATH>`.
To receive files, use `wormhole receive <CODE>`.

Dependencies

~27–46MB
~771K SLoC