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

Export recipes from the Pepperplate recipe management system

License

Notifications You must be signed in to change notification settings

anthropos9/ppe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 you@email.com 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'.

About

Export recipes from the Pepperplate recipe management system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published