/tuna

Primary LanguageJavaScript

save-to-drive

Save To Drive is an Script written on Nodejs to upload files of small,medium and Large sizes from the web. You have to provide link and the with the help of request module its just pass the stream to the drive api due to which less memory is consumed and transfer is Done fast

Working demo

Save any files from internet to google drive without downloading it to your computer and reuploading it to drive. You can download any large ,small and big size files from web and within few minutes it will be on your drive. Email notification is also available with progress report of upload progress. You can just enter the url and close the tab file will be uploaded. Just enter the file's web address (or URL), pick a cloud service and, within seconds, the file will become available in your online account. The download is from cloud to cloud and therefore much faster. Save is also useful for mobile users as you can remotely download files, including file types that aren't supported by your mobile phone or tablet, to your mobile devices via Google Drive. Email me feedbacks or bug at Samundrak@yahoo.com

#Installation First Enable API for google Drive Enable Google API

After that get your creditals from google also enter the redirect URI's and javascript origin's on your project #Authorized JavaScript origins For use with requests from a browser. This is the origin URI of the client application. It can't contain a wildcard (http://*.example.com) or a path (http://example.com/subdir). If you're using a nonstandard port, you must include it in the origin URI. enter http://localhost:3000 for testing on local server Authorized redirect URIs For use with requests from a web server. This is the path in your application that users are redirected to after they have authenticated with Google. The path will be appended with the authorization code for access. Must have a protocol. Cannot contain URL fragments or relative paths. Cannot be a public IP address. enter http://localhost:3000/token for redirect uri

After you have set up uri's and got creditals no enter the details on client_secret.json file located on root of app
and the do some command work.

for npm dependencies do
```npm install```
for bower depencied do
```bower install```

now do ```npm start``` of error occured and if you have nodemon then do ```nodemon app.js``` or ```node js```
now from browser goto http://localhost:3000 after that page must be opened and then authenticate app with your google drive and start uploading files...