Skip to content

Conversation

@robrotheram
Copy link

@robrotheram robrotheram commented Feb 7, 2022

I am not sure when but at some point Ghost now stores images as: __GHOST_URL__/content/images/2017/03/HomeLabDiagram.png

This Pr adds the following extra arguments:
--url : what is your __GHOST_URL__ e.g https://blog.example.com
--insecure weather to allow download if you are using self-signed or expired certs

If set this Pr will do the following
For feature images, post card images and raw markdown, it will download the image and save to static/images and rewrite the URL to use the local files instead.

Also added a nice to have feature posts are now saved with there publish date prefix allowing you to see the order of the posts and easily remove unpublished ones since they will have a date of 1970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant