← 返回
内容创作 中文

Paprika Recipe Importer

Convert recipe text (pasted text, video transcript, image description, or any raw content) into a .paprikarecipes file that can be imported directly into the...
将食谱文本(粘贴文本、视频字幕、图片描述或任意原始内容)转换为可直接导入...的 .paprikarecipes 文件。
nogara
内容创作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 796
下载
💾 15
安装
1
版本
#latest

概述

Paprika Recipe Importer

Convert recipe content (any format/language) into a .paprikarecipes file for Paprika 3.

Workflow

  1. Extract recipe fields from the input (text, image, transcript, URL content).
  2. Build a JSON recipe object — only include fields actually present in the source; do NOT invent values.
  3. Run the packaging script to produce the .paprikarecipes file.
  4. Deliver the file to the user.

Step 1 — Extract Fields

Parse the input and populate only the fields that exist in the source:

JSON fieldNotes
--------------------------
nameRecipe title. Required.
ingredientsNewline-separated list. Format: quantity unit ingredient.
directionsNewline-separated steps.
descriptionIntro/summary paragraph, if present.
notesTips, variations, author notes.
servingse.g. "4 porções" or "serves 6"
prep_timee.g. "15 min"
cook_timee.g. "30 min"
total_timee.g. "45 min"
sourceAuthor name, site name, person.
source_urlOriginal URL, if available.
categoriesJSON array of strings, e.g. ["Jantar", "Massas"]
difficulty"Easy", "Medium", or "Hard" — only if explicitly stated.
ratingInteger 1–5 — only if explicitly stated.
nutritional_infoAny nutritional data present.

Rules:

  • Never fabricate values not present in the source.
  • Keep the original language (Portuguese, English, mixed — whatever the source uses).
  • Ingredients: one per line, preserve quantities and units exactly.
  • Directions: one step per line; numbered steps → strip the number (Paprika handles display).

Step 2 — Build JSON

Write the recipe as a JSON file to a temp path, e.g. /tmp/.json.

Step 3 — Run the Script

python3 ~/.openclaw/skills/paprika-recipe-importer/scripts/build_paprikarecipes.py \
  /tmp/<recipe-name>.json \
  /tmp/<recipe-name>.paprikarecipes

The script accepts a single JSON object or a JSON array (for multiple recipes).

Step 4 — Deliver

Send the .paprikarecipes file to the user. Mention:

  • How to import: File → Import in Paprika (or double-click the file on macOS/iOS).
  • Which fields were found and which were absent from the source.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 00:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Chief Feature Workflow

nogara
使用 Chief CLI 在 Chief 管理的项目中创建并实现新功能。适用于创建新 PRD、使用 Chief 实现功能或搭建...
★ 1 📥 818
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,434
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,438