GithubHelp home page GithubHelp logo

lets-chat-s3's Introduction

Let's Chat - S3 Plugin

Add S3 file support to Let's Chat.

Install

npm install lets-chat-s3

Configure

YAML

Add (and customize) these settings to your settings.yml file:

files:
  enable: true
  provider: s3

  s3:
    accessKeyId: AKIAJ...
    secretAccessKey: N+BC2br8YbA...
    bucket: lets-chat
    region: us-west-2
    endpoint:
    style:
Environment Variables

Alternatively, configure using environment variables:

YAML Path Env Variable
files.enable LCB_FILES_ENABLE
files.provider LCB_FILES_PROVIDER
files.s3.accessKeyId LCB_FILES_S3_ACCESS_KEY_ID
files.s3.secretAccessKey LCB_FILES_S3_SECRET_ACCESS_KEY
files.s3.bucket LCB_FILES_S3_BUCKET
files.s3.region LCB_FILES_S3_REGION
files.s3.endpoint LCB_FILES_S3_ENDPOINT
files.s3.style LCB_FILES_S3_STYLE

lets-chat-s3's People

Contributors

sibartlett avatar tg90nor avatar

Stargazers

 avatar  avatar  avatar Kaushik Varanasi avatar  avatar Houssam Haidar avatar Ramanan Sivaranjan avatar

Watchers

Ramanan Sivaranjan avatar Emily Bain avatar James Cloos avatar  avatar Houssam Haidar avatar Ehsan Foroughi avatar  avatar Michael Bennett avatar Bryan Garces avatar  avatar  avatar

lets-chat-s3's Issues

S3 file upload for private bucket

I want to use S3 for file storage but I don't want to make my bucket publicly available. Can you modify getURL to use AWS keys to generate temporary URL? Or do you accept pull request if I fork and implement it?

Static Hosting with S3

Hey there,

When using this plugin, should the bucket be enabled to do static hosting? If so, the URL my bucket has doesn't correlate to the plugin. The URL I get contains 'website':

example.s3-website-us-east-1.amazonaws.com

instead of

example.s3-us-east-1.amazonaws.com

Am I missing something or should the plugin include 'website' when building the URL? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.