Find new recipes. Search by ingredient, tag, name. Browse curated feeds.
{
"schema_version": "visual-recipe-v0.5",
"module_id": "discover",
"name": "Recipe Discovery",
"source_nav_id": "discover",
"user_facing_name": "Discover",
"purpose": "Find new recipes. Search by ingredient, tag, name. Browse curated feeds.",
"behaviour": {
"search_modes": [
"name",
"ingredient",
"tag"
],
"feed_formats": [
"full card",
"compact card"
],
"filters": [
"category",
"cuisine",
"time",
"difficulty"
],
"open_recipe": "drill into full recipe modal",
"add_to_mealplan": "from modal"
},
"data": {
"uses": "recipes.customRecipes + recipes.favorites + curated dataset"
},
"key_functions": [
"openDiscoverRecipe",
"renderDiscoverFeed",
"renderDiscoverCard",
"renderDiscoverCardCompact",
"filterDiscover",
"searchRecipesAndFilter",
"selectRecipeSearchSuggestion",
"findBestVariant"
],
"files": {
"html": "app/index.html#discover-tab",
"css": "app/styles.css (feed + card classes)",
"js": "app/modules/discover.js"
},
"tests": [
"Search by name works",
"Search by ingredient works",
"Filter by category narrows feed",
"Card click opens recipe modal",
"Add to mealplan works from modal"
]
}
Part of the SmartPantry module-organised rebuild. Authored by hand following the FvRE Recipe Book pattern. Source: /workspace/smartpantry-app/recipe-book/discover/recipe.json