ghost-to-gatsby

v1.1.0
[![npm](https://img.shields.io/npm/v/ghost-to-gatsby.svg)](https://www.npmjs.com/package/ghost-to-gatsby)\ [![Build Status](https://travis-ci.org/InsidersByte/ghost-to-gatsby.svg?branch=master)](https://travis-ci.org/InsidersByte/ghost-to-gatsby)

ghost-to-gatsby

npm
Build Status

:construction: A CLI to convert a ghost 0.11 export to gatsby pages :construction:

The problem

I started looking at migrating my blog from ghost to gatsby, but didn't want to have to manually migrate my content. I had a quick look around, but couldn't find a tool that would do this for me.

The solution

This is a simple cli that takes a ghost backup and creates a page for each post.

Example output.

pages
│
└───2017-01-01-getting-started
│   │   index.md
│
└───2017-03-01-another-post
    │   index.md

Installation

npm install -g ghost-to-gatsby

Usage

ghost-to-gatsby [options] <file>

  Options:

    -V, --version    output the version number
    --out-dir <dir>  The output directory where the pages will be written to
    -h, --help       output usage information

Progress

  • Create basic pages
  • Convert to CLI
  • Publish to npm to use with npx
  • Add tags
  • Extract Images in Post
  • Extract Post Image
  • Extract Authors
npm i ghost-to-gatsby

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 12/1/2017

Downloads

Maintainers