{"id":18029169,"url":"https://github.com/leejim/howtocookonminiprogram","last_synced_at":"2025-04-05T04:13:22.244Z","repository":{"id":43724828,"uuid":"464838448","full_name":"LeeJim/HowToCookOnMiniprogram","owner":"LeeJim","description":"程序员做菜指南 for Miniprogram，将程序员精神贯彻到底","archived":false,"fork":false,"pushed_at":"2023-01-26T15:52:21.000Z","size":13293,"stargazers_count":621,"open_issues_count":3,"forks_count":59,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-29T03:09:09.074Z","etag":null,"topics":["miniprogram","wechat"],"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/LeeJim.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":"2022-03-01T10:03:40.000Z","updated_at":"2025-03-21T18:09:04.000Z","dependencies_parsed_at":"2023-02-14T19:15:53.719Z","dependency_job_id":null,"html_url":"https://github.com/LeeJim/HowToCookOnMiniprogram","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeeJim%2FHowToCookOnMiniprogram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeeJim%2FHowToCookOnMiniprogram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeeJim%2FHowToCookOnMiniprogram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeeJim%2FHowToCookOnMiniprogram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeeJim","download_url":"https://codeload.github.com/LeeJim/HowToCookOnMiniprogram/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284951,"owners_count":20913704,"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":["miniprogram","wechat"],"created_at":"2024-10-30T09:08:23.587Z","updated_at":"2025-04-05T04:13:22.204Z","avatar_url":"https://github.com/LeeJim.png","language":"JavaScript","readme":"# HowToCookOnMiniprogram\n\n小程序版本 **程序员做菜指南**，将程序员精神贯彻到底\n\n灵感和数据来源于 [HowToCook](https://github.com/Anduin2017/HowToCook)\n\n![htc-qrcode](https://user-images.githubusercontent.com/7017290/160264342-5a419a77-19fd-453a-97ed-a0418667d0ee.png)\n\n\n## 微创新\n\n### 内嵌计时器 ⌛️\n\n有些步骤会存在计时的需求，当前做到识别时间，并可以内嵌计时器\n\n\u003cimg src=\"./assets/v2/timber.jpg\" width=\"375\" /\u003e\n\n### 可视化分类 😊\n\n简洁、美观\n\n\u003cimg src=\"./assets/v2/home.jpg\" width=\"375\" /\u003e\n\n### 收藏 \u0026 点赞 👍\n\n方便快速找回常用的菜谱\n\n\u003cp\u003e\n\u003cimg src=\"./assets/v2/star.jpg\" width=\"375\" /\u003e\n\u003cimg src=\"./assets/v2/mystar.jpg\" width=\"375\" /\u003e\n\u003c/p\u003e\n\n### 图片 \u0026 链接 🔗\n\n支持图片预览、链接跳转\n\n\u003e 目前外部链接仅支持复制链接地址\n\n\u003cimg src=\"./assets/v2/preview.gif\" width=\"375\" /\u003e\n\n### 直达买菜 🛒\n\n收集了许多常用的买菜小程序，一键直达\n\n\u003cimg width=\"375\" alt=\"image\" src=\"https://user-images.githubusercontent.com/7017290/158828410-1186782e-79af-4dc3-8e05-a475b66f558c.png\"\u003e\n\n\n## 如何贡献\n\n### 启动\n\n1. `cd miniprogram`\n2. `npm install`\n3. 开发者工具，点击菜单“工具 - 构建 npm”\n\n### 小程序\n\n源代码位于 miniprogram 目录\n\n### 云开发\n\n源代码位于 cloudfunctions 目录\n\n### 数据解析\n\n- 解析 markdown 菜谱的脚本位于 `srcipt/index.js`\n- 对应命令: `npm run gen-data`\n\n由于需要使用云开发 API 来上传图片，因此需要在根目录创建 `config.js`，提供如下配置：\n\n```js\nmodule.exports = {\n  appid: 'wx01462be634a0d447', // appid\n  secret: '', // 小程序 secret；在微信公众平台获取\n  cloudEnvId: '' // 云开发环境\n}\n```\n\n## 后续更新\n\n### v1.0.0\n\n- [x] 增加个人收藏 `v0.2.0`\n- [x] 解析并展示 MarkDown 的图片、链接和各种格式 `v0.4.0`\n- [x] 增加【学习】模块 `v0.5.0`\n- [x] 发送订阅消息 `v1.0.0`\n- [x] 增加【买菜】模块 `v1.0.0`\n\n### v2.0.0\n\n- [x] 支持搜索 `v1.1.0`\n- [ ] 支持个人分享 （可能受限个人小程序无法做到）\n- [x] 将微信云存储改成腾讯云存储 `v.1.1.1`\n\n## 补充\n\n组件库使用的是 [TDesign Miniprogram](https://github.com/Tencent/tdesign-miniprogram)\n\n如果你觉得还不错的话，希望可以点个 star。感恩 🙏🙏\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleejim%2Fhowtocookonminiprogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleejim%2Fhowtocookonminiprogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleejim%2Fhowtocookonminiprogram/lists"}