{"id":24970180,"url":"https://github.com/agneya-1402/recipe_generator","last_synced_at":"2025-03-29T05:17:53.313Z","repository":{"id":275455567,"uuid":"926133742","full_name":"agneya-1402/Recipe_Generator","owner":"agneya-1402","description":"Built using Streamlit and the Gemini API, this app provides personalized recipes tailored to your needs.","archived":false,"fork":false,"pushed_at":"2025-02-02T16:35:19.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T05:17:43.547Z","etag":null,"topics":["gemini","gemini-api","genai","python","recipe-app","saas","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agneya-1402.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-02T16:28:48.000Z","updated_at":"2025-02-02T16:36:15.000Z","dependencies_parsed_at":"2025-02-02T17:29:54.227Z","dependency_job_id":"626306e8-a160-49dd-bd20-e0e68e113b36","html_url":"https://github.com/agneya-1402/Recipe_Generator","commit_stats":null,"previous_names":["agneya-1402/recipe_generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneya-1402%2FRecipe_Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneya-1402%2FRecipe_Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneya-1402%2FRecipe_Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneya-1402%2FRecipe_Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agneya-1402","download_url":"https://codeload.github.com/agneya-1402/Recipe_Generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140587,"owners_count":20729802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gemini","gemini-api","genai","python","recipe-app","saas","streamlit"],"created_at":"2025-02-03T15:56:31.457Z","updated_at":"2025-03-29T05:17:53.294Z","avatar_url":"https://github.com/agneya-1402.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recipe Generator SAAS App 👨🏻‍🍳\n\nWelcome to the **AI-Powered Recipe Generator**! This web app generates recipes based on user inputs like dietary preferences, meal type, cuisine, calorie limits, allergies, and available ingredients. Built using **Streamlit** and the **Gemini** API, this app provides personalized recipes tailored to your needs.\n\n## Features\n\n- **Dietary Preferences**: Choose between Veg, Non-Veg, or Vegan.\n- **Meal Type**: Select the type of meal (Breakfast, Lunch, Dinner, Snacks).\n- **Cuisine**: Choose from a variety of cuisines such as Indian, Chinese, Italian, Mexican, American, and others.\n- **Calories**: Set a maximum calorie limit for the recipe.\n- **Allergies**: Add allergies to exclude certain ingredients.\n- **Ingredients**: Input the ingredients you already have at hand or leave it empty to discover new recipes.\n\n## Installation\n\n### Requirements\n\n1. **Python 3.x** (preferably 3.8+)\n2. **Streamlit**: For the web interface.\n3. **Google Generative AI**: For generating recipes.\n\n### Steps to Install\n\n1. **Clone the repository**:\n\n    ```bash\n    git clone https://github.com/agneya-1402/Recipe_Generator.git\n    cd Recipe_Generator\n    ```\n\n2. **Create a virtual environment (optional but recommended)**:\n\n    ```bash\n    python3 -m venv venv\n    source venv/bin/activate  \n    ```\n\n3. **Install required packages**:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. **Get your API Key**:\n    - Sign up for the **Google Gemini API** at [Google Cloud](https://cloud.google.com/ai) and generate an API key.\n    - Replace `key` in the code with your API key.\n\n5. **Run the app**:\n\n    ```bash\n    streamlit run app.py\n    ```\n\n6. Open your browser and visit `http://localhost:8501` to access the app.\n\n---\n\n## How It Works\n\n- The app uses **Google Gemini 1.5 Flash** API to generate recipes based on user input.\n- Upon selecting your dietary preferences, meal type, cuisine, and other inputs, the app creates a custom recipe.\n- The recipe is displayed on the page with ingredients and cooking instructions.\n\n## Usage\n\n1. **Dietary Preference**: Choose between **Veg**, **Non-Veg**, or **Vegan**.\n2. **Meal Type**: Select from **Breakfast**, **Lunch**, **Dinner**, or **Snacks**.\n3. **Cuisine**: Choose your favorite cuisine from options like **Indian**, **Chinese**, **Italian**, etc.\n4. **Calories**: Set the maximum number of calories for your recipe.\n5. **Allergies**: Add any allergies (comma-separated) to exclude ingredients you're allergic to.\n6. **Ingredients**: Specify any ingredients you already have (comma-separated).\n\nAfter pressing the \"Generate Recipe\" button, the app will display a recipe suggestion based on your preferences.\n\n---\n\n## Example Inputs\n\n- **Dietary Preference**: Veg\n- **Meal Type**: Lunch\n- **Cuisine**: Indian\n- **Max Calories**: 500\n- **Allergies**: Gluten, Nuts\n- **Ingredients**: Rice, Lentils\n\n---\n\n## Future Enhancements\n\n- **Image Generation**: Although image generation was removed for now, this feature could be re-integrated in the future.\n- **Save Recipes**: Users can save their generated recipes as PDFs or text files.\n- **User Profiles**: Add functionality for users to save their preferences and generate recipes easily.\n- **Integration with Grocery APIs**: Automatically add missing ingredients to your grocery shopping list.\n\n---\n\n## Contributing\n\nFeel free to fork this repository and submit pull requests with improvements. Contributions are always welcome!\n\n---\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagneya-1402%2Frecipe_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagneya-1402%2Frecipe_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagneya-1402%2Frecipe_generator/lists"}