shuk

Crates.ioshuk
lib.rsshuk
version0.4.1
sourcesrc
created_at2024-06-02 05:25:23.011283
updated_at2024-07-14 19:30:55.304568
descriptionA command line tool that uploads files to Amazon S3 buckets, and generates presigned URLs for easy sharing.
homepagehttps://rup12.net
repositoryhttps://github.com/darko-mesaros/shuk
max_upload_size
id1259013
size746,861
Darko Mesaros (darko-mesaros)

documentation

README

Shuk 💾 ➡️ 🪣

screenshot of shuk

⚠️BETA SOFTWARE⚠️

Shuk is used to upload files of any size to Amazon S3 and have them shared with others via a presigned URL.

Installation 💾

To install this tool, make sure you have rust and cargo installed and run:

cargo install shuk

Usage 🚀

Usage: shuk [OPTIONS] [FILENAME]

Arguments:
  [FILENAME]

Options:
      --init
  -h, --help     Print help
  -V, --version  Print version

Just pass the filename as the argument to shuk:

shuk filename.bla

Configuration 🔧

All the configuration is located in the $HOME/.config/shuk.shuk.toml file.

# The bucket name where the files will be uploaded
bucket_name = "alan-ford-bucket"
# The prefix (folder) for the uploads. Leave blank "" for the root of the bucket
bucket_prefix = "shuk"
# Length of time in seconds on how long will the presigned URL be valid for
presigned_time = 86400
# The AWS profile shuk will use
aws_profile = "default"
# Should the presigned URL be stored directly to the clipboard or not
use_clipboard = fals

To automatically configure this file just run shuk --init

Build Notes

  • For the use_clipboard feature to compile on X11, you need the xorg-dev library.
Commit count: 18

cargo fmt