{"id":26222238,"url":"https://github.com/walles/foodplanner","last_synced_at":"2025-07-04T12:32:03.172Z","repository":{"id":25327190,"uuid":"28754230","full_name":"walles/foodplanner","owner":"walles","description":"Tool to make a weekly food plan for a family","archived":false,"fork":false,"pushed_at":"2019-01-23T14:43:30.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T16:52:03.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-03T20:44:56.000Z","updated_at":"2019-01-23T14:43:32.000Z","dependencies_parsed_at":"2022-08-24T02:30:40.701Z","dependency_job_id":null,"html_url":"https://github.com/walles/foodplanner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/walles/foodplanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Ffoodplanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Ffoodplanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Ffoodplanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Ffoodplanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walles","download_url":"https://codeload.github.com/walles/foodplanner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Ffoodplanner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263540787,"owners_count":23477454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-12T16:51:37.641Z","updated_at":"2025-07-04T12:32:03.153Z","avatar_url":"https://github.com/walles.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example\n```\n./foodplanner.rb examples/menu.yaml examples/calendar.yaml\n```\n# TODO\n\n* Warn about tags not mentioned in any constraints.\n\n* Warn about at-least constraints where there aren't enough courses with the\nrelevant tag.\n\n* Warn about at-least constraints where there isn't at least one more course\nthan required. Otherwise each menu will always contain the same courses.\n\n* Fail with an error message if a constraint mentions a non-existing tag.\n\n* If we at runtime realize we can't fulfill a constraint, fail with an error\nmessage listing the unfulfilled constraints.\n\n* Fail with an error message on conflicting constraints, like having both\n`sausage \u003e= 3` and `sausage \u003c= 1`.\n\n* Add support for \"on Fridays, we only want food with a certain tag\".\n\n* Accept a previously generated menu as input and avoid those courses\nfor this menu.\n\n\n# DONE\n\n* Start by selecting food for the occasions with the fewest possible\nchoices and continue up from there.\n\n* Add support for \"this course is best cooked on Fridays\".\n\n* Add support for expressing things like \"we want sausage at most once\nper generated menu\". Needs tagging of food courses, and some way of\nputting constraints on different tags.\n\n* Fail with an error message on malformed constraints.\n\n* Fail with an error message on unsupported constraint operation.\n\n* Add support for expressing things like \"we want vegetarian at least\nonce per generated menu\". Needs tagging of food courses, and some way\nof putting constraints on different tags.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalles%2Ffoodplanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalles%2Ffoodplanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalles%2Ffoodplanner/lists"}