How lertaro/lertaro works
Lertaro is a Windows search and productivity launcher. Its main workflow takes a user query through dispatch and search execution to the background search service, which streams results back for display. The repository also supports live drive indexing, multiple search surfaces, shell actions and previews, disk-space analysis, plugins, and local file transfer. Several links below are documented capabilities rather than inspected call paths; unsampled implementation details are not inferred.
Main entry points: SearchService.cs Search service · SearchQueryDispatchController.cs Query dispatch · SearchWindowInputHandler.cs Search windows · UsnIndexer.cs USN drive index
Components 22
Search experience
- Query dispatch
App/ViewModels/Search/Dispatch/SearchQueryDispatchController.cs - Search execution
App/ViewModels/Search/SearchExecutionEngine.cs - Result rows
App/Models/AppSearchResult.cs - Search windows
App/Views/SearchWindow/SearchWindowInputHandler.cs - Quick panel
App/Services/QuickPanel/QuickPanelManager.cs - Inline search
App/Services/InlineSearch/InlineSearchManager.cs
Index and search service
- Search service
Core/Services/Search/SearchService.cs - Search engine
Core/SearchEngine.cs - Index startup
Core/SearchEngineInitializer.cs - USN drive index
Core/Indexer/Usn/UsnIndexer.cs - Index cache
Core/Indexer/Usn/LocalDriveCacheLocator.cs - Drive maintenance
Core/DriveMonitoring/SearchEngineDriveMaintenance.cs
Windows productivity
- Shell actions
App/Services/ShellMenu/Presenter/ShellMenuPresenter.cs - QuickLook preview
App/Services/QuickLookManager.cs - Disk treemap
App/ViewModels/SpaceAnalyzer/TreemapLayout.cs
Plugins and transfer
- Plugin manager
App/Services/Plugin/PluginManager.cs - Plugin search SDK
PluginSdk/Services/SearchQueryService.cs - LocalSend
Core/Services/LocalSend/LocalSendServiceManager.cs
App and service
- WPF application
App/App.xaml.cs - Background service
Service/Program.cs - CLI client
Cli/Search/AppSearchPipeClient.cs
Other components
- User
Connections 22
- User → Search windows: enters query
- Search windows → Query dispatch: submits query
- Query dispatch → Search execution: dispatches search
App/ViewModels/Search/Dispatch/SearchQueryDispatchController.cs - Search execution → Search service: requests search
App/ViewModels/Search/SearchExecutionEngine.cs - Search service → Search engine: searches index
- Search service → Result rows: streams results
- Search engine → USN drive index: uses indexer
Core/SearchEngine.cs - Index startup → USN drive index: initializes index
Core/SearchEngineInitializer.cs - Index startup → Index cache: loads cache
Core/SearchEngineInitializer.cs - Drive maintenance → USN drive index: maintains drives
Core/DriveMonitoring/SearchEngineDriveMaintenance.cs - Drive maintenance → Index cache: deletes cache
Core/DriveMonitoring/SearchEngineDriveMaintenance.cs - User → Quick panel: opens panel
- User → Inline search: invokes inline
- User → Shell actions: opens actions
- User → QuickLook preview: previews files
- User → Disk treemap: explores disk
- Query dispatch → Plugin manager: dispatches plugins
App/ViewModels/Search/Dispatch/SearchQueryDispatchController.cs - Plugin manager → Plugin search SDK: exposes search SDK
- User → LocalSend: shares files
- WPF application → Search windows: hosts windows
- Background service → Search service: hosts search
- CLI client → Search service: requests search