An open API service indexing awesome lists of open source software.

https://github.com/coriolinus/ghost2zola

convert ghost exports to zola markdown directories
https://github.com/coriolinus/ghost2zola

Last synced: over 1 year ago
JSON representation

convert ghost exports to zola markdown directories

Awesome Lists containing this project

README

          

# `ghost2zola`: migrate a ghost blog to zola

## Preparation

- Export your entire ghost directory into a tar:
- The following data formats are supported:
- `ghost.tar`
- `ghost.tar.gz`
- `ghost.tar.bz2`
- This program analyzes the input file type, so no magic filenames are necessary.
- Note: unlike ghost's built-in data exports, this preserves media such as images.

## Usage

```
USAGE:
ghost2zola [OPTIONS]

FLAGS:
-h, --help
Prints help information

-V, --version
Prints version information

OPTIONS:
--prefix
Relative prefix within the archive

In cases where the archive contains only a single blog, this is not necessary. When the archive contains
several blogs, this can be set to any distinct prefix winnowing the selection to a single selection.

If you're not sure what prefixes might be available, consider using the `find_ghost_db` tool.

ARGS:

Path to a possibly-compressed tar archiving a ghost blog


Path to the base directory into which the ghost blog should be expanded.

Normally, this is the `content/blog` directory of your zola installation.
```