Documentation
Adding Content
How to add YouTube, articles, PDFs, and GitHub repos.
Supported Sources
YouTube
Transcripts via API, Whisper fallback
Articles
Web content via Trafilatura
PDFs
Local files or URLs via PyMuPDF
GitHub
README extraction via API
Examples
# YouTube video
learnlock> https://youtube.com/watch?v=...
# Web article
learnlock> https://example.com/blog/post
# GitHub repository
learnlock> https://github.com/user/repo
# Local PDF
learnlock> /path/to/document.pdf
# PDF URL
learnlock> https://arxiv.org/pdf/1234.5678.pdfWhat Gets Extracted
For each source, LearnLock:
- Generates a topic-based title (3-7 words)
- Extracts 3-20 key concepts
- Creates a challenge question for each
- Pulls a source quote for context
Duplicate Detection
learnlock> https://youtube.com/watch?v=...
Already added: Neural Networks Explained
10 conceptsLimits
- Content truncated to 8,000 characters
- Concept names max 200 characters
- Source quotes max 500 characters
- 3-20 concepts per source
Next:
OCR Support