{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "charlesmpc-by2kb--save-video-link-to-knowledge-base",
 "repo": "Charlesmpc/by2kb",
 "repo_url": "https://github.com/Charlesmpc/by2kb",
 "repo_slug": "charlesmpc-by2kb",
 "title": "Save a Bilibili or YouTube video as Markdown notes",
 "page_title": "How to save a Bilibili or YouTube video as Markdown notes with By2 KB",
 "summary": "Turn one video link into a raw transcript, short abstract, and long study notes on disk.",
 "who": "A researcher or student who finds a useful lecture or talk and wants its content kept in a personal Markdown knowledge base.",
 "problem": "Videos are hard to search and revisit, and the transcript usually stays locked inside a browser or app.",
 "outcome": "A content folder with source.json, transcript.json, raw, short, and long Markdown files for the video.",
 "steps": [
  "Run `pipx install \"by2kb[asr-whisper,youtube]\"` to install By2 KB with local Whisper and YouTube support.",
  "Run `by2kb init --preset agent-local` and follow the prompts for the knowledge base folder and summary mode.",
  "Run `by2kb models install` to download the local transcription model.",
  "Run `by2kb doctor` and fix any failed check it reports.",
  "Run `by2kb ingest \"<video URL>\"` with the Bilibili or YouTube link in place of the placeholder. (inferred, check the README)"
 ],
 "agent_prompt": "Use the by2kb repository (github.com/Charlesmpc/by2kb) to ingest the video at <video URL> into my knowledge base. Expected output: a folder under library/ containing raw, short, and long Markdown files plus source.json and transcript.json. Verify by running by2kb doctor and confirming the three Markdown files exist.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "Setup needs ffmpeg on PATH and a terminal, and YouTube player challenges also need Deno or Node.js.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.12 or newer",
  "pipx installed",
  "ffmpeg and ffprobe available on PATH",
  "Optional: Deno 2.3+ or Node.js 22+ for YouTube player challenges",
  "Optional: a Hermes agent for chat-based use, or an OpenAI-compatible API key for standalone summaries"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/charlesmpc-by2kb/save-video-link-to-knowledge-base/",
 "md": "https://dedupedai.com/use-cases/charlesmpc-by2kb/save-video-link-to-knowledge-base/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/charlesmpc-by2kb--save-video-link-to-knowledge-base.json",
 "api_version": "v1"
}
