All Projects β†’ DSchau β†’ gatsby-source-s3

DSchau / gatsby-source-s3

Licence: other
A Gatsby source plugin to query against an S3 bucket (including images!)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gatsby-source-s3

Gatsby Plugin S3
Deploy your gatsby site to a S3 bucket.
Stars: ✭ 186 (+878.95%)
Mutual labels:  s3, gatsby, s3-bucket
0x4447 product s3 email
πŸ“« A serverless email server on AWS using S3 and SES
Stars: ✭ 2,905 (+15189.47%)
Mutual labels:  s3, s3-bucket
Sbt S3 Resolver
☁️Amazon S3-based resolver for sbt
Stars: ✭ 112 (+489.47%)
Mutual labels:  s3, s3-bucket
Git S3 Push
Deploy your git repo to an S3 bucket
Stars: ✭ 182 (+857.89%)
Mutual labels:  s3, s3-bucket
Minio Hs
MinIO Client SDK for Haskell
Stars: ✭ 39 (+105.26%)
Mutual labels:  s3, s3-bucket
Google Sheet S3
Google Apps Script that publishes a Google Sheet to Amazon S3 as a JSON file. Auto-updates on edit & maintains data types. Creates an array of objects keyed by column header.
Stars: ✭ 81 (+326.32%)
Mutual labels:  s3, s3-bucket
Cloudexplorer
Cloud Explorer
Stars: ✭ 170 (+794.74%)
Mutual labels:  s3, s3-bucket
terraform-aws-s3-bucket
A Terraform module to create a Simple Storage Service (S3) Bucket on Amazon Web Services (AWS). https://aws.amazon.com/s3/
Stars: ✭ 47 (+147.37%)
Mutual labels:  s3, s3-bucket
smockin
Dynamic API, S3 & Mail mocking for web, mobile & microservice development.
Stars: ✭ 74 (+289.47%)
Mutual labels:  s3, s3-bucket
terraform-aws-s3
Terraform module to create default S3 bucket with logging and encryption type specific features.
Stars: ✭ 22 (+15.79%)
Mutual labels:  s3, s3-bucket
s3recon
Amazon S3 bucket finder and crawler.
Stars: ✭ 111 (+484.21%)
Mutual labels:  s3, s3-bucket
S3 Site Cache Optimizer
Optimize a static website for hosting in S3, by including a fingerprint into all assets' filenames. The optimized website is uploaded into the specified S3 bucket with the right cache headers.
Stars: ✭ 9 (-52.63%)
Mutual labels:  s3, s3-bucket
Goofys
a high-performance, POSIX-ish Amazon S3 file system written in Go
Stars: ✭ 3,932 (+20594.74%)
Mutual labels:  s3, s3-bucket
S3fs
S3 FileSystem (fs.FS) implementation
Stars: ✭ 93 (+389.47%)
Mutual labels:  s3, s3-bucket
simply-static-deploy
WordPress plugin to deploy static sites easily to an AWS S3 bucket.
Stars: ✭ 48 (+152.63%)
Mutual labels:  s3, s3-bucket
Festin
FestIn - S3 Bucket Weakness Discovery
Stars: ✭ 161 (+747.37%)
Mutual labels:  s3, s3-bucket
docker-aws-s3-sync
Docker container to sync a folder to Amazon S3
Stars: ✭ 21 (+10.53%)
Mutual labels:  s3, s3-bucket
radio
Redundant Array of Distributed Independent Objectstores in short RADIO performs synchronous mirroring, erasure coding across multiple object stores
Stars: ✭ 25 (+31.58%)
Mutual labels:  s3, s3-bucket
awesome-storage
A curated list of storage open source tools. Backups, redundancy, sharing, distribution, encryption, etc.
Stars: ✭ 324 (+1605.26%)
Mutual labels:  s3, s3-bucket
s3cr3t
A supercharged S3 reverse proxy
Stars: ✭ 55 (+189.47%)
Mutual labels:  s3, s3-bucket

gatsby-source-s3

Build Status

Source plugin for pulling in S3 data from AWS for further processing via Gatsby/GraphQL

Install

npm install gatsby-source-s3 --save-dev

How to use

In your gatsby-config.js:

plugins: [
  {
    resolve: 'gatsby-source-s3',
    options: {
      aws: {
        accessKeyId: 'youraccesskeyhere',
        secretAccessKey: 'hunter2',
        sessionToken: 'yoursessiontokenhere', // optional session token
      },
      buckets: ['your-s3-bucket-name'],
    },
  },
];

Once added to gatsby-config.js S3 objects can be queried with the queries allS3Object and/or allS3Image if an image node is detected. An example query is below:

query IndexQuery {
  allS3Image {
    edges {
      node {
        Key
        Url
      }
    }
  }
}

Image processing

This plugin also sources any detected images in the S3 bucket(s) for local processing with sharp/Gatsby. Install gatsby-transformer-sharp, gatsby-plugin-sharp to tie into this processing.

query IndexQuery {
  images: allS3Image {
    edges {
      node {
        file: localFile {
          image: childImageSharp {
            sizes(maxWidth: 400, maxHeight: 400) {
              ...GatsbyImageSharpSizes_withWebp_tracedSVG
            }
          }
        }
      }
    }
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].