Post importer from Ghost backup files.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Code Climate Build status Gem Version

Jekyll ghost importer

This program let you import your post on ghost to jekyll. It uses a ghost backup to read the data and creates posts and drafts from them.


$ gem install jekyll_ghost_importer


Make a backup of your posts. Copy the file to the folder where you have your jekyll blog, run:

$ jekyll_ghost_importer GhostBackup.json

This will create the _posts folder and create there a file for each post in the backup and will create a _drafts folder for yours drafts.


  • To Fahri Cihan Demirci (@femnad) for adding support for the new backup format.

  • To Kiko Beats (@Kikobeats) for setting featured posts.

  • To Per Mortensen (@proog) for adding support for mobiledoc.


  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

If you need to use this under different terms please write me directly.