gophergala2016/recipe

Name: recipe

Owner: gophergala2016

Description: Command-line interface for downloading and querying recipes.

Created: 2016-01-22 19:23:41.0

Updated: 2017-12-05 16:29:40.0

Pushed: 2016-01-24 20:20:49.0

Homepage:

Size: 60

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Overview

Recipe is a tool for downloading and querying recipes.

Recipe provides:

Install

Use go get to install the latest version.

et github.com/gophergala2016/recipe/recipe

Usage

The recipe refresh command will index all “repositories”. It will take very long on the first run. Before you can use the search and get command you need to run this command.

pe refresh

The recipe search <term> command will search the locally cached index for recipes which contain the search term.

pe search <term>

The recipe get <term> command will download all recipes which are indexed and match the term.

pe get <term>

Use the recipe -h command to see additional information.

The idea

The idea behind recipe is to have a tool similar to software package managers but for recipes.

Disclaimer

Highly unstable, unoptimized and hacked together. Featuring inconsistent naming conventions and letting errors fall through. I added the bleve indexing for the recipe links last minute which also included saving each recipe link in its own file. That resulted in very slow indexing, probably due not using batches, no concurrent downloading and improper index mapping.

What is missing


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.