talira

Command line tools for working with Cooklang recipes

open sourceMITself-hostablefree

CookCLI is the command-line tool for Cooklang, a plain-text markup for recipes in which ingredients, cookware and timers are tagged inline (@eggs{3}), so your recipe collection is a folder of .cook files you can keep in git. It parses and displays recipes, scales them, and converts them to JSON or Markdown; it combines several recipes into one shopping list organised by store section, runs custom reports over recipes and menus, searches your collection and tracks pantry inventory and expiry dates. cook server serves the folder as a web interface you can browse from any device, and with a Cook Basic subscription it also syncs the folder with the Cooklang mobile apps and editor through Cook Cloud. It's a single Rust binary for macOS, Linux, Windows and FreeBSD, installable with Homebrew or Cargo, under the MIT licence.

Ways to install

Package managers

Problems it solves

  • keep my recipes as plain text files I own instead of in a recipe app
  • generate one shopping list from the recipes I plan to cook this week
  • self-hosted recipe website from a folder of text files
  • scale a recipe's ingredient quantities from the command line
  • script meal planning and shopping with UNIX tools
  • version control my recipe collection in git
  • track what's in my pantry and when it expires
  • convert recipes to JSON or Markdown

Features

  • parse, display and scale Cooklang recipes
  • output as JSON or Markdown
  • shopping lists combined from several recipes, organised by store section
  • custom reports over recipes and menus
  • recipe search
  • pantry inventory and expiry tracking
  • built-in web server to browse recipes from any device
  • sample recipes with cook seed
  • sync with Cook Cloud through cook server (Cook Basic subscription)

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what CookCLI does.

  1. Mealie A Place For All Your Recipes
  2. Tandoor Recipes The recipe manager that allows you to manage your ever growing collection of digital recipes
  3. RecipeSage Collaborative recipe keeper, meal planner and shopping list
  4. KitchenOwl A smart grocery list and recipe manager
  5. Bar Assistant Self-hosted cocktail recipe and home bar manager

Compare CookCLI with the top 3