Knowledge Base Collector - save YouTube, URLs, text to Obsidian with AI summarization. Auto-transcribes videos, fetches pages, supports weekly/monthly digest emails and nightly research.
Knowledge Base Collector - Save YouTube, URLs, and text to Obsidian with automatic transcription and summarization.
# Install dependencies
pip install yt-dlp faster-whisper requests beautifulsoup4
# For AI summarization (optional)
pip install openai anthropic
# Collect YouTube video
python3 scripts/collect.py youtube "https://youtu.be/xxxxx" "stock,investing"
# Collect URL
python3 scripts/collect.py url "https://example.com/article" "python,api"
# Collect plain text
python3 scripts/collect.py text "My note content" "tag1,tag2"
# Collect YouTube
./scripts/collect.sh "https://youtu.be/xxxxx" "stock,investing" youtube
# Collect URL
./scripts/collect.sh "https://example.com/article" "python,api" url
# Collect plain text
./scripts/collect.sh "My note" "tag1,tag2" text
Automated AI/LLM/tech trend tracking - runs daily and saves to Obsidian.
# Save to Obsidian only
./scripts/nightly-research.sh --save
# Save to Obsidian AND send email
./scripts/nightly-research.sh --save --send
# Send email only
./scripts/nightly-research.sh --send
# Run every night at 10 PM
0 22 * * * /path/to/nightly-research.sh --save --send
Edit the script to customize:
VAULT_PATH = os.path.expanduser("~/Documents/YourVault")
NOTE_AUTHOR = "YourName"
Notes saved to: {VAULT_PATH}/yyyy-mm-dd-title.md
---