Back to reels-wiki

Core Pipeline Architecture

End-to-end flow from six capture surfaces into an atomic 3-layer Obsidian LLM Wiki vault.

Raw SVG
reels-wiki Core Pipeline Architecture Flow from six capture surfaces through O(1) media ID deduplication, the 3-stage cost-aware extraction waterfall, raw JSON artifact storage, LLM synthesis filtering, and atomic Obsidian 3-layer vault writes. new keep false CAPTURE Six Entry Points CLI · Telegram · MCP HTTP / Ext · IG Export Reels · Shorts · TikTok DEDUPE GATE O(1) Media ID Index sources/.reels_index.json inbox/reels-queue.jsonl Shortcode · yt_<id> · tt_<id> COST-AWARE EXTRACTION WATERFALL 1. yt-dlp Metadata & Subtitles >= 150 chars 2. Whisper Audio Fallback >= 40 chars 3. Gemini Vision OCR (4 frames) img / short STORED PAYLOAD Raw Media Artifact sources/reels/<id>.json schema v1 · no raw media Offline reprocess source STRUCTURED SYNTHESIS LLM Filter & Normalizer Groq · Gemini · Ollama JSON repair + vault rules Reads _CLAUDE.md & _index.md Marked Skipped should_keep = false 3-LAYER OBSIDIAN VAULT Atomic Note & Wiki Sync <folder>/<slug>.md _index.md · _log.md · digests/ SHA-256 hash + link safe