Skip to content

heig/Grocy-to-Mealie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migrate Recipes from Grocy to Mealie

This is a helper-script that helps you to move recipes from grocy to meali. It will get all your recipes from grocy and import them via the JSON Import to Mealie. This will not migrate your pictures. All List-Items and Paragraphs in the Description of a grocy recipe will be a instruction-step in Mealie. (Since I have some ingridens in LI I need to migrate those to ingridents later, but if you have only instructions it will work fine :) )

Caution

This is meant to run only once! It will always just import all recipes! No douplicate-checks.

Important

Create a Mealie Backup before running this.

Instructions

Create .env

  • copy env.example to .env
  • put in your data

Build Docker Container

From the root of this repository run:

docker build . -t gtm

Run Docker Container

From the root of this repository run:

docker run  --env-file ~/Development/Docker/Grocy-to-Mealie/.env --rm --name GrocyMealie gtm

Example Output

❯ docker run  --env-file ~/Development/Docker/Grocy-to-Mealie/.env --rm --name GrocyMealie gtm
Title: Spaghetti mit cremiger Brokkoli-Käse Sauce  (3) .
Zubereitung: <ul><li>Zwiebeln</li><li>Knoblauch</li><li>Brühe</li><li>Milch</li><li>Brokkoli </li><li>Spaghetti </li></ul><p><br /></p><p>Knoblauch & Zwiebeln würfeln und anbraten. Brokkoli dazu geben. <br />Mit Brühe und Milch ablöschen und köcheln lassen. </p><p>Spaghetti nach Packungsangaben zubereiten. </p> (5 Zutaten)
Rezept (Schema.org JSON) erfolgreich erstellt.
-------

Kudos

as always, many thanks to the creators of (grocy) and mealie!

About

Migrate Recipes from Grocy to Mealie

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published