Skip to content

Advanced usage and Gulp

You will need local repositories of Mastodon and Pleroma. You must configure them with the needed environment and make sure they start up properly. The database you're trying to convert should be loaded into Mastodon. Note that you MUST include LOCAL_DOMAIN=yourdomain.tld and LOCAL_HTTPS=true in your Mastodon config, or else it will export localhost URLs. Pleroma probably needs to be configured similarly.

Create a .env file and configure the local paths to Mastodon and Pleroma:


Install dependencies:


You'll then be able to run these commands to migrate the database:

yarn masto export
yarn pleroma import