file-sharing

Crates.iofile-sharing
lib.rsfile-sharing
version0.1.1
sourcesrc
created_at2023-03-14 20:48:20.609525
updated_at2023-03-14 20:54:56.975627
descriptionAn easy CLI file sharing software for local networks.
homepage
repositoryhttps://codeberg.org/Nydragon/file-sharing
max_upload_size
id810139
size46,376
(Nydragon)

documentation

README

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.

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

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

Features

  • Share large files, tested up to 10GB
  • Use your local network for file sharing, no internet access required

Building & Installing

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.

Future Features

  • use the https protocol
  • sharing large file
  • sharing multiple files
  • close after one download
Commit count: 0

cargo fmt