GithubHelp home page GithubHelp logo

edward01 / s3commander Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nimbis/s3commander

0.0 2.0 0.0 81 KB

Web-based S3 file browser.

License: BSD 3-Clause "New" or "Revised" License

HTML 9.69% CSS 2.24% JavaScript 88.08%

s3commander's Introduction

s3commander

Web-based S3 file browser.

Requirements

  • Bootstrap 3.0.0+
  • jQuery 1.11.2+

Quick Setup

Include the necessary scripts and stylesheets.

<link rel="stylesheet" href="s3commander.css" />
<script src="sha1.js"></script>
<script src="s3commander.js"></script>

Create a <div /> element to display the browser.

<div id="s3commander"></div>

Initialize the browser.

$(document).ready(function(){
    $("#s3commander").s3commander({
        sAccessKey: "...",
        sSecretKey: "...",
        sBucket: "bucketname",
        sPrefix: "/super/secure/stuff",
    });
})

Take a look at the included index.html file for a more complete example.

Quirks

  • Folders are just S3 objects where the key ends in a trailing slash.
  • Deleting a folder does not delete its contents. It will still appear in the browser as a folder until its contents are deleted.
  • When not using Dropzone for drag-and-drop uploads, the directory contents will not automatically refresh after a file is uploaded. The user needs to click the refresh button manually.

Contributing

See the Contributing Guidelines.

Version History:

v0.3.10 - July 1, 2015

* Adding cursor style to s3links.  Updated bootstrap from CDN in example index.html.

v0.3.9 - June 30, 2015

* Added button for file uploads.  Made icons clickable.  Made files have 'click' pointer.

v0.3.8 - June 18, 2015

* Fixed issue with losing versions.  Changed signing method to (properly) allow for spaces (and likely other escape-needing characters).

v0.3.7 - June 14, 2015

* Implemented iMaxFilesize.  Set default to 1GB (10GB in example HTML).

s3commander's People

Contributors

shaunbrady avatar ericamador avatar ctrlc-root avatar electroniceagle avatar djkiourtsis avatar

Watchers

James Cloos avatar Edward Jose avatar

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.