herms: A command-line manager for delicious kitchen recipes

[ cli, command-line-tool, culinary, gpl, program ] [ Propose Tags ]

HeRM's: a Haskell-based Recipe Manager for delicious kitchen recipes


[Skip to Readme]
Versions 1.8.1.2, 1.8.1.3, 1.8.1.4, 1.8.2.1, 1.8.2.2
Change log changelog
Dependencies ansi-terminal (>=0.7.0 && <=0.8.1), base (>=4.8 && <5), brick (>=0.19 && <0.37), directory (>=0.0), microlens (==0.4.*), microlens-th (==0.4.*), optparse-applicative (==0.14.*), semigroups (>=0.18.3 && <=0.18.4), split (==0.2.*), vty (>=5.15 && <5.22) [details]
License GPL-3.0-only
Author Jack Kiefer
Maintainer jack.c.kiefer@gmail.com
Category Culinary, CLI, Command Line Tool
Home page https://github.com/JackKiefer/herms
Source repo head: git clone https://github.com/JackKiefer/herms
Uploaded by JackKiefer at Mon Apr 2 03:50:54 UTC 2018
Distributions LTSHaskell:1.8.1.4, NixOS:1.8.2.1, openSUSE:1.8.1.4
Executables herms
Downloads 282 total (25 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs pending
Build status unknown [no reports yet]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for herms-1.8.2.2

[back to package description]

Herm's

Travis build

HeRM's: a Haskell-based Recipe Manager (yes, food recipes) for the command line.

Herm&#39;s Interface

Features

  • Add recipes! :)
  • Look at recipes! :D
  • Edit recipes! :DD
  • Serving size adjustment! :DDD
  • Remove recipes :(
  • View metric recipes in imperial units and vice-versa
  • Import recipe files
  • Generate shopping lists
  • Keep track of recipes with tags

What's new:

  • Set default unit systems, serving sizes, and recipe file path in config.hs!
    • Coming soon: Multi-language support
  • Added support for multi-word tags
  • Check your Herm's version with -v or --version
  • Herm's is now on Stackage!

Installation

At the moment, Herm's can only be installed via stack or cabal, but standalone binaries are in the works!

If you're interested developing/hacking Herm's instead of just using it, see Contributing.md instead.

Via Stack (recommended):
stack update
stack install herms
Manually cloning and installing from source with Stack
git clone https://github.com/JackKiefer/herms
cd herms
stack update
stack install
Via Hackage and Cabal:

Note: Your milage may vary with dependency resolution

cabal update
cabal install herms
Manually with Cabal:

Note: Your milage may vary with dependency resolution

git clone https://github.com/JackKiefer/herms
cd herms
cabal update
cabal install

Usage

Command-line interface

Herm's has a pretty intuitive interface for users familiar with other command-line programs!

Below is the exhaustive list of all commands and their functionalities. Take a gander!

Usage:

        herms list [-g|--group] [--tags TAGS]           list recipes
                   [--name-only ]

        herms add                                       add a new recipe (interactively)

        herms edit RECIPE_NAME                          edit a recipe

        herms import FILE_NAME                          import a recipe file

        herms remove RECIPE_NAMES                       remove the particular recipes

        herms view RECIPE_NAMES [-s|--serving INT]      view the particular recipes
                                [-t|--step]
                                [-c|--convert CONV_UNIT]

        herms shopping RECIPE_NAMES [-s|--serving INT] generate shopping list for particular recipes

        herms datadir                                  print location of recipe and config files

Available options:

        -h|--help                                      Show this help text

        -v|--version                                   Show version

        RECIPE_NAME                                    index or Recipe name

        --sort SORT_ORDER                              'tags' to sort by tags

        -s|--serving INT                               specify serving size when viewing.
                                                       E.g., 'herms view -s 2 {recipe}' for two servings

        -t|--step                                      View recipe in "one-step-at-a-time" mode
                                                       (press enter between each direction)

        -g|--group                                     group recipes by tags

        --tags TAGS                                    show recipes with particular flags

        --name-only                                    only list recipes by name

        -c|--convert CONV_UNIT                         view the recipe converted to imperial or metric
                                                       E.g., 'herms view 2 -c imperial'

Configuring Herm's and managing recipe files

Herm's stores its recipes file, recipes.herms, and configuration file, config.hs, in the same directory. Herm's keeps track of its location! Run herms datadir to see the full directory path.

config.hs is a pseudo-Haskell-source-code file with several options for configuring the behaviour of Herm's. It currently supports the following options:

  • defaultUnit : The default unit system to show recipes in. Options: Imperial, Metric, None. Setting to None will simply show recipes in whatever unit system they're stored in.
  • defaultServingSize : Default serving size to calculate when showing recipes. Can be any non-negative integer; set to 0 for no default. This can be useful when you're always cooking for the same number of people!
  • recipesFile : The recipes file to us. This option currently supports relative (but not absolute) location, as well; if your data directory is ~/herms/data, for example, and you want a recipe file in your home directoy called ~/GrandmasHugeCookbook.herms, set this option to "../../GrandmasHugeCookbook.herms".

In honor of Logan, Utah's greatest Breakfast & Brunch.

Herm&#39;s Inn