#recipe #import #format #cooklang #command-line-tool #api-key

bin+lib cooklang-import

A tool for importing recipes into Cooklang format

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

Download history 298/week @ 2024-12-24 732/week @ 2024-12-31 64/week @ 2025-01-07

1,094 downloads per month

MIT license

40KB
1K SLoC

cooklang-import

A command-line tool to import recipes into Cooklang format.

Getting started

  1. Make sure you have the following prerequisites:
  2. Clone this repo locally
  3. 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