{"id":17942777,"url":"https://github.com/b1f6c1c4/c","last_synced_at":"2025-03-24T14:32:50.635Z","repository":{"id":54194100,"uuid":"337877930","full_name":"b1f6c1c4/c","owner":"b1f6c1c4","description":"c for cook: 根据食材列表自动推荐菜谱","archived":false,"fork":false,"pushed_at":"2021-03-04T00:06:18.000Z","size":85,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T03:55:54.936Z","etag":null,"topics":["cookbook","eating","food","recipes"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b1f6c1c4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-10T23:04:23.000Z","updated_at":"2024-09-18T08:21:39.000Z","dependencies_parsed_at":"2022-08-13T08:50:53.105Z","dependency_job_id":null,"html_url":"https://github.com/b1f6c1c4/c","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/b1f6c1c4%2Fc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b1f6c1c4%2Fc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b1f6c1c4%2Fc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b1f6c1c4%2Fc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b1f6c1c4","download_url":"https://codeload.github.com/b1f6c1c4/c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245289801,"owners_count":20591135,"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":["cookbook","eating","food","recipes"],"created_at":"2024-10-29T03:07:20.403Z","updated_at":"2025-03-24T14:32:50.297Z","avatar_url":"https://github.com/b1f6c1c4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c-for-cook\n\n\u003e 根据食材列表自动推荐菜谱\n\n- 食材来自 https://monday.com/ （需手工维护列表）\n- 菜谱来自 http://www.recipepuppy.com/\n- 每次刷新页面自动推荐12道正餐和2道方便菜品\n- 无任何广告，无任何JavaScript\n- 中英文对照，增加词汇量\n\n## Usage\n\nNote: You may want to leverage the [pre-built docker image](https://hub.docker.com/r/b1f6c1c4/c-for-cook)\n\n1. 创建`secret.json5`:\n\n    ```json5\n    {\n      monday: {\n        apiKey: \"...\", // 左下角头像-\u003eAdmin-\u003eAPI\n        bId: ..., // 打开对应的board，从URL中可以直接找到\n        cIds: { // 见下方说明\n          key: '...',\n          category: '...',\n          location: '...',\n          expire: '...',\n          quantity: '...',\n          genre: '...',\n          tier: '...',\n        },\n      },\n      translate: { // Google Translate API\n        apiKey: \"...\",\n      },\n    }\n    ```\n\n    关于`cIds`：在 https://monday.com/developers/v2/try-it-yourself 执行以下查询：\n    ```\n    {\n        boards(ids: ...) { // 填入bId\n            columns {\n                id\n                title\n            }\n        }\n    }\n    ```\n\n1. 执行`npm i -g nodemon`\n1. 执行`npm i`\n1. 执行`npm start`\n1. 访问`http://localhost:3000`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb1f6c1c4%2Fc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb1f6c1c4%2Fc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb1f6c1c4%2Fc/lists"}