pkage / beamup

🛸 send files to s3 for sharing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

beamup

super simple uploader to s3 compatible services

setup

$ 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/"

usage

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.

About

🛸 send files to s3 for sharing


Languages

Language:Python 100.0%