23 releases (6 breaking)

0.8.5 Nov 6, 2024
0.8.2 Aug 20, 2024
0.8.1 May 27, 2024
0.3.1 Nov 10, 2023
0.2.8 Jun 11, 2023

#386 in Command line utilities

Download history 120/week @ 2024-08-16 16/week @ 2024-08-23 15/week @ 2024-09-13 23/week @ 2024-09-20 11/week @ 2024-09-27 316/week @ 2024-10-04 48/week @ 2024-10-11 1/week @ 2024-10-18 101/week @ 2024-11-01 18/week @ 2024-11-08 3/week @ 2024-11-15 1/week @ 2024-11-22

123 downloads per month

MIT license

37KB
759 lines

Recp

A cli to display recipes written in recipe-lang

See recipe-lang

Installation

Nix

On Mac or Linux you can run:

nix profile install 'github:reciperium/recipe-lang#recp'

Cargo

cargo install recp

Usage

Given a hummus recipe hummus.recp:

>> name: hummus classic
>> tags: vegan, high-protein, high-fiber
>> lang: en

Add {boiled chickpeas}(400 gr) (1 can) to the blender with {garlic}(1),
{tahini}(2 tsp), {lemon}(1/2), {olive oil}(2 tsp), {salt} and {pepper}.

Blend for t{3 minutes}.

Serve or store.

We can use the recp cli to pretty display the recipe

recp show hummus.recp
Hummus Classic

Ingredients

  boiled chickpeas              400 gr
  garlic                        1
  tahini                        2 tsp
  lemon                         1/2
  olive oil                     2 tsp
  salt
  pepper


Instructions

Add boiled chickpeas (1 can) to the blender with garlic,
tahini, lemon, olive oil, salt and pepper.

Blend for 3 minutes.

Serve or store.

Dependencies

~3–11MB
~110K SLoC