Take a screenshot and upload it to an S3 bucket. Currently only supported on Linux-based systems.
$ git clone https://github.com/Mrtenz/s3shot
$ cd s3shot
$ make
$ sudo make install
maim
to capture the screenshotxclip
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
)
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.
-
all
(Alias:a
)Capture the whole screen.
-
window
(Alias:w
)Capture the current active window.
-
selection
(Alias:s
)Capture a selection.
-
--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