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

upload/delete content to filebase #128

Open
gkpty opened this issue Jul 16, 2020 · 0 comments
Open

upload/delete content to filebase #128

gkpty opened this issue Jul 16, 2020 · 0 comments
Labels
Feature upload related to the upload command

Comments

@gkpty
Copy link
Contributor

gkpty commented Jul 16, 2020

filebase is an s3 compatible decentralized storage service like tardigrade.io but instead of being based on the storj protocol its based on the sia protocol (and its cheaper).

No examples using the SDK but it should work like the CLI..
https://docs.filebase.com/client-configurations/aws-cli
https://medium.com/filebase/multipart-uploads-on-sia-using-filebase-and-the-aws-cli-6d180b1df77f

In order to use the AWS SDK with filebase will have to set the a custom endpoint when declaring the s3 API using an endpoint paream instead of the API version

var s3 = new AWS.S3({apiVersion: '2006-03-01'});

Kind of like this:

// Create MediaConvert service object using custom endpoint
var mcClient = new AWS.MediaConvert({endpoint: 'https://abcd1234.mediaconvert.us-west-1.amazonaws.com'});
@gkpty gkpty added the upload phase 2 use the upload/delete commands with multiple providers label Jul 16, 2020
@gkpty gkpty added this to the upload phase 2 milestone Jul 17, 2020
@gkpty gkpty added upload related to the upload command Feature and removed upload phase 2 use the upload/delete commands with multiple providers labels Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature upload related to the upload command
Projects
None yet
Development

No branches or pull requests

1 participant