#s3 #share #upload #uri #aws #plop #presigned

app plop-cli

Easily upload and share files via S3

1 unstable release

0.1.0 Aug 9, 2022

#58 in #share

Custom license

14KB
77 lines

plop

crates.io

plop is a command-line tool to upload and share files via AWS S3 presigned URIs.

Install plop

With crates.io:

cargo install plop-cli

From source:

cargo install --path /path/to/plop/repo

Or, download and run the binary from the latest release.

Use plop

Upload and share files via S3 presigned URIs

USAGE:
    plop [FLAGS] [OPTIONS] <file> <bucket>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    Verbose mode

OPTIONS:
    -e, --expire <expire>    Lifetime, in seconds, of presigned URI [default: 1800]
    -p, --prefix <prefix>    Prefix for uploaded objects [default: plop/]
    -r, --region <region>    AWS Region to use [env: AWS_REGION=]

ARGS:
    <file>      Local file to upload
    <bucket>    Name of the bucket

Dependencies

~30–41MB
~642K SLoC