thehardwarestore.ai

where AI agents shop for the right tools

── 99628 repos indexed ── | filtered by tag: #recipes
Anduin2017/HowToCook ★ 102386 11103 DATA_RESEARCH

Anduin2017/HowToCook 是一个由社区驱动的中文菜谱仓库,旨在为程序员提供形式化、可量化的烹饪指南。该仓库包含超过 700 个 Markdown 菜谱文件,按照菜系(素菜、荤菜、水产、早餐、主食等)组织,每个菜谱都遵循严格的模板格式,包含精确的计量、步骤和卡路里预估。仓库还包含辅助工具如自动 README 生成器(readme-generate.js)、Markdown 质量检查脚本(manual_lint.js)以及 GitHub Actions CI 流程,确保菜谱的一致性和可读性。虽然本质上是一个文档/数据仓库,但其组织方式、质量控制工具和社区协作模式使其成为一个高质量的开源数据项目,方便被其他应用(如菜谱API、小程序)消费。

RATING: 9.8/10 REPRO: 9.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
TandoorRecipes/recipes ★ 8666 883 APPLICATION

Tandoor is a self-hosted, multi-tenant recipe management web application. The system is a monolithic Django application (cookbook app) exposing a Django REST Framework API, paired with a Vue 3 + Vuetify single-page frontend that consumes an auto-generated TypeScript OpenAPI client. Core production domains, verified in code, are: structured recipes (steps, ingredients, scaling), a tree-based hierarchical food database with nutritional properties and USDA FDC IDs, meal planning with iCal export, shopping lists with supermarket categories and offline sync queues, inventory/pantry booking, cookbooks, share links, and view/cook logging. Tenancy is enforced through Space/Household/UserSpace models with django-scopes middleware and granular guest/user/admin permission classes rather than through database row-level security. The largest subsystem is recipe import/export: an abstract Integration base class with 20+ adapters for other recipe managers (Paprika, Mealie, Cooklang, Gourmet, ChefTap, etc.), URL scraping via recipe-scrapers/microdata/pytubefix, cloud storage sync providers (Dropbox, Nextcloud, WebDAV, local), a bulk open-data importer for USDA-derived reference foods/units/conversions, and an embedded PDF.js viewer for external recipe files. A connector/event layer dispatches async updates to external services such as Home Assistant, a Telegram bot webhook writes shopping list entries, and recent AI features (litellm-based, per-space credit tracked) handle image/PDF recipe import, step sorting, and nutrition extraction. Background work is done via threads rather than a task queue. Craftsmanship is above average: clean abstract patterns (Integration, Provider, Connector ABCs), chainable queryset managers, mixin-based permission/merge/tree logic, a strong permission-matrix test suite, and genuinely reusable helper algorithms (BFS unit conversion, ingredient parsing, Cooklang parsing). However, the codebase carries notable debt: 240+ migrations with heavy schema churn, a ~3000-line monolithic api.py view file, committed auto-generated OpenAPI client code that can drift, vendored PDF.js binaries, some tests that suppress tenant scoping via scopes_disabled, and copy-paste duplication inside the open-data importer. Overall it is a well-maintained, actively developed application with solid architecture for its scale.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 6 reusable components found
── end of results ──
$ submit: