A minimalist, fast and reliable utility to share files.
Roof has two main modes of functionality. These are the serve mode and the download mode.
The serve mode can be used to serve a file. If a directory is specified, a compressed tar of that directory is served. It allows to customize the IP/port, and how many times this file can be shared. Furthermore, it has an option to offer itself, so the pair can download it and send you something back.
The download mode can be used to obtain a file from a remote pair.
``` roof 0.4.0 zenoxygen zenoxygen@protonmail.com A minimalist, fast and reliable utility to share files.
USAGE:
roof [FLAGS] [OPTIONS]
FLAGS: -h, --help Prints help information -s, --serve When specified, roof will serve itself -V, --version Prints version information
OPTIONS:
-c, --count
ARGS:
``` $> ./roof myfile.txt Serving on http://127.0.0.1:8080/myfile.txt
$> ./roof http://127.0.0.1:8080/myfile.txt Downloading myfile.txt ⠁ 100KB/100KB [#########################################] 100% ```
``` $> ./roof mydir Serving on http://127.0.0.1:8080/mydir.tar.gz
$> ./roof http://127.0.0.1:8080/mydir.tar.gz Downloading mydir.tar.gz ⠁ 100KB/100KB [#########################################] 100% ```
$> ./roof -s
Serving on http://127.0.0.1:8080/roof
Learn more about Roof here: https://docs.rs/roof.
Roof is distributed under the terms of the MIT License.