A lightweight floating browser for macOS built with SwiftUI + WKWebView.
FloatingBrowser opens an always-on-top browser window that can access any website, be hidden or shown instantly using keyboard shortcuts, and take browser-only screenshots using native Apple APIs.
JOIN OUR DISCORD TO GET THE UPDATED OVERLAY : https://discord.gg/KqjurQ4B
- 🪟 Always-on-top floating window
- 🌐 Browse any website
- ⌨️ Keyboard shortcuts
- ⌘1 → Hide / Unhide browser window
- ⌘3 → Screenshot browser view
- 📸 Browser-only screenshots (saved to Desktop)
- 🔁 Back / Forward / Reload
- 🧭 URL bar navigation
- 🖥 Appears across all Spaces and fullscreen apps
Add screenshots here after building the app
screenshots/
├── floating-browser.png
├── browsing-example.png
└── screenshot-output.png
FloatingBrowser/
├── FloatingBrowserApp.swift
├── AppDelegate.swift
├── FloatingPanelController.swift
├── WebView.swift
└── FloatingBrowserView.swift
- macOS 12 or newer
- Xcode 14+
- Swift / SwiftUI
- Open Xcode
- Create a new macOS → App
- Interface: SwiftUI
- Language: Swift
- Delete default SwiftUI files
- Copy project files into the Xcode project
- Build & Run
▶️
| Shortcut | Action |
|---|---|
| ⌘1 | Hide / Unhide floating window |
| ⌘3 | Take browser screenshot |
Screenshots are saved as PNG files on the Desktop.
- ❌ No Screen Recording permission
- ❌ No Accessibility permission
- ❌ No hidden background behavior
- ✅ Uses WKWebView snapshot API
- Global (system-wide) hotkeys
- Opacity slider
- Click-through mode
- Mini-player mode
- Window presets
- Bookmarks & history
MIT License
JOIN OUR DISCORD TO GET THE UPDATED OVERLAY : https://discord.gg/KqjurQ4B
Pull requests and improvements are welcome.