💥 Careful: This package is no longer maintained and is only here for historic reasons. This means you should very likely not use it. You have been warned. 💥
Ghost to HTML Converter
A tiny script to convert a Ghost blog into a set of HTML files and an image folder. You can use this to convert Ghost into a editing platform for systems that expect raw HTML.
💣 Disclaimer: This is pretty hacky. Beware.
Usage
Warning: This will clear any /html
and any /markdown
folders you have in the destination!
npm install -g ghost-to-htmlcd your-ghost-directoryghost-to-html your-destination/path/
After running these commands you get this folder structure generated:
- your-destination/path/
- markdown/ All your blog posts in markdown
- html/ All your blog posts in html & a metadata.json
- images/ All the images in your blog posts