Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
/ s3shot Public archive

Take a screenshot and upload it to an S3 bucket

License

Notifications You must be signed in to change notification settings

Mrtenz/s3shot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s3shot

Take a screenshot and upload it to an S3 bucket. Currently only supported on Linux-based systems.

Installation

$ git clone https://github.com/Mrtenz/s3shot
$ cd s3shot
$ make
$ sudo make install

Dependencies

  • maim to capture the screenshot
  • xclip to copy the URL to the clipboard
  • (optional) notify-send to get a notification when an image has been uploaded (--notify)
  • (optional) xdotool to capture the current active window (window command)
  • (optional) xdg-open to open the browser when an image has been uploaded (--open)
  • (optional) pngcrush to compress images before uploading (--compress)

Usage

AWS credentials are automatically taken from ~/.aws/credentials. You can use the official AWS CLI and run the command aws configure to set it up.

Commands

  • all (Alias: a)

    Capture the whole screen.

  • window (Alias: w)

    Capture the current active window.

  • selection (Alias: s)

    Capture a selection.

Options

  • --region REGION (Alias: -r REGION)

    Use the region REGION.

  • --bucket BUCKET (Alias: -b BUCKET)

    Upload the files to BUCKET.

  • --compress (Alias: -c)

    Compress the image before uploading

  • --notify (Alias: -n)

    Get a notification when uploading is finished

  • --open (Alias: -o)

    Open the browser when uploading is finished

About

Take a screenshot and upload it to an S3 bucket

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published