A native macOS clipboard manager built with Swift and SwiftUI.
- Monitors clipboard and maintains history
- Menu bar access for quick clipboard item selection
- Search through clipboard history
- Native macOS app (no Electron)
- Supports text, URLs, and file paths
- Persistent history between app launches
- macOS 13.0 or later
- Xcode 14+ or Swift 5.9+ command line tools
-
Clone the repository:
git clone <your-repo-url> cd clipboard-new
-
Build and create the app bundle:
./build-app.sh
-
Launch the app:
open ClipboardHero.app
The app will appear as a menu bar icon and runs continuously in the background to monitor clipboard changes.
cd ClipboardHero
swift build -c release
.build/release/ClipboardHero- Open the
ClipboardHerofolder in Xcode - Build and run the project
cd ClipboardHero
swift run # Debug mode
swift run -c release # Release modeswift package generate-xcodeproj
# Then open the .xcodeproj file in Xcode- ClipboardMonitor: Core service that polls NSPasteboard for changes
- ClipboardItem: Data model for clipboard entries
- SwiftUI Views: Modern UI for both main window and menu bar
- UserDefaults: Persistent storage for clipboard history