10 unstable releases (3 breaking)
0.4.1 | Jan 5, 2025 |
---|---|
0.4.0 | Jan 4, 2025 |
0.3.3 | Jan 4, 2025 |
0.2.0 | Dec 26, 2024 |
0.1.3 | Dec 26, 2024 |
#1269 in Command line utilities
1,094 downloads per month
40KB
1K
SLoC
cooklang-import
A command-line tool to import recipes into Cooklang format.
Getting started
- 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 .
Usage examples
See all available flags
cooklang-import --help
Scrape a recipe from a webpage and output to screen
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
Dependencies
~10–21MB
~297K SLoC