node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


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.


Warning: This will clear any /html and any /markdown folders you have in the directory you run the command in.

npm install -g ghost-to-html
cd your-ghost-directory

After running these commands you get this folder structure generated:

- markdown/             All your blogposts in markdown
- html/                 All your blogposts in html
    - images/           All the images in your blogsposts