An open API service indexing awesome lists of open source software.

https://github.com/walles/foodplanner

Tool to make a weekly food plan for a family
https://github.com/walles/foodplanner

Last synced: 3 months ago
JSON representation

Tool to make a weekly food plan for a family

Awesome Lists containing this project

README

        

# Example
```
./foodplanner.rb examples/menu.yaml examples/calendar.yaml
```
# TODO

* Warn about tags not mentioned in any constraints.

* Warn about at-least constraints where there aren't enough courses with the
relevant tag.

* Warn about at-least constraints where there isn't at least one more course
than required. Otherwise each menu will always contain the same courses.

* Fail with an error message if a constraint mentions a non-existing tag.

* If we at runtime realize we can't fulfill a constraint, fail with an error
message listing the unfulfilled constraints.

* Fail with an error message on conflicting constraints, like having both
`sausage >= 3` and `sausage <= 1`.

* Add support for "on Fridays, we only want food with a certain tag".

* Accept a previously generated menu as input and avoid those courses
for this menu.

# DONE

* Start by selecting food for the occasions with the fewest possible
choices and continue up from there.

* Add support for "this course is best cooked on Fridays".

* Add support for expressing things like "we want sausage at most once
per generated menu". Needs tagging of food courses, and some way of
putting constraints on different tags.

* Fail with an error message on malformed constraints.

* Fail with an error message on unsupported constraint operation.

* Add support for expressing things like "we want vegetarian at least
once per generated menu". Needs tagging of food courses, and some way
of putting constraints on different tags.