#file-upload #instance #uploading #folder #cli #miniserve

app miniupload

A simple tool for uploading to a miniserve instance

1 unstable release

0.1.0 Apr 3, 2023

#17 in #uploading

Custom license

14KB
296 lines

miniupload

Simple rust cli tool for uploading to a miniserve instance

Usage

miniupload upload <FILE> will upload the file to configured url and folder

miniupload download <FILENAME> <DEST> will download the file from the remote if it exists to the provided destination.

miniupload -h for more information.

Configuration

The target url and subfolder on the server can be configured by running miniupload config -a <URL> -f <FOLDER>. Alternatively, the target and folder can be set as environment variables, MINIUPLOAD_TARGET and MINIUPLOAD_FOLDER respectively.

NB: The values stored in the environment variables will always be used if set,

See Also

miniserve

Dependencies

~5–17MB
~234K SLoC