Skip to content

mcavage/manta-browser-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manta Browser Uploads

This is a small application that illustrates how to use CORS, Manta signed URLs and Ajax in order to upload files directly to Manta. Doing this allows you to bypass your own servers to save on bandwidth.

Setup

The only dependency this application has is manta:

npm install manta

Then

npm start

Will get you going. Point your browser at http://127.0.0.1:1234.

Details

There are really two parts to this: the server and "webapp". In this particular example, the webapp is a very simple single page, that does rely on JQuery. The code is all commented, but the basic gist is:

Sequence Diagram

License

BSD, I guess, because that's the npm default. Honestly, I don't really care. Do whatever you want with this.

About

AA sample webapp for uploading image files directly from a browser to Manta

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published