What do you want to do?
5 use cases
-
Save a Bilibili or YouTube video as Markdown notes
Turn one video link into a raw transcript, short abstract, and long study notes on disk.
- REPO
Charlesmpc/by2kb - Research
- Intermediate
View 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.
- REPO
-
Send video links to a Hermes bot and get notes back
Forward a Bilibili or YouTube link in chat and receive the abstract and knowledge-base paths.
- REPO
Charlesmpc/by2kb - Research
- Intermediate
View prompt
Set up the by2kb repository (github.com/Charlesmpc/by2kb) so an authorized Hermes Telegram bot processes video links. Send the link <video URL> to the bot. Expected output: an immediate acknowledgement, then a reply with the short abstract and knowledge-base paths. Verify that the three Markdown files appear in the library folder.
- REPO
-
Browse video picks for a topic and save the ones you choose
Ask Hermes about a learning topic, review recommendations, then reply with a number to transcribe one.
- REPO
Charlesmpc/by2kb - Research
- Intermediate
View prompt
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.
- REPO
-
Turn local meeting audio and lecture video into notes
Ingest an mp3 or mp4 file from disk and produce the same three Markdown artifacts.
- REPO
Charlesmpc/by2kb - Research
- Intermediate
View prompt
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.
- REPO
-
Track and control video ingest jobs from an agent
Check status, wait, cancel, or retry a running By2 KB job using JSON output.
- REPO
Charlesmpc/by2kb - Research
- Advanced
View prompt
Use the by2kb repository (github.com/Charlesmpc/by2kb) to start ingesting <video URL> and then manage the job with status, wait, cancel, and retry in JSON mode. Expected output: a JSON status for each step and the final artifact paths. Verify that the job reaches a completed state or that the retry resumes it.
- REPO
Quick start with By2 KB
- Check you have what it needs: Python 3.12 or newer; pipx installed; ffmpeg and ffprobe available on PATH.
- Open Charlesmpc/by2kb on GitHub and read the README and license.
- Run
pipx install "by2kb[asr-whisper,youtube]"to install By2 KB with local Whisper and YouTube support. - Run
by2kb init --preset agent-localand follow the prompts for the knowledge base folder and summary mode. - Run
by2kb models installto download the local transcription model. - Run
by2kb doctorand fix any failed check it reports.
These steps come from our top use case, Save a Bilibili or YouTube video as Markdown notes, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Charlesmpc/by2kb
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 freeAbout this repo
- Who it is forPeople who find videos in a mobile app or on their computer and want the content kept as searchable Markdown in their own knowledge base.
- Why it is hot154 stars, launched 72 days ago
- LanguagePython
- Sourcegithub.com/Charlesmpc/by2kb · Back to Hot repos
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
Add this badge to your README
Maintain By2 KB? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/charlesmpc-by2kb/?utm_source=github&utm_medium=badge&utm_campaign=Charlesmpc-by2kb)
HTML
<a href="https://dedupedai.com/use-cases/charlesmpc-by2kb/?utm_source=github&utm_medium=badge&utm_campaign=Charlesmpc-by2kb"><img src="https://dedupedai.com/badge/Charlesmpc/by2kb.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about By2 KB
What is By2 KB?
by2kb is a Python CLI and Hermes plugin that turns Bilibili and YouTube video links, or local audio and video files, into transcript, short abstract, and study-note Markdown files in a local knowledge base. It is an open-source project on GitHub: https://github.com/Charlesmpc/by2kb.
Who is By2 KB for?
People who find videos in a mobile app or on their computer and want the content kept as searchable Markdown in their own knowledge base.
What can I do with By2 KB?
5 use cases so far, for example: Save a Bilibili or YouTube video as Markdown notes; Send video links to a Hermes bot and get notes back; Browse video picks for a topic and save the ones you choose. Each has steps and a copy-paste agent prompt.
What do I need to run By2 KB?
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.
What are alternatives to By2 KB?
Other hot AI repos in Research: Trustworthy Agent Simulation, Kaas, Md2 HD, Loci, LT2 MD.
Is By2 KB safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.