mugglmenzel / s3-bucket-viewer-angular

S3 Bucket Viewer for AngularJS 1.x

Home Page:http://s3-bucket-viewer-demo.s3-website.eu-central-1.amazonaws.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

S3 Bucket Viewer for AngularJS 1.x

The present project provides a AngularJS (1.x) component that can be reused to display a browser for S3 bucket contents.

Highlights

  • Lists contents of any (CORS-enabled) S3 bucket.
  • Supports browsing of '/' delimited S3 key names as folders.
  • Uses the AWS S3 browser javascript SDK.
  • Available as reusable AngularJS component.

Visit the Demo

Usage

The reusable code of the AngularJS component can be found in the folder ./app/component/. After integrating the code into your AngularJS project (mind referencing the js files in your HTML code), you can load the component with:

<bucket-viewer></bucket-viewer>

To change the bucket loaded by the component, you can change the bucketName attribute in the file ./app/component/bucket-viewer.component.coffee. Please enable CORS access to your bucket for the component to load its S3 objects.

Local Demo

A local demo can be started by typing npm start in the folder using a Terminal/Command Prompt window. Visit http://localhost:8000 to view the demo in your browser.

About

S3 Bucket Viewer for AngularJS 1.x

http://s3-bucket-viewer-demo.s3-website.eu-central-1.amazonaws.com/

License:Apache License 2.0


Languages

Language:CoffeeScript 51.0%Language:HTML 38.2%Language:JavaScript 10.6%Language:CSS 0.3%