{"id":16508722,"url":"https://github.com/mobeets/autocookie","last_synced_at":"2025-04-04T18:44:34.989Z","repository":{"id":73677388,"uuid":"64700088","full_name":"mobeets/autocookie","owner":"mobeets","description":"create new recipes by combining old ones","archived":false,"fork":false,"pushed_at":"2021-12-29T20:46:27.000Z","size":751,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"gh-pages","last_synced_at":"2025-02-10T04:17:00.681Z","etag":null,"topics":["automatic-recipes","baking-app","recipe","recipe-app","recipe-generator","recipe-ingredients"],"latest_commit_sha":null,"homepage":"https://mobeets.github.io/autocookie","language":"JavaScript","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/mobeets.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-01T20:41:21.000Z","updated_at":"2021-12-29T20:46:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"dba19cdf-8ebe-4e17-8cee-21305d9ed130","html_url":"https://github.com/mobeets/autocookie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobeets%2Fautocookie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobeets%2Fautocookie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobeets%2Fautocookie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobeets%2Fautocookie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mobeets","download_url":"https://codeload.github.com/mobeets/autocookie/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234850,"owners_count":20905852,"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":["automatic-recipes","baking-app","recipe","recipe-app","recipe-generator","recipe-ingredients"],"created_at":"2024-10-11T15:47:10.234Z","updated_at":"2025-04-04T18:44:34.972Z","avatar_url":"https://github.com/mobeets.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## What's an Autocookie?\n\n[Autocookie](http://www.jehosafet.com/autocookie) collects a bunch of recipes for the same type of food--chocolate chip cookies, to start--and finds the range of acceptable ingredient ratios. To continue my flour and baking soda example, if one recipe called for 2 cups of flour and 1 tsp of baking soda, that's a ratio of 2.0 cups/tsp. If another recipe called for 1.5 cups of flour and 2 tsp of baking soda, that's a ratio of 0.75 cups/tsp. All Autocookie does, then, is suggest proportions of baking soda and flour that stay within this range of 0.75-2.0 cups/tsp. Just expand this same idea to all ingredient combinations, across multiple recipes.\n\nMore information [here](http://www.jehosafet.com/autocookie/about.html).\n\n## Adding new recipe types\n\n1. Find recipes for a dessert, e.g., \"chocolate chip cookies\"\n2. Parse/clean the recipe ingredients\n3. Add to Autocookie\n\n### 1. Find recipes\n\n`python model/search.py chocolate chip cookies \u003e rawdata/choc-chip-cookies.json`\n\nNote: this step requires the Yummly [https://developer.yummly.com](recipe API).\n\n### 2. Parse/clean the recipe ingredients\n\n`python model/clean.py rawdata/choc-chip-cookies.json \u003e rawdata/choc-chip-cookies_clean.json`\n\nNote: you might need to adjust the `STOPWORDS` variable in `model/clean.py`.\n\n### 3. Create a new recipe\n\n* Add the contents of the file you created in step 2 to the `allRecipes` variable in the file `static/data/recipes.js`.\n* Open `index.html`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobeets%2Fautocookie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobeets%2Fautocookie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobeets%2Fautocookie/lists"}