How hayabhay/frogbase works
FrogBase turns web URLs or local media into searchable, timestamped knowledge: users add media, FrogBase downloads or ingests it, generates captions, embeds segments, indexes them, and returns semantic-search results. The Streamlit UI exposes ingestion, search, media browsing, library management, and model settings. The README documents the major processing integrations; sampled source confirms the core orchestration and selected UI calls, but does not expose every implementation detail, so some documented subsystem links cite the README.
Main entry points: core.py FrogBase Orchestrator · models.py Transcribe and Embed · media.py Media Ingestion · captions.py Caption Management
Components 16
Streamlit UI
- Home and Search
ui/01_🏠_Home.py - UI Session Config
ui/config.py - Library Management
ui/pages/02_📚_Libraries.py - Model Settings UI
ui/pages/04_⚙️_Settings.py
Media Processing
- FrogBase Orchestrator
frogbase/core.py - Media Ingestion
frogbase/media.py - Runtime Config
frogbase/config.py
Captions and Search
- Caption Management
frogbase/captions.py - Transcribe and Embed
frogbase/models.py - Vector Index
frogbase/models.py
Library State
- TinyDB Library
frogbase/core.py
Other components
- User
- yt-dlp
- Whisper
- Sentence Transformers
- Media Platforms
Connections 17
- User → Home and Search: uses
README.md - Home and Search → FrogBase Orchestrator: adds and searches
ui/01_🏠_Home.py - UI Session Config → FrogBase Orchestrator: creates instance
ui/config.py - Library Management → UI Session Config: resets session
ui/pages/02_📚_Libraries.py - Model Settings UI → Transcribe and Embed: updates settings
ui/pages/04_⚙️_Settings.py - FrogBase Orchestrator → Media Ingestion: ingests media
README.md - Media Platforms → yt-dlp: provides sources
README.md - yt-dlp → Media Ingestion: downloads files
README.md - Media Ingestion → TinyDB Library: stores metadata
frogbase/core.py - FrogBase Orchestrator → Transcribe and Embed: transcribes and embeds
frogbase/core.py - Transcribe and Embed → Whisper: transcribes audio
README.md - Transcribe and Embed → Caption Management: creates captions
frogbase/models.py - Transcribe and Embed → Sentence Transformers: embeds segments
README.md - FrogBase Orchestrator → Vector Index: indexes embeddings
README.md - Vector Index → Caption Management: resolves results
frogbase/core.py - Caption Management → TinyDB Library: stores records
frogbase/core.py - FrogBase Orchestrator → TinyDB Library: initializes library
frogbase/core.py