
gittech. site
for different kinds of informations and explorations.
ClipboardManager for macOS which can clip images, text and can sync to your OBS
Published at
Dec 25, 2024
Main Article
Rockstar - Clipboard Manager
A powerful clipboard manager for macOS that seamlessly integrates with your workflow. Copy any content - text, images, or files - and access them quickly through a native macOS app. Optionally sync your clipboard history with Obsidian for permanent storage and organization.
Features
- Quick Access: Access your clipboard history instantly through the menu bar
- Universal Search: Find any copied content quickly with the powerful search interface
- Rich Content Support:
- Text with formatting
- Images and files
- Source application tracking
- Automatic metadata extraction
- Obsidian Integration: Sync selected clips to your Obsidian vault
- Privacy-Focused: All data stored locally on your machine
Architecture
βββββββββββββββββββ ββββββββββββββββ
β Native UI β β Obsidian β
ββββββββββ¬βββββββββ βββββββββ¬βββββββ
β β
ββββββ΄βββββββββββββββββββββββ΄βββββ
β Core Go Service β
ββββββββββββββββββ¬ββββββββββββββββ
β Clip Manager β Categorizer ββ
ββββββββββββββββββΌβββββββββββββββ€β
β Search Engine β Sync Manager ββ
ββββββββββββββββββ΄ββββββββββββββββ
β β
ββββββ΄βββββββββββββ βββββ΄βββββ
β SQLite + FTS5 β β Backup β
βββββββββββββββββββ ββββββββββ
The application is built with a hybrid architecture:
- Frontend: Native macOS app built with SwiftUI for optimal performance and integration
- Backend: Go service handling clipboard monitoring, storage, and search
- Storage: SQLite with FTS5 for efficient full-text search
- Sync: Optional Obsidian integration for permanent storage
Installation
Prerequisites
- macOS 12.0 or later
- Download the latest release
Quick Setup
- Download and mount the DMG file
- Drag ClipboardManager.app to your Applications folder
- Launch the app - it will appear in your menu bar
- Grant necessary permissions when prompted
For detailed installation instructions and developer guide for creating releases, see INSTALL.md.
Development
Prerequisites
- Go 1.21 or later
- Xcode 14.0 or later
- SQLite
Project Structure
.
βββ ClipboardManager/ # Native macOS SwiftUI app
βββ cmd/ # Command-line tools
βββ internal/ # Core Go implementation
β βββ clipboard/ # Clipboard monitoring
β βββ obsidian/ # Obsidian integration
β βββ server/ # HTTP API server
β βββ service/ # Core service
β βββ storage/ # Storage implementation
βββ examples/ # Example implementations
Building from Source
- Build the Go backend:
go build ./cmd/clipboard-manager
- Open the Xcode project:
open ClipboardManager/ClipboardManager.xcodeproj
- Build and run the macOS app through Xcode
Testing
go test ./...
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
License
MIT License - see LICENSE file