File Sharing

This tool allows the user to easily share a file between two devices on the same network from the comfort of their terminal.

Use

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.

```sh

file-sharing -f path/to/my/file.txt ██████████████ ██ ██ ██████ ██ ██████████████ ██ ██ ████ ██ ██ ██ ██ ██████ ██ ██ ████ ██ ██ ████ ██ ██████ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ██ ██████ ██ ██████ ██████ ██ ██ ██████ ██ ██ ██ ██ ██████████ ██ ██ ██ ██ ██████████████ ██ ██ ██ ██ ██ ██ ██ ██████████████ ████ ██████ ████ ██
██ ██████████ ████ ████ ████ ██ ██████████
██████ ██ ████ ██ ██ ██ ██ ██████ ██ ██ ████ ████ ██ ████
████ ██ ██████ ████ ████ ████ ██ ██
████ ████ ████ ██ ██ ████ ████ ██ ████
████ ████ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ████████ ██████ ████████ ██ ████ ██
██████ ██ ██ ████ ██ ████████ ██ ██
██ ██ ██████ ██ ██ ██████ ██ ██
████ ██ ██ ████████ ████ ██████ ██ ██ ████ ████ ██ ██ ██ ██ ██ ████
██ ████ ██ ██ ██████ ██████ ████ ██ ██
██ ██ ██ ██ ██████ ██ ████████████ ██████ ██ ████████ ██ ██████ ██████████ ██████████████ ██████████ ████ ██ ██████
██ ██ ████████████ ██ ██ ██ ██ ██ ██ ██████ ██ ██████ ██ ██ ██ ████████████████
██ ██████ ██ ████████ ██ ████████████ ██ ████ ██ ██████ ██ ████████ ████████ ██ ██ ████ ██
██ ██ ████ ████ ██ ██████ ████ ██
██████████████ ██ ██ ████████ ████

Connect to: http://192.168.178.21:8080/download ```

Features

Building & Installing

You will need to install Cargo to build this project.

While inside the repository execute the following command:

```sh

cargo build --release cp target/release/file-sharing . ```

or if you want to install it to your system:

```sh

cargo install --path . ```

Do not forget to add your cargo binary directory to your path variable.

Future Features