Skip to content

Latest commit

 

History

History
86 lines (56 loc) · 1.99 KB

README.md

File metadata and controls

86 lines (56 loc) · 1.99 KB

File Share

Simple utility to share a folder over HTTP

Features

  • Viewing files and folders in the web browser
  • Downloading individual files
  • Downloading folders as on-the-fly created archives (zip, tar, tar.gz, tar.zst)
  • Creating new folders
  • Uploading files
  • Material Design Icons
  • Blazingly fast thanks to Rust and the Leptos framework

Preview

Screenshot

Usage

Fast HTTP file-sharing server with Leptos GUI

Usage: file-share [OPTIONS] [TARGET_DIR]

Arguments:
  [TARGET_DIR]
          Target directory to share

          [default: .]

Options:
  -p, --port <PORT>
          Port to listen on

          [default: 3000]

  -q, --qr
          Show QR codes that link to the site

  -i, --interfaces <INTERFACES>...
          IP address(es) on which file-share will be available

          Accepts comma separated list of both IPv4 and IPv6 addresses

          [default: 0.0.0.0,::]

  -P, --picker
          Use a file picker to choose a target directory

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Installation

Download the binary from GitHub Releases and put it in $PATH.

Compilation

You'll need cargo-leptos. You can get it either by compiling it from the source or downloading a binary using cargo-binstall.

cargo install cargo-leptos
# or
cargo binstall cargo-leptos

Then run cargo leptos build --release and the binary will be under target/release/file-share.

License

The source code is licensed under the MIT license.

Credits

The files and folders icons are Material Design Icons licensed under Apache License 2.0 from https://pictogrammers.com/.

The app icon is from File sharing icons created by smashingstocks - Flaticon