https://github.com/willhackett/ghost-gs
Ghost Google Storage
https://github.com/willhackett/ghost-gs
Last synced: about 1 month ago
JSON representation
Ghost Google Storage
- Host: GitHub
- URL: https://github.com/willhackett/ghost-gs
- Owner: willhackett
- License: mit
- Created: 2016-09-02T05:22:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:16:03.000Z (over 2 years ago)
- Last Synced: 2025-09-04T06:25:27.585Z (11 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ghost-gs
Ghost Google Storage
`ghost-gs` is a Google Storage extension for Ghost Blogging platform.
##Configuration
- Create a bucket, and generate IAM credential creation from Google Cloud Console.
- Add the credentials file (`your_credential.json`) to your Ghost project.
- Ensure you add the storage provider to your `config.js`
##Storage config
```
// Add this to your production: {} or development: {} configs (or both)
"storage": {
"active": "ghost-gs",
"ghost-gs": {
projectId: '',
keyFilename: path.join(__dirname, './key.json'),
bucket: 'bucket name',
hostname: 'https://yourcdn.yourdomain.com/' // OPTIONAL: This is only required if you use a different download URL to the upload URL
}
},
```
## Changes
1.0.0 - Initial release.
1.0.1 - Switched out `google-cloud` dependency for much smaller `@google-cloud/storage` specific.