KB Collector
Knowledge Base Collector - Save YouTube, URLs, and text to Obsidian with automatic transcription and summarization.
Features
- - YouTube Collection - Download audio, transcribe with Whisper, auto-summarize
- URL Collection - Fetch and summarize web pages
- Plain Text - Direct save with tags
- Digest - Weekly/Monthly/Yearly review emails
- Nightly Research - Automated AI/LLM/tech trend tracking
Installation
CODEBLOCK0
Usage (Python Version - Recommended)
CODEBLOCK1
Usage (Bash Version - Legacy)
CODEBLOCK2
Nightly Research (New!)
Automated AI/LLM/tech trend tracking - runs daily and saves to Obsidian.
CODEBLOCK3
Features
- - Searches multiple sources (Hacker News, Reddit, Twitter)
- LLM summarization (optional)
- Saves to Obsidian with tags
- Optional email digest
Cron Setup (optional)
CODEBLOCK4
Configuration
Edit the script to customize:
CODEBLOCK5
Output Format
Notes saved to: INLINECODE0
CODEBLOCK6
Dependencies
- - yt-dlp
- faster-whisper (for transcription)
- requests + beautifulsoup4 (for URL fetching)
- Optional: openai/anthropic (for AI summarization)
Credits
Automated note-taking workflow for Obsidian.
KB Collector
知识库收集器 - 将YouTube、网址和文本保存到Obsidian,支持自动转录和摘要。
功能特性
- - YouTube收集 - 下载音频,使用Whisper转录,自动生成摘要
- 网址收集 - 获取并总结网页内容
- 纯文本 - 直接保存并添加标签
- 摘要 - 每周/每月/每年回顾邮件
- 夜间研究 - 自动化AI/LLM/技术趋势追踪
安装
bash
安装依赖
pip install yt-dlp faster-whisper requests beautifulsoup4
用于AI摘要(可选)
pip install openai anthropic
使用方法(Python版本 - 推荐)
bash
收集YouTube视频
python3 scripts/collect.py youtube https://youtu.be/xxxxx 股票,投资
收集网址
python3 scripts/collect.py url https://example.com/article python,api
收集纯文本
python3 scripts/collect.py text 我的笔记内容 标签1,标签2
使用方法(Bash版本 - 旧版)
bash
收集YouTube
./scripts/collect.sh https://youtu.be/xxxxx 股票,投资 youtube
收集网址
./scripts/collect.sh https://example.com/article python,api url
收集纯文本
./scripts/collect.sh 我的笔记 标签1,标签2 text
夜间研究(新功能!)
自动化AI/LLM/技术趋势追踪 - 每日运行并保存到Obsidian。
bash
仅保存到Obsidian
./scripts/nightly-research.sh --save
保存到Obsidian并发送邮件
./scripts/nightly-research.sh --save --send
仅发送邮件
./scripts/nightly-research.sh --send
功能特性
- - 搜索多个来源(Hacker News、Reddit、Twitter)
- LLM摘要(可选)
- 保存到Obsidian并添加标签
- 可选邮件摘要
Cron定时任务设置(可选)
bash
每晚10点运行
0 22
* /path/to/nightly-research.sh --save --send
配置
编辑脚本以自定义:
python
VAULT_PATH = os.path.expanduser(~/Documents/YourVault)
NOTE_AUTHOR = YourName
输出格式
笔记保存至:{VAULT_PATH}/yyyy-mm-dd-title.md
markdown
created: 2026-03-03T12:00:00
source: https://...
tags: [股票, 投资]
author: George
标题
TLDR: 摘要内容...
正文内容...
保存日期:2026-03-03
依赖项
- - yt-dlp
- faster-whisper(用于转录)
- requests + beautifulsoup4(用于获取网址内容)
- 可选:openai/anthropic(用于AI摘要)
致谢
为Obsidian打造的自动化笔记工作流。