Crates.io | file-sharing |
lib.rs | file-sharing |
version | 0.1.1 |
source | src |
created_at | 2023-03-14 20:48:20.609525 |
updated_at | 2023-03-14 20:54:56.975627 |
description | An easy CLI file sharing software for local networks. |
homepage | |
repository | https://codeberg.org/Nydragon/file-sharing |
max_upload_size | |
id | 810139 |
size | 46,376 |
This tool allows the user to easily share a file between two devices on the same network from the comfort of their terminal.
Launch the script on the device that has the file, then scan the generated QR code or enter the URL in the browser on the destination device.
By doing so the file will be downloaded to the target device.
> file-sharing -f path/to/my/file.txt
██████████████ ██ ██ ██████ ██ ██████████████
██ ██ ████ ██ ██ ██
██ ██████ ██ ██ ████ ██ ██ ████ ██ ██████ ██
██ ██████ ██ ██ ████████ ██ ██████ ██
██ ██████ ██ ██████ ██████ ██ ██ ██████ ██
██ ██ ██ ██████████ ██ ██ ██ ██
██████████████ ██ ██ ██ ██ ██ ██ ██ ██████████████
████ ██████ ████ ██
██ ██████████ ████ ████ ████ ██ ██████████
██████ ██ ████ ██ ██ ██ ██
██████ ██ ██ ████ ████ ██ ████
████ ██ ██████ ████ ████ ████ ██ ██
████ ████ ████ ██ ██ ████ ████ ██ ████
████ ████ ██ ██ ████ ██ ██ ██ ██ ██ ██
██ ████████ ██████ ████████ ██ ████ ██
██████ ██ ██ ████ ██ ████████ ██ ██
██ ██ ██████ ██ ██ ██████ ██ ██
████ ██ ██ ████████ ████ ██████ ██
██ ████ ████ ██ ██ ██ ██ ██ ████
██ ████ ██ ██ ██████ ██████ ████ ██ ██
██ ██ ██ ██ ██████ ██ ████████████ ██████
██ ████████ ██ ██████ ██████████
██████████████ ██████████ ████ ██ ██████
██ ██ ████████████ ██ ██ ██ ██ ██
██ ██████ ██ ██████ ██ ██ ██ ████████████████
██ ██████ ██ ████████ ██ ████████████ ██ ████
██ ██████ ██ ████████ ████████ ██ ██ ████ ██
██ ██ ████ ████ ██ ██████ ████ ██
██████████████ ██ ██ ████████ ████
Connect to: http://192.168.178.21:8080/download
You will need to install Cargo to build this project.
While inside the repository execute the following command:
> cargo build --release
> cp target/release/file-sharing .
or if you want to install it to your system:
> cargo install --path .
Do not forget to add your cargo binary directory to your path variable.