recipe-io
Food instructable and more for the busy-busy life
Have you ever buried your face in your hands in the middle of the supermarket wondering why are you there, what life decisions took you to this estrange place, to buy food, food that you like, food that you don't like, and food you just don't give a f#ck. The primitive man used to hunt the food, to chase the food, to take only what is needed, and bring it back as trophy of glory. Modern men just go to the supermarket as the edge point of a global supply chain. The primitive man, used to to knows the ways to hunt, the modern man got lost in the supermarket which is mostly saturated with useless crap and sugary fashion... Back in modern times... Grandmothers could store 30 days recipes in their brains, in the daemonic sense of total connection with food... while the latest generations cannot remember a 10 items food list and the energy electrolytic wall shelf is growing as a reminder that Idiocracy is closer than what we expect. But not everything is lost yet, we can get back on track with the "recipe-io" or "recipio" to help you...
The ultimate food recipe interface to make your life easier. You load your recipes and it shows the instructions but also if you select more than one recipe you generate a global list of all the ingredients you need.
Recipe-io is a cutting edge code that runs locally on your phone or PC. Just download and open a browser
- recipe.html
- recipe.json
Is a file of recipes in json format. you can modify it and bring your own recipes (BYOR) l.
Create a MR with more recipes and we do a bigger list.
Put the code to any LLM, or do it your self, and start your spin-offs but don't forget to share or comment.
- Plain JS
- No Dependencies
- Basic Accessibility
- Basic CCS
- If you are new, go for the theory of what a good UI should look like.
-
Fork the Repository: Click on the
Forkbutton at the top right corner of the repository page to create a personal copy of the repository. -
Clone Your Fork: Use the following command to clone your forked repository to your local machine:
git clone https://github.com/your-username/recipe-io.git cd recipe-io -
Create a New Branch: Before making changes, create a new branch:
git checkout -b add-recipe-name
-
Edit the
recipes.jsonFile: Open therecipes.jsonfile in your preferred text editor and add your new recipe following the JSON format below:{ "title": "Recipe Name", "time": "30–40 min", "servings": "2", "ingredients": [ "ingredient 1 with quantity", "ingredient 2 with quantity", "ingredient 3 with quantity" ], "instructions": [ "Step 1 description", "Step 2 description", "Step 3 description" ] } -
Commit Your Changes: After editing, save your changes and commit them:
git add recipes.json git commit -m "Add new recipe: Recipe Name" -
Push Your Changes: Push the changes back to your fork:
git push origin add-recipe-name
-
Create a Pull Request: Go to the original repository on GitHub and click on the
Pull Requeststab. Click onNew Pull Requestand select your branch. Fill out the necessary details and submit the pull request.
Thank you for contributing!