GithubHelp home page GithubHelp logo

runt18 / zipextractor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlearchive/drive-zipextractor

0.0 3.0 0.0 1.4 MB

Extract (decompress) ZIP files into Google Drive using the Google Drive API

License: Apache License 2.0

CSS 7.84% HTML 2.05% JavaScript 90.11%

zipextractor's Introduction

ZIP Extractor

Extract (decompress) ZIP files into Google Drive using the Google Drive API.

This app is deployed at: http://zip-extractor.appspot.com/.

This is a pure-Javascript app that makes use of the public Google Drive API to read ZIP files from Google Drive and extract their contents into Google Drive. Hierarchical ZIP files (ZIP files with subfolders) are supported.

The app is based on the drive.file OAuth2 scope, where permission is granted only for individual files that the user authorizes.

ZIP Extractor makes use of CORS (Cross-Origin Resource Sharing) methods for uploading and downloading files from Drive. The app also demonstrates the use of the File Picker and Sharing widgets as part of the Drive API. ZIP extractor also demonstrates how to integrate with the Google Drive web and Android apps.

This app uses the zip.js Javascript-based ZIP library, available on GitHub (http://gildas-lormeau.github.io/zip.js/).

To run this code yourself, it will need to be hosted somewhere. Options for hosting include Google App Engine, where a simple Python configuration provides an easy-to-use way to expose only static content (in this case, serving the JavaScript). Other alternatives include using a Google Drive public folder to host the files, or your own web server.

In all cases, a configuration will need to be created in the Google Developers Console, as outlined here: https://developers.google.com/drive/web/enable-sdk

Note: The resulting App ID, Client ID, and API Key generated as part of that process will need to be put into the your app's configuration (in actual code). For ZIP Extractor, that configuration information in found in 'config.js' under the '/js/zipextractor/' directory.

==========================================================================

For any questions about ZIP Extractor, please email [email protected].

For technical questions about the Google Drive API, you can post to the Google Drive Developers G+ community: https://plus.sandbox.google.com/communities/107264319205603895037.

You can also post a question on the Stack Overflow forums: http://stackoverflow.com/questions/tagged/google-drive-sdk

Mike Procopio, January 2014 [email protected]

zipextractor's People

Contributors

mikeprocopio avatar

Watchers

 avatar  avatar  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.