Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: support saving to s3 (or s3 compatible) #1487

Closed
fifofefe opened this issue Jun 25, 2024 · 2 comments
Closed

Feature Request: support saving to s3 (or s3 compatible) #1487

fifofefe opened this issue Jun 25, 2024 · 2 comments

Comments

@fifofefe
Copy link

Is your feature request related to a problem? Please describe.
No, ideally it would just be another entry in the "Destination" menu.

Describe the solution you'd like
I would like to upload the html file to a S3 bucket or other object storages. Ideally I would give to the extension a URL, a bucket name, the necessary auth tokens and the extension would upload the file to the bucket.

Additional context (optional)
I do not have direct experience in this type of functionality, so I am not sure whether this is a plausible feature to implement...

@gildas-lormeau
Copy link
Owner

I agree this would be useful. From a technical point of view, it's not as simple as the other destinations, but it can be done. This is because SingleFile would have to send a "presigned request".

For the record, this is documented here: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-post-example.html. There are also a few (pure) JavaScript implementations, for example:

@gildas-lormeau
Copy link
Owner

The new destination "upload to S3" is implemented. It will be available in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants