d0f8cd9e78
refs https://github.com/TryGhost/Ghost/pull/11539 - The script helps to migrate CSV exports from Substack to Ghost-compatible ones
43 lines
832 B
Markdown
43 lines
832 B
Markdown
# Substack Ghost Csv Converter
|
|
|
|
Allows converting CSV export from Substack to CSV compatible with Ghost.
|
|
|
|
## Install
|
|
|
|
`npm install @tryghost/substack-ghost-csv-converter --save`
|
|
|
|
or
|
|
|
|
`yarn add @tryghost/substack-ghost-csv-converter`
|
|
|
|
|
|
## Usage
|
|
|
|
To convert the CSV file provide a path to in as a first parameter and the output csv file path as second parameter: `subghost <csv_input> <csv_output>`
|
|
|
|
## Develop
|
|
|
|
This is a mono repository, managed with [lerna](https://lernajs.io/).
|
|
|
|
Follow the instructions for the top-level repo.
|
|
1. `git clone` this repo & `cd` into it as usual
|
|
2. Run `yarn` to install top-level dependencies.
|
|
|
|
|
|
## Run
|
|
|
|
- `yarn dev`
|
|
|
|
|
|
## Test
|
|
|
|
- `yarn lint` run just eslint
|
|
- `yarn test` run lint and tests
|
|
|
|
|
|
|
|
|
|
# Copyright & License
|
|
|
|
Copyright (c) 2020 Ghost Foundation - Released under the [MIT license](LICENSE).
|