Add library-cli: YouTube knowledge library manager#12
Open
DTrejo wants to merge 3 commits into
Open
Conversation
- Deno CLI tool for building searchable video library - Downloads YouTube metadata, descriptions, chapters, transcripts (no video) - Uses yt-dlp for metadata extraction, ripgrep for search - JSON3 format for transcripts (no duplication) - Color-coded output, Google-like search results - Organized by date with dasherized folders - Includes 6 passing smoke tests Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
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.
note to readers: I barely scanned this code and didn't do any refactoring for styling or organization. so this is a pretty good representation of how js / deno code comes out without any refactoring prompting (essentially just vibe coded).
Adds a Deno CLI tool for building a searchable knowledge library from YouTube videos.
Features
Commands
library add [url]- Add video to librarylibrary search [query]- Search with ripgreplibrary --help- Show helpInstallation
cd library-cli deno install --global --config deno.jsonc --allow-read --allow-write --allow-env --allow-run --allow-net --name library --force main.tsIncludes 6 passing smoke tests.
Development Cost Analysis
Raw Token Usage:
Session: 34m 55s (time spent waiting for single agent)
At 6 hours/day of coding (pricing):
Note: Caching dramatically reduces effective token usage. Sessions like this use ~10/day at 6hr/day pace.
Videos in Library
Summary of Videos: ai engineering todo list extracted from the video descriptions