How matthiasgrandl/loungy works
Project type and purpose
• Loungy is a desktop application-launcher (similar to Raycast/Alfred), written primarily in Rust using GPUI for a GPU-accelerated UI, with a small Swift library for macOS native integrations. It’s a “full-stack” local app (UI + core logic + native OS bridge), not a web app or microservice.
File structure
• Top-level:
• src/ ← Rust application code
• swift-lib/ ← Swift package (macOS bridge)
• macos/ ← macOS entitlements & packaging
• build.rs, Cargo.toml, flake.nix ← build/config scripts
• src/ directory:
• main.rs + app.rs ← entrypoint and application initialization
• commands/ ← pluggable features (bitwarden, clipboard, matrix, etc.) behind cargo features
• state.rs, db.rs ← in-memory state, simple persistence
• ipc/ ← Rust-side IPC client/server to communicate with Swift
• platform/ ← OS abstractions (macOS, Linux implementations)
• query.rs, theme.rs, hotkey.rs, window.rs, workspace.rs, loader.rs, assets.rs, date.rs
README for additional insights
• Optional features toggled by cargo feature flags
• Primary target: macOS, experimental Linux support