A command-line tool to import recipes into Cooklang format.
- Make sure you have the following prerequisites:
- Rust
- OpenAI API key set in your environment variables as
OPENAI_API_KEY
- Clone this repo locally
- Change directory into this repo root and run
cargo install --path .
cooklang-import --help
cooklang-import https://www.bbcgoodfood.com/recipes/next-level-tikka-masala
also supports --download-only
flag to only download the recipe and not convert it to Cooklang
cooklang-import https://www.bbcgoodfood.com/recipes/next-level-tikka-masala --download-only