Authorization notice. By2 KB is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA self-learner starting a new subject who wants a short list of videos to study before committing time to one.
The problemFinding a good starting video on an unfamiliar topic takes time, and full transcription of every candidate is wasteful.
The outcomeSeparate Bilibili and YouTube recommendation lists, and the chosen video moves through the normal transcription and knowledge-base workflow.
What you need first
- 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
Steps
- Complete the Hermes setup with
by2kb init --preset agent-local,by2kb models install, andby2kb agent install hermes. - Restart the gateway with
hermes gateway restart. - Send a message such as
by2kb 我想了解一下 TiDB 向量检索to the Hermes bot. - Review the recommendation lists returned for each enabled source.
- Reply with the number of the video you want to transcribe and save.
Prompt for your agent
Use the by2kb repository (github.com/Charlesmpc/by2kb) through Hermes to search for videos about <topic>. Expected output: separate Bilibili and YouTube lists with unique numbers. Reply with the number of the chosen video and verify that three Markdown artifacts are written to the knowledge base.
Caveat. Lists are limited to 3 to 5 videos per enabled source, and caption-only previews never download audio or run ASR, so previews only show what captions provide.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Charlesmpc/by2kb and "Browse video picks for a topic and save the ones you choose"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer