$ show alexcding/gemini-desktop-mac
This is a macOS desktop application that serves as an unofficial wrapper for the Google Gemini web interface. Built with SwiftUI and WebKit, it provides a native macOS experience including a main window, floating chat bar, menu bar integration, and global keyboard shortcuts. The application loads the official Gemini website in a web view while adding desktop-specific features like window management, persistent preferences, and system integration. The architecture follows a coordinated Model-View-ViewModel pattern with clear separation between UI components (Views), state management (WebViewModel), and application coordination (AppCoordinator). Notable implementation details include sophisticated window positioning logic, automatic chat bar expansion based on webpage content detection, and thoughtful handling of web view events like external links and file downloads.
The LLM identified 1 files worth highlighting for reuse:
Implements a floating NSPanel that automatically expands when users are in a Gemini conversation and contracts when on the start page. Features include click-outside-to-dismiss, ESC key handling, CMD+N for new chat, persistent positioning, and smooth animations. Demonstrates sophisticated window management and content-aware UI adaptation patterns.