AI-powered recipe ingredient extractor and potential shopping list optimizer.
-
Clone the repository:
git clone <repository-url> cd listic-lite
-
Install Poetry: If you don't have Poetry installed, follow the instructions on the official Poetry website.
-
Create Environment File: Create a file named
.envin the project root directory. Add your OpenAI API key to this file:OPENAI_API_KEY="your_openai_api_key_here"Replace
your_openai_api_key_herewith your actual key. -
Install Dependencies: Poetry will automatically create a virtual environment (in the project's
.venvdirectory) and install the required packages.poetry install
-
Install Playwright Browsers: Playwright requires browser binaries to function. Install them (including OS dependencies) using:
poetry run playwright install --with-deps
To run the main script which uses the AI agent to process recipes:
poetry run python main.pyThis command executes the main.py script within the Poetry-managed virtual environment.