[CLI] Recipe import from YouTube videos via AI #8

Open
opened 2026-07-17 23:06:45 +02:00 by abiwab · 0 comments
abiwab commented 2026-07-17 23:06:45 +02:00 (Migrated from codeberg.org)

Context

The gram import command currently handles text-based sources. However, cooking videos are a massive source of recipes.

Workflow

Extend the CLI to support YouTube video URLs. The idea I have in mind is to let the system extract the video subtitles (transcript) and feed them directly into the existing AI pipeline to generate the corresponding Gram code.

Technical Note

The core infrastructure for this is already in place, and the prompt specification already exists (prompts/gram-spec.ts). The main requirement is building the extraction and routing logic.

### Context The `gram import` command currently handles text-based sources. However, cooking videos are a massive source of recipes. ### Workflow Extend the CLI to support YouTube video URLs. The idea I have in mind is to let the system extract the video subtitles (transcript) and feed them directly into the existing AI pipeline to generate the corresponding Gram code. ### Technical Note The core infrastructure for this is already in place, and the prompt specification already exists (`prompts/gram-spec.ts`). The main requirement is building the extraction and routing logic.
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
gram-lang/gram#8
No description provided.