Turn Instagram’s recipe chaos into a chef’s dream.
A cutting-edge web application that transforms Instagram recipe posts into beautifully structured, searchable formats. Powered by web scraping, OpenAI’s AI magic, and a sleek interface, this app makes cooking inspiration from Instagram easier than ever!
✅ Extract Recipes from Instagram Posts: Input any Instagram URL, and let the app work its magic.
✅ Recipe Parsing: Converts messy captions into well-structured ingredients and instructions.
✅ Recipe Caching: Stop wasting time! Revisit previously fetched recipes instantly with built-in caching.
✅ Database Integration: All your recipes stored securely in SQLite and searchable by name.
✅ User-Friendly Interface: Navigate, submit links, and explore recipes with an intuitive web design.
✅ Search Functionality: Quickly find that one amazing chocolate cake recipe by name.
Before you start cooking up some recipes, make sure you’ve got:
- 🐍 Python 3.8+
- 🌐 Google Chrome and ChromeDriver (for Instagram scraping).
- 📦 Required Python libraries (installed via
requirements.txt).
-
Clone the Repository:
git clone https://github.com/yourusername/instagram-recipe-extractor.git cd instagram-recipe-extractor -
Install Dependencies:
pip install -r requirements.txt
-
Set Up the Database:
python app.py
(The SQLite database
recipes.dbwill be created automatically on the first run.)
-
Start the Flask server:
python app.py
-
Open your browser and go to:
http://127.0.0.1:5000 -
Use the app to:
- Submit Instagram links and extract recipes.
- Browse recipes in the database.
- Search by recipe name to find your favorites.
-
Submit a Recipe:
POST
/submitInput an Instagram URL to fetch and parse a recipe. -
List Recipes:
GET
/recipesFetch all stored recipes. Use?search=<name>for filtering. -
View a Recipe:
GET
/recipes/<recipe_id>Retrieve a single recipe by its ID. Add?format=jsonfor a JSON response.
✨ No More Manual Work: Let AI and automation handle the dirty work of scraping, structuring, and storing recipes for you.
✨ Everything in One Place: A single app to explore, save, and organize recipes from Instagram posts.
✨ Cook Smarter, Not Harder: Access clear ingredient lists and instructions anytime you want to try something new.
💡 Got an idea? We’d love to hear it! Here’s how to contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -m 'Add new feature'). - Push to your branch (
git push origin feature/your-feature). - Open a pull request.
Got questions or feedback? Reach out at daniel@alves.world.