A command line tool to convert Ghost json export to a set of source posts for Hexo
A quick’n’dirty command line tool written in Node.js to convert Ghost JSON exported posts into a set of source posts for Hexo… Long story short, an helper to migrate from Ghost to Hexo (and probably other static website publishing platforms).
With Node.js and Npm installed, as easy as:
npm install -g ghost2hexo
From your terminal of choice:
ghost2hexo ghost_data.json path/to/hexo/source/_posts
Where:
ghost_data.json
: is the file exported from the Ghost adminpath/to/hexo/source/_posts
: the posts folder of your local Hexo projectcontents/images
folder of your ghost installationghost2hexo
command to generate the posts for Hexosources/contents/images
hexo generate
Feel more than welcome to report bugs or propose changes.
Licensed under MIT.