All Projects → tralves → Vue Gdrive

tralves / Vue Gdrive

Licence: apache-2.0
VueJS text editor with Google Drive integration

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vue Gdrive

Uds
Unlimited Drive Storage by splitting binary files into base64
Stars: ✭ 4,204 (+12264.71%)
Mutual labels:  google-drive
Packtpub Crawler
Download your daily free Packt Publishing eBook https://www.packtpub.com/packt/offers/free-learning
Stars: ✭ 717 (+2008.82%)
Mutual labels:  google-drive
Forge View.googledrive.models
View models from Google Drive: Sample Viewer application that displays files of supported formats from Google Drive, and generates them in the Viewer
Stars: ✭ 18 (-47.06%)
Mutual labels:  google-drive
Filestash
🦄 A modern web client for SFTP, S3, FTP, WebDAV, Git, Minio, LDAP, CalDAV, CardDAV, Mysql, Backblaze, ...
Stars: ✭ 5,231 (+15285.29%)
Mutual labels:  google-drive
Homescripts
My Scripts for Plex / Emby with Google Drive and rclone
Stars: ✭ 652 (+1817.65%)
Mutual labels:  google-drive
Googlesheets
Google Spreadsheets R API
Stars: ✭ 771 (+2167.65%)
Mutual labels:  google-drive
Drive Zipextractor
Extract (decompress) ZIP files into Google Drive using the Google Drive API
Stars: ✭ 425 (+1150%)
Mutual labels:  google-drive
Multipart Related
MIME multipart/related as defined in RFC 2387
Stars: ✭ 10 (-70.59%)
Mutual labels:  google-drive
Rclone
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files
Stars: ✭ 30,541 (+89726.47%)
Mutual labels:  google-drive
Ct gdrive
Lustre/HSM Google Drive copytool
Stars: ✭ 16 (-52.94%)
Mutual labels:  google-drive
Raidrive.translation
RaiDrive Translation
Stars: ✭ 518 (+1423.53%)
Mutual labels:  google-drive
Gdrivefs
An innovative FUSE wrapper for Google Drive.
Stars: ✭ 618 (+1717.65%)
Mutual labels:  google-drive
Drive Db
📊 Use Google Drive spreadsheets as a simple database
Stars: ✭ 782 (+2200%)
Mutual labels:  google-drive
Drive Cli
A command line interface for accessing google drive
Stars: ✭ 449 (+1220.59%)
Mutual labels:  google-drive
Drivebackupv2
Uploads Minecraft backups to Google Drive/OneDrive or by (S)FTP
Stars: ✭ 26 (-23.53%)
Mutual labels:  google-drive
Google Drive Ocamlfuse
FUSE filesystem over Google Drive
Stars: ✭ 4,447 (+12979.41%)
Mutual labels:  google-drive
Gdown.pl
Google Drive direct download of big files
Stars: ✭ 735 (+2061.76%)
Mutual labels:  google-drive
Openly Rails
"GitHub" for Google Drive [inactive]
Stars: ✭ 20 (-41.18%)
Mutual labels:  google-drive
Elodie
An EXIF-based photo assistant, organizer, manager and workflow automation tool.
Stars: ✭ 840 (+2370.59%)
Mutual labels:  google-drive
Packt Publishing Free Learning
Scripts that automatically claim and download free daily eBooks from https://www.packtpub.com/packt/offers/free-learning
Stars: ✭ 788 (+2217.65%)
Mutual labels:  google-drive

Disclaimer

This project is deprecated beyond repair. Google no longer supports these Google Drive APIs.

You may read the code, maybe it will help you somehow... that's all I can do for you.

vue-gdrive

VueJS text editor with Google Drive integration

If you want to build a VueJS app with Google Drive integration? Start here!

This project is just a text editor written in VueJS uses google drive API for storage, sharing (soon) and realtime colaboration (not yet). Use it as a boilerplate or reference for your awesome project!

This project was the boilerplate for the Collaborative Markdown Editor. You can try it HERE.

Screenshots

DEMO

Try the app here!

Roadmap

Done:

  • VueJS + Vuex boilerplate;
  • Material Design Lite and vue-mdl;
  • G+ user authentication;
  • Create file in GDrive;
  • (Auto-)save file in GDrive;
  • Load File from GDrive;
  • Share file;
  • Realtime colaboration;

TODO:

  • Save in folder;
  • i18n;

Building from source

Build Setup

# clone
git clone https://github.com/tralves/vue-gdrive.git
cd vue-gdrive

# install dependencies
npm install

Create a Google APIs project and Activate the Drive API

First, you need to activate the Drive API for your app. You can do it by configuring your API project in the Google Developers Console.

  • Go to https://console.developers.google.com/apis/library.
    • Ppen the dropdown in the top bar, next to the GoogleAPIs logo.
    • Select Create project.
    • Choose the project name.
    • Press Create
  • Open the API Manager on the left sidebar.
  • Select Credentials -> Create Credentials -> OAuth Client ID
  • If using a new project, select *Configure consent screen and fill out the form
    • Select an EMAIL ADDRESS and enter a PRODUCT NAME if not already set and click the Save button.
  • Select the application type Web application*
  • List your hostname in the Authorized JavaScript Origins field.
  • Click the Create button. Note the resulting client ID and secret which you'll need later on.

The hostname cannot be localhost. To test from your machine, create an alias in etc/hosts like 127.0.0.1 myvuegdrive.dev. In this case, if you use npm run dev, the hostname of your application will be myvuegdrive.dev:8080.

To enable integration with the Drive UI, including the sharing dialog, perform the following steps.

  • Select Library section in API Manager.
  • Search for 'Drive API' and click on 'Drive API' in the results.
  • Click Enable API.
  • Select the Drive UI Integration tab.
  • Fill out the Application Name and upload at least one Application Icon.
  • Set the Open URL* to http://YOURHOST?file={ids}&user={userId}&action={action}.
  • Check the Creating files* option and set the New URL to http://YOURHOST?user={userId}&action={action}.
  • Fill Default MIME types with text/markdown and text/plain.
  • Fill Default File Extensions with md.
  • Click Save Changes.

To enable integration with the Google+ API to retrieve the user name, email and avatar, perform the following steps.

  • Select Library section in API Manager.
  • Search for 'Google+' and click on 'Google+ API' in the results.
  • Click Enable.

Adjust the above URLs as needed for the correct hostname or path. Localhost is currently not allowed.

Note the resulting application ID on top of the page.

Setup your App information

Copy config/.env.example.js to config/.env.js.

cp config/.env.example.js config/.env.js

Update the CLIENT_ID and APPLICATION_ID constants in config/.env.js file. Configurations cascade from prod to dev to test.

Run and deploy

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

This application was build from the VueJS webpack template. For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].