Repository navigation
feat: integrate ytdlp - #12
Merged
Merged
Conversation
derethil
marked this pull request as ready for review
September 25, 2026 05:15
derethil
force-pushed
the
feat/ytdlp-integration
branch
from
September 25, 2026 05:21
4b99201 to
3444e5a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new
importcommand to the CLI, enabling users to import recipes from social media video sources. It also adds robust validation and error handling for video imports, integrates video configuration into the global config, and makes several improvements to the build process and dependency management. The most important changes are grouped below.New Import Command & Validation:
importcommand (incmd/import/import.go) to fetch and download videos from supported social media sources, with support for dry-run and progress reporting.cmd/import/validate.goand tests incmd/import/validate_test.go). [1] [2]cmd/root.go). [1] [2]Video Import Configuration & Error Handling:
VideoConfigsection to the main configuration, with sensible defaults for format and max duration (internal/config/config.go,internal/config/section/video.go). [1] [2] [3]cliutil(internal/cliutil/errors.go).Build System & Dependency Updates:
go-ytdlpfor video downloading (go.mod). [1] [2]ffmpeg,yt-dlp), and improves the devshell and build wrapper for the CLI (flake.nix). [1] [2]Logging & CLI Behavior:
cmd/root.go). [1] [2]recipecommand usage string for clarity (cmd/recipe/recipe.go).Other Minor Improvements:
internal/tandoor/client.go). [1] [2]