Converts the "Subscribers" CSV export from Curated to a CSV compatible with Ghost.
npm install @tryghost/mg-curated-members-csvConverts the "Subscribers" CSV export from Curated to a CSV compatible with Ghost.
To install the CLI, which is required for the Usage commands below:
``sh`
npm install --global @tryghost/migrate
To use this package in your own project:
npm install @tryghost/mg-curated-members-csv --save
or
yarn add @tryghost/mg-curated-members-csv
To run a Curated CSV migration, the required command is:
`sh`
migrate curated-members --pathToFile /path/to/emails.csv
It's possible to pass more options, in order to achieve a better migration file for Ghost:
- --pathToFile (required)
- Path to the signups CSV file as generated by Curated
- string - default: null-V
- --verbosefalse
- Show verbose output
- bool - default: -l
- --limit5000
- Define the batch limit for import files
- int - default: --freeLabel
- free
- Provide a label for Curated subscriberscurated-free
- string - default: --cache
- --zip
- Persist local cache after migration is complete (Only if is true)true
- bool - default:
A more complex migration command that accounts for Stripe data could look like this:
`sh`
migrate curated-members emails.csv --freeLabel Newsletter --limit 1000
This is a mono repository, managed with lerna.
Follow the instructions for the top-level repo.
1. git clone this repo & cd into it as usualyarn
2. Run to install top-level dependencies.
To run a local development copy, cd into this directory, and use yarn dev instead of migrate like so:
`sh`
yarn dev curated-members --pathToFile /path/to/emails.csv
- yarn lint run just eslintyarn test` run lint and tests
-
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.