Crates.io | roof |
lib.rs | roof |
version | 0.6.0 |
source | src |
created_at | 2020-04-23 21:36:42.883571 |
updated_at | 2020-05-03 20:38:25.377625 |
description | A minimalist, fast and reliable utility to share files. |
homepage | https://gitlab.com/zenoxygen/roof |
repository | https://gitlab.com/zenoxygen/roof |
max_upload_size | |
id | 233411 |
size | 55,009 |
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.6.0
zenoxygen <zenoxygen@protonmail.com>
A minimalist, fast and reliable utility to share files.
USAGE:
roof [FLAGS] [OPTIONS] <file>
FLAGS:
-h, --help Prints help information
-s, --serve When specified, roof will serve itself
-V, --version Prints version information
OPTIONS:
-c, --count <count> How many times the file/directory will be served [default: 1]
-i, --ip_addr <ip_addr> The address to serve the file/directory from [default: 127.0.0.1]
-p, --port <port> The port to serve the file/directory from [default: 8080]
ARGS:
<file> The file/directory to serve or the URL to download from
$> ./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.