GithubHelp home page GithubHelp logo

drivedrop's Introduction

DriveDrop

Create an embeddable form that can be used to allow anyone to upload files to your Google Drive

You can create a copy of DriveDrop by clicking below

Instructions

  1. Clone the code
  2. Select 'Publish โ†’ Deploy as web app'
  3. Set 'Execute the app as: Me'
  4. Set 'Who has access to the app: Anyone, even anonymous'
  5. Click 'Update'

From here you will get a prompt that says

Authorization required

DriveDrop by mholgatem (Master) needs your permission to access your data on Google.
  1. Click 'Review Permissions'
  2. Select the account that you want files to upload to
  3. You will get a scary looking warning because you have not submitted this app to be verified by Google
  4. Click advanced

  1. Click 'Go to DriveDrop by mholgatem (Master) (unsafe)'
  2. This will show you the consent screen, review the permissions, then click 'Allow'

Congratulations! Your form is now live! Anyone with the link can now upload files to your Google drive!

If you want to embed your new form, you need to make a few changes to the code:

  1. Open server.gs
  2. Find the Config section for the picker
  PICKER :
  {
    embedded : false, //set to true if you want to embed in an Iframe
    URL      : "https://script.google.com", // default URL
    embedURL : "http://your.website.com" // URL to use if embedded
  }
  1. set embedded to 'true'
  2. set embedURL to the URL of your site

drivedrop's People

Contributors

mholgatem avatar

Watchers

 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.