Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Latest commit

 

History

History
51 lines (31 loc) · 1.31 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.31 KB

Pepperplate Exporter

A tool for exporting recipes out of the Pepperplate recipe managment system and formatting those recipes in a way that is useful to the user. It will also download and save any images associated with the recipes.

Requirements

  • PHP 7
  • BASH terminal

Installation

  • Clone the project

  • Run composer

    composer install -o
  • Create your config file by duplicating config/config.sample.yml as config/config.yml and update.

Usage

cd path/to/directory

Then run it:

php cli.php import [email protected] your-password

To run the importer it requires 3 arguments:

  • Task: At present there's only 1 option - import
  • Email: Your Pepperplate email address
  • Password: Your Pepperplate password

Config

The config file has 2 properties: the Twig template and the file type to save individual recipes.

Twig Template

I've only created the pte.twig Twig template, because that's the only one I needed. It's formatted to work with the importer for Plan to Eat.

If you need another template, please create a pull request and I'd love to add it to the list

File Type

The extension of the file type to save the exports. Plan to Eat uses text files, so the default is 'txt'.