mootoday / ghost-v3-google-cloud-storage Goto Github PK
View Code? Open in Web Editor NEWA Google Cloud Storage adapter for Ghost v3 (www.ghost.org).
A Google Cloud Storage adapter for Ghost v3 (www.ghost.org).
When a post is deleted the images are not removed from google storage.
I am not sure if ghost triggers some kind of event when a post gets removed but for even removing the images manually is good enough. But in order to do that I need to add the post id to the images path because currently one cant tell which posts owns which pictures by looking at the images path.
Hi Mike,
After I install this package with the docker image ghost:alpine, I get the error Cannot find module 'ghost-ignition'
when boosting ghost.
The strange thing is as soon as this package is installed, the ghost-ignition in node_modules/ becomes empty.
Hey Mike! Hope you find this since the repo is blank :)
First off, thanks for making this adapter! It saved me when trying to set up Ghost on Google App Engine. Everything works great, except that trying to load the favicon.png
file on article pages throws a 500. It looks like the location URL has the original assetDomain
string appended to the beginning, so that it's trying to get the icon from a URL like this:
ASSET_DOMAIN/https://ASSET_DOMAIN.storage.googleapis.com/2019/11/logo.png
Instead of what it should be:
https://ASSET_DOMAIN.storage.googleapis.com/2019/11/logo.png
Any thoughts on how to fix this? I'd be happy to submit a PR if you can steer me in the right direction (and if the repo gets populated, obviously).
Hi Mike,
Coming from Wordpress earlier this year, I had a GCS addon that would randomise filenames to ensure filenames are not the same. Renaming filenames exist, but it will amend a 1 on the end of the filename, and I don't want to see the original filenames in each request.
I understand that I could randomise the filenames myself, but I would end up losing track of each file.
FYI - great addon :)
Thanks.
Hi, what do you think about adding a new optional parameter (let's say objectPrefix
) that will allow to prefix uploaded files? It will be useful for cases when one bucket is shared between content and other files, for example files of custom frontend like Gatsby.
Hi Mike,
Is there any issue when try to remove the image from post setting column, because i've a problem when try to remove the image, it still founded in the bucket.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.