A client-side web application for Amazom S3, as a personal file sharing space.
Visit the web app. Permission is required to upload and list files.
The web app verifies who you are by talking to Google through OAuth 2. It gets Amazon S3 credentials from a private Google Spreadsheet. With the credentials, it gets the list of files in the bucket and upload files through the S3 REST API with CORS.
It also produces signed URLs for file downloads. Users could then send these URLs to people.
Note: this project started it's life as a simple file sharing with a PHP backend. If that still useful to you, please find the code at the php-backend
branch.
You most likely don't need to set this thing up. Commerical services such as Dropbox and/or Google Drive is capable of doing what most of this web app did. However, as these services are usually blocked in China, having a personal file sharing space can be handly sometimes if you work with people there.
The Amazon S3 Management Console can certainly do what this front-end do too, but it's UI is design for system administrators. It might be handly for you to set up this web app as the alternative simple UI for S3 file storage.
Copyright 2014 Timothy Guan-tin Chien and other contributors. Released under the MIT license.
- google-oauth2-web-client - Login with Google using OAuth2 for client-side web app. It features automatic login too.
- CryptoJS for signing S3 API requests
<i> cloud in CSS, design by @daneden.