How kunkka19xx/look works
Look is a local-first, keyboard-driven launcher for macOS, Windows, and Linux. Users open the launcher, type a query or command, inspect results, then launch or act on them; search parsing and the native bridge form the core internal path. Separate branches cover quick actions, clipboard and file previews, AI assistance, and platform integrations. The tree and README document these capabilities, but sampled source is partial, so uncertain connections—especially indexing and the Tauri frontend-to-command wiring—are omitted.
Main entry points: LauncherView.swift macOS launcher UI · LaunchpadController.swift Quick actions · query.rs Query parsing · EngineBridge.swift Engine bridge
Components 20
Search and launcher
- macOS launcher UI
apps/macos/LauncherApp/look-app/Views/Launcher/LauncherView.swift - Desktop web UI
apps/linows/src/js/app.js - Engine bridge
apps/macos/LauncherApp/look-app/Support/Launcher/EngineBridge.swift - FFI APIs
bridge/ffi/src/lib.rs - Query parsing
core/engine/src/query.rs
Actions and commands
- Quick actions
apps/macos/LauncherApp/look-app/Views/Launcher/LaunchpadController.swift - System controls
apps/macos/LauncherApp/look-app/Support/QuickActions/ActionAdapterRegistry.swift - macOS controls
apps/macos/LauncherApp/look-app/Support/QuickActions/Controls - Command screens
apps/macos/LauncherApp/look-app/Views/Commands - Action controller
apps/macos/LauncherApp/look-app/Support/Actions/ActionController.swift
AI and previews
- AI provider router
apps/macos/LauncherApp/look-app/Support/AI/AIQueryRouter.swift - AI providers
apps/macos/LauncherApp/look-app/Support/AI - File previews
apps/macos/LauncherApp/look-app/Support/QuickLookPreviewService.swift
Platform runtime
- Tauri runtime
apps/linows/src-tauri/src/main.rs - Desktop commands
apps/linows/src-tauri/src/commands.rs - macOS app discovery
core/engine/src/platform/macos/apps.rs - Windows app discovery
core/engine/src/platform/windows/apps.rs - Clipboard history
apps/macos/LauncherApp/look-app/Support/Launcher/ClipboardHistoryStore.swift
Other components
- User
- Operating system
Connections 21
- User → macOS launcher UI: types and selects
- User → Desktop web UI: types and selects
- macOS launcher UI → Engine bridge: requests search
- Engine bridge → FFI APIs: calls C APIs
- FFI APIs → Query parsing: parses queries
- Query parsing → macOS app discovery: uses app candidates
- Query parsing → Windows app discovery: uses app candidates
- Desktop web UI → Tauri runtime: invokes commands
- Tauri runtime → Desktop commands: registers commands
- User → Quick actions: activates tiles
- Quick actions → System controls: resolves controls
- Quick actions → Engine bridge: refreshes tiles
- Quick actions → Operating system: sends media commands
- System controls → macOS controls: selects adapters
- User → Action controller: proposes actions
- User → AI provider router: requests answers
- AI provider router → AI providers: selects provider
- AI providers → Operating system: uses local model
- macOS launcher UI → File previews: requests thumbnails
- macOS launcher UI → Clipboard history: shows clipboard results
- Command screens → Action controller: presents action results