How rajsingh18110/blend works
Blend Engine is a privacy-focused metasearch web application. Its main flow serves the browser UI, accepts a category search through the Flask API, routes the query to providers, and ranks/processes results for the response. The README also documents Navar assistant features, autocomplete, news and media workflows, and a compatibility search core. Edges reflect the README or shown source references; unsampled implementations are represented conservatively, without assuming undocumented calls.
Main entry points: app.py Flask app and API · search_router.py Search router · blend_core Compatibility search core · provider_manager.py Provider selection
Components 20
Web application
- Flask app and API
src/blend/app.py - Browser UI
- Response cache
src/blend/app.py - News RSS search
src/blend/app.py - Autocomplete
src/blend/blend_core/autocomplete.py
Search orchestration
- Search router
src/blend/blend_engine/search_router.py - Provider selection
src/blend/blend_engine/provider_manager.py - External providers
src/blend/providers - Result ranking
src/blend/blend_engine/ranking_engine.py - Result processing
src/blend/blend_engine/result_processor.py - Page crawling
src/blend/scrapers/crawl4ai_wrapper.py
Navar assistant
- Navar assistant
src/blend/navar.py - Built-in knowledge
src/blend/navar_knowledge.py - Media helpers
src/blend/ytdl_downloader.py
Search compatibility
- Compatibility search core
src/blend/blend_core - Query parsing
src/blend/blend_core/query.py - Search source adapters
src/blend/blend_core/sources - Result pipeline
src/blend/blend_core/pipeline - Result models
src/blend/blend_core/pipeline/models.py
Other components
- Search user
Connections 20
- Search user → Browser UI: searches
README.md - Browser UI → Flask app and API: calls search API
README.md - Flask app and API → Search router: routes query
src/blend/app.py - Flask app and API → Response cache: checks cache
src/blend/app.py - Flask app and API → Response cache: stores response
src/blend/app.py - Flask app and API → News RSS search: serves news
README.md - Browser UI → Autocomplete: requests suggestions
README.md - Search router → Provider selection: selects providers
src/blend/blend_engine/search_router.py - Provider selection → External providers: dispatches searches
src/blend/blend_engine/provider_manager.py - Provider selection → Search source adapters: checks engine categories
src/blend/blend_engine/provider_manager.py - Search router → Result ranking: ranks results
src/blend/blend_engine/search_router.py - Search router → Result processing: processes results
src/blend/blend_engine/search_router.py - Search router → Page crawling: crawls results
src/blend/blend_engine/search_router.py - Browser UI → Navar assistant: requests assistant
README.md - Navar assistant → Built-in knowledge: uses knowledge base
README.md - Browser UI → Media helpers: requests media helpers
README.md - Compatibility search core → Query parsing: parses queries
src/blend/blend_core/query.py - Compatibility search core → Search source adapters: provides adapters
src/blend/blend_core/sources/blend_engine.py - Compatibility search core → Result pipeline: processes results
src/blend/blend_core/query.py - Result pipeline → Result models: uses result models