feat(recipe-detail): show source attribution at bottom of recipe card #139

Open
opened 2026-05-17 09:15:51 -07:00 by pyr0ball · 0 comments
Owner

Request

Recipes sourced from external corpora (Purple Carrot, Allrecipes, Food.com, etc.) should display a small, visually innocuous attribution link at the bottom of the recipe detail view.

Design

  • Small muted text, below the recipe body, above any action buttons
  • Format: Recipe from [Purple Carrot](https://www.purplecarrot.com/recipe/<slug>)
  • Only shown when source_url is non-null on the recipe record
  • Uses the canonical live URL (not Wayback) — SourceURL column in recipes_purplecarrot.parquet

Data availability

  • SourceURL column added to recipes_purplecarrot.parquet by scripts/pipeline/purple_carrot/scrape_recipes.py
  • Needs a source_url column added to the recipes table (migration) and populated by build_recipe_index.py
  • Allrecipes and Food.com records do not currently have canonical URLs — low priority to backfill

References

  • scripts/pipeline/purple_carrot/scrape_recipes.pySourceURL field
  • scripts/pipeline/build_recipe_index.py — importer to extend
  • app/db/migrations/ — add source_url TEXT column
## Request Recipes sourced from external corpora (Purple Carrot, Allrecipes, Food.com, etc.) should display a small, visually innocuous attribution link at the bottom of the recipe detail view. ## Design - Small muted text, below the recipe body, above any action buttons - Format: `Recipe from [Purple Carrot](https://www.purplecarrot.com/recipe/<slug>)` - Only shown when `source_url` is non-null on the recipe record - Uses the canonical live URL (not Wayback) — `SourceURL` column in `recipes_purplecarrot.parquet` ## Data availability - `SourceURL` column added to `recipes_purplecarrot.parquet` by `scripts/pipeline/purple_carrot/scrape_recipes.py` - Needs a `source_url` column added to the `recipes` table (migration) and populated by `build_recipe_index.py` - Allrecipes and Food.com records do not currently have canonical URLs — low priority to backfill ## References - `scripts/pipeline/purple_carrot/scrape_recipes.py` — `SourceURL` field - `scripts/pipeline/build_recipe_index.py` — importer to extend - `app/db/migrations/` — add `source_url TEXT` column
pyr0ball added the
enhancement
label 2026-06-01 12:11:32 -07:00
pyr0ball added this to the Post-Launch milestone 2026-06-01 12:11:32 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/kiwi#139
No description provided.