How ss-sevesh/reeltoreal works
ReelToReal turns short-form videos into a timestamped, searchable knowledge vault, with both a React dashboard and alternate Streamlit interface. Its main workflow downloads a reel, extracts audio and frames, transcribes and captions them, generates an Obsidian note, and indexes the note for hybrid search and grounded chat. The README documents the pipeline and its integrations; source excerpts confirm selected indexing and UI details. Several API, chat, diagnostics, and vault-browser implementations are unsampled, so their internal wiring is not expanded.
Main entry points: server.py FastAPI backend · ingest.py Video download · answer.py Grounded RAG answers · search.py Hybrid retrieval and fusion
Components 21
User interfaces
- React dashboard
src/App.tsx - Streamlit UI
app.py - Frontend API client
src/services/api.ts - FastAPI backend
server.py - Express backend
server.ts
Video ingestion
- Video download
src/ingest.py - Metadata classification
src/classify.py - Audio extraction
src/audio.py - Frame sampling
src/frames.py
Knowledge processing
- Timestamped transcription
src/transcribe.py - Visual captioning
src/caption.py - Obsidian note generation
src/notegen.py
Search and answers
- Hybrid retrieval and fusion
src/search.py - Grounded RAG answers
src/answer.py - Live web search
- Groq or Ollama LLM
- Node vault search
server/vault.ts
Vault and indexes
- Obsidian vault notes
src/notegen.py - Qdrant vectors
src/vector_db.py - SQLite FTS5 index
src/index.py
Other components
- User
Connections 27
- User → React dashboard: uses dashboard
README.md - User → Streamlit UI: uses alternate UI
README.md - React dashboard → Frontend API client: calls API client
src/App.tsx - Frontend API client → FastAPI backend: requests backend
- User → FastAPI backend: uses API
README.md - User → Express backend: uses Node backend
README.md - FastAPI backend → Video download: runs pipeline
server.py - Streamlit UI → Video download: starts ingestion
app.py - Video download → Metadata classification: inspects metadata
app.py - Video download → Audio extraction: extracts audio
README.md - Video download → Frame sampling: samples frames
README.md - Audio extraction → Timestamped transcription: transcribes audio
README.md - Frame sampling → Visual captioning: captions frames
README.md - Timestamped transcription → Obsidian note generation: provides transcript
README.md - Visual captioning → Obsidian note generation: provides captions
README.md - Obsidian note generation → Obsidian vault notes: writes notes
README.md - Obsidian vault notes → Qdrant vectors: indexes vectors
README.md - Obsidian vault notes → SQLite FTS5 index: indexes text
README.md - Hybrid retrieval and fusion → Qdrant vectors: queries vectors
src/search.py - Hybrid retrieval and fusion → SQLite FTS5 index: queries lexical index
src/search.py - FastAPI backend → Hybrid retrieval and fusion: serves search
server.py - FastAPI backend → Grounded RAG answers: serves chat
server.py - Grounded RAG answers → Hybrid retrieval and fusion: retrieves vault context
src/answer.py - Grounded RAG answers → Live web search: fetches live context
README.md - Grounded RAG answers → Groq or Ollama LLM: generates comparison
README.md - Express backend → Node vault search: uses vault parser
server.ts - Node vault search → Obsidian vault notes: reads vault notes