super simple uploader to s3 compatible services
$ pipx install git+https://github.com/pkage/beamup
then, in ~/.config/beamup/beam_config.toml
, place the following:
[profile.default]
region = "nyc3"
endpoint = "https://nyc3.digitaloceanspaces.com"
access_key = "your_access_key"
secret_key = "your_secret_key"
bucket = "your_bucket"
prefix = "uploads"
access_url = "https://cdn.example.com/"
To upload a file:
$ beamup testfile.bin
To set a specified prefix:
$ beamup testfile.bin -k data
For a dry run:
$ beamup testfile.bin -d
To set a private ACL:
$ beamup testfile.bin -p
Full options:
Usage: beamup [OPTIONS] FILENAME
Options:
-k, --key TEXT Key to upload to
-p, --private Upload with a private ACL
-d, --dry-run Dry run only
--help Show this message and exit.