Ghost migrator for Hexo.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Mar 30, 2015
.jshintrc init project Mar 30, 2015
LICENSE Initial commit Mar 30, 2015 rename back Mar 30, 2015
index.js Fix date bug Jul 11, 2017


Ghost migrator for Hexo.


$ npm install hexo-migrator-ghost --save


Export from Ghost

Visit , click Export and download the JSON file.

Import to Hexo

Execute the following command after installed. source is the file path exported by Ghost.

$ hexo migrate ghost <source>


This plugin will migrate following data from Ghost:

  • post title
  • post content
  • posd id
  • create date
  • update date
  • tags
  • status(is draft)
  • type(post or page)

Images will NOT be migrated!

In order to successfully migrate tags, you have to make sure the front-matter in ./scaffolds/ look like this:

title: {{ title }}
date: {{ date }}
tags: {{ tags }}