Ghost Importer
This importer depends on the following third-party gems:
- safe_yaml
- sequel
- sqlite3
gem install GEM_NAME
or install the required gems in a batch by running the following snippet:
gem install safe_yaml sequel sqlite3
Invocation
To import your posts from your self-hosted Ghost instance, you first have to download your ghost.db
from your server.
Sample snippet to invoke the importer:
jekyll import ghost --dbfile
Option <PARAM> | Description | ||
---|---|---|---|
--dbfile |
Database file |
Default: ghost.db |
If you have a Ghost backup file, consider using another tool called jekyll_ghost_importer to import your content. It is a separate gem and docs can be found at the link provided.