we-plugin-file-s3

We.js AWS S3 file storage plugin

Usage no npm install needed!

<script type="module">
  import wePluginFileS3 from 'https://cdn.skypack.dev/we-plugin-file-s3';
</script>

README

We.js S3 file storage plugin

Add AWS S3 storage option for we.js file plugin

Requirements:

Installation:

we i we-plugin-file-s3

Api

See wejs/we-plugin-file

Configuration:

config/local.js file:

  // ....
  apiKeys: {
    // configure AWS:
    AWS: {
      region: 'youregion',
      accessKeyId: 'yourclientkey',
      secretAccessKey: 'yoursecretkey',
    },
    //  Configure S3:
    s3: {
      bucket_name: 'bconext',
      // // acl: ''
    }
  },
  // ....

Roadmap

  • Add support for resize images in amazon lambda

Links

Copyright and license

Copyright Alberto Souza contato@albertosouza.net and contributors , under the MIT license.