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 team member or student with recorded meetings or lectures that are not hosted on Bilibili or YouTube.
The problemRecordings sit unsearched on disk, and writing study notes by hand takes hours.
The outcomeTranscript, short abstract, and long study notes for the local file, stored in the knowledge base.
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
- Run
pipx install "by2kb[asr-whisper]"for local Whisper support, or add the youtube extra if needed. (inferred, check the README) - Run
by2kb init --preset agent-localandby2kb models install. - Confirm ffmpeg and ffprobe are on PATH, then run
by2kb doctor. - Run
by2kb ingest ./meeting.mp3for an audio file. - Run
by2kb ingest ./lecture.mp4for a video file.
Prompt for your agent
Use the by2kb repository (github.com/Charlesmpc/by2kb) to ingest the local file <file path> into my knowledge base. Expected output: a content folder with raw, short, and long Markdown files. Verify by running by2kb doctor --json and checking that the media step succeeded.
Caveat. Local files depend on ffmpeg and ffprobe being installed, and the README does not list every supported format beyond the examples given.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Charlesmpc/by2kb and "Turn local meeting audio and lecture video into notes"
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