shutter-project / shutter

Screenshot tool for Linux
https://shutter-project.org/
GNU General Public License v3.0
503 stars 34 forks source link

Upload to S3 & S3-like Buckets #554

Open Bad3r opened 1 year ago

Bad3r commented 1 year ago

Description of requested feature:

First, I can't believe it took me this long to find Shutter. It's by far the best screenshot tool on Linux, and It's not as popular as it should be. Thank you for your hard work and efforts!

It would be awesome if there is an option to upload the resulting screenshot to an S3 or an S3-like buckets. By S3-like, I am taking about Cloudflare R2 storage. https://developers.cloudflare.com/r2/data-access/s3-api/api/

Reasons for adding feature:

This will allow users to upload images to S3, R2, private servers.

Extra information, such as Shutter version, operating system and ideas for how to implement:

I recommend referencing Cloudflare docs & AWS docs https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html https://developers.cloudflare.com/r2/

Another possible solution is utilizing rclone for file upload, as it supports S3 and S3-like buckets and more. https://developers.cloudflare.com/r2/examples/rclone/

Photon89 commented 1 year ago

That's a nice idea, but I fear that currently none of the team has the necessary resources to deal with it... If anybody would like to give it a shot, there is a template file for upload plugins and also the existing plugins which can be taken as an example: https://github.com/shutter-project/shutter/tree/master/share/shutter/resources/system/upload_plugins