All Projects → robincsamuel → ghost-google-drive

robincsamuel / ghost-google-drive

Licence: MIT License
Google drive storage for ghost

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ghost-google-drive

docker-ghost
Docker File for Golden Ghost image
Stars: ✭ 16 (-64.44%)
Mutual labels:  ghost
pale-ghost
A blank, dev ready, Ghost theme.
Stars: ✭ 13 (-71.11%)
Mutual labels:  ghost
gatsby-ghost-novela-starter
A Gatsby starter for creating blogs from headless Ghost CMS.
Stars: ✭ 31 (-31.11%)
Mutual labels:  ghost
Tribeca
A free theme for Ghost
Stars: ✭ 15 (-66.67%)
Mutual labels:  ghost
ghost-on-heroku
One-button Heroku deploy for the Ghost 3.2.0 blogging platform.
Stars: ✭ 232 (+415.56%)
Mutual labels:  ghost
Torrents-to-Google-Drive
This is a Google Colab notebook with QBittorrent and Rclone, which can download torrents to Google Drive
Stars: ✭ 56 (+24.44%)
Mutual labels:  google-drive
rclone-drive
☁️Simple web cloud storage based on rclone, transform cloud storage (s3, google drive, one drive, dropbox) into own custom web-based storage
Stars: ✭ 30 (-33.33%)
Mutual labels:  google-drive
MIRROR-HUNTER
Who are we? We are the Hunters of all Torrent in this world.🗡️.Fork from SlamDevs
Stars: ✭ 86 (+91.11%)
Mutual labels:  google-drive
Dope
A unique tag-based theme for Ghost
Stars: ✭ 44 (-2.22%)
Mutual labels:  ghost
austere
Ghost Theme 🚧 Unmaintained
Stars: ✭ 32 (-28.89%)
Mutual labels:  ghost
nomore
A minimal theme for Ghost Blog.
Stars: ✭ 18 (-60%)
Mutual labels:  ghost
netbackup
A frontend for various backup programs (rsync, rdiff-backup, rclone) that simplifies local and remote backups.
Stars: ✭ 15 (-66.67%)
Mutual labels:  google-drive
docker-compose-ghost-buster
Dockerized Ghost(Blog Platform) + buster(static site generator)
Stars: ✭ 17 (-62.22%)
Mutual labels:  ghost
libDrive
libDrive is a Google Drive media library manager and indexer, similar to Plex, that organizes Google Drive media to offer an intuitive and user-friendly experience.
Stars: ✭ 14 (-68.89%)
Mutual labels:  google-drive
abap-alv-google-upload-sheet
Sample demonstrating export of ALV Grid data from SAP GUI directly to Google Drive and display exported data snapshots automatically in Google Sheets.
Stars: ✭ 24 (-46.67%)
Mutual labels:  google-drive
drive-public-files
Audit your public Google Drive files.
Stars: ✭ 29 (-35.56%)
Mutual labels:  google-drive
backuptogoogle
Backup to Google Drive use gdrive
Stars: ✭ 89 (+97.78%)
Mutual labels:  google-drive
ghost-admin-apis
ghost的api的一些整理,方便那些使用Ghost做为博客系统的人
Stars: ✭ 17 (-62.22%)
Mutual labels:  ghost
KotlinProject
This repo help for all developer who want to learn android or want to work on advance feature of android. This repo created with help of @awesomeui, @materialdesign and android latest feature. this repo contain major feature like : @awesome UI, @Material design, @firebase (auth, realtime database, firestore, push notification), @database (Room d…
Stars: ✭ 40 (-11.11%)
Mutual labels:  google-drive
slam-mirrorbot
Aria/qBittorrent Telegram mirror/leech bot.
Stars: ✭ 1,072 (+2282.22%)
Mutual labels:  google-drive

Ghost Google Drive

Google drive storage for ghost allows you to store the contents on google drive. I believe its helpful if you are gonna host your ghost app on heroku.

Will work with version higher than 0.6.0 of Ghost!

What's is new in 2.x

  • Rewritten to add support to Ghost 2.x.

Installation

Via NPM

  • cd into Ghost's current directory and install ghost-google-drive storage module

    cd current
    npm install ghost-google-drive
    
  • cd back to the root directory and make the storage folder if it doesn't exist yet

    mkdir content/adapters/storage
    
  • Copy the module into the right location

    cp -vR current/node_modules/ghost-google-drive content/adapters/storage/ghost-google-drive
    
  • Install package dependencies

    cd content/adapters/storage/ghost-google-drive
    npm install
    

Via Git

In order to replace the storage module, the basic requirements are:

  • Clone this repo to /content/adapters/storage. Please create the directories if not there.

    cd [path/to/ghost]/content/adapters/storage
    git clone https://github.com/robincsamuel/ghost-google-drive.git
    
  • Install dependencies

    cd ghost-google-drive
    npm install
    

Configuration

Add the following to your environment configuration, config.development.json if development.

"storage": {
  "active": "ghost-google-drive",
  "ghost-google-drive": {
    "key": {
            "private_key_id": "YOUR PRIVATE KEY ID",
            "private_key": "YOUR PRIVATE KEY",
            "client_email": "YOUR CLIENT EMAIL",
            "client_id": "YOUR CLIENT ID"
     }
  }
},

You just have to replace the key object with your json array generated by google console.

If you are not sure about how to get google ccredentials, please read below.

Create OAuth credentials

  • Login to google console

  • Create a new project from the top right dropdown
    new project

  • Click on Enable APIS and Services enable_apis

  • Search Google Drive enable_apis

  • Enable Google Drive API enable api

  • Click on the Create Credentials button.
    enable api

  • Add information for credentialing. enable api

  • You can skip the OAuth consent screen setup.
    enable api

  • From the credentials section, create a new Service Account Key enable api

  • Enter the account info, choose JSON for key type and download the file. enable api

You can copy the contents of json file to the config file (under storege.ghost-google-drive.ghost) as shown in the Configuration step.

License

Read LICENSE

Feel free to create an issue, in case of troubles!

Thanks to Minwe. I was following your package, even this readme!

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