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

Rockstar - Clipboard Manager

Cover

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.

rockstar - clipboard manager - A clipboardmanager to clip text, images, files for MacOS | Product Hunt

Clipboard Manager App

Demo on youtube

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

Quick Setup

  1. Download and mount the DMG file
  2. Drag ClipboardManager.app to your Applications folder
  3. Launch the app - it will appear in your menu bar
  4. 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

  1. Build the Go backend:
go build ./cmd/clipboard-manager
  1. Open the Xcode project:
open ClipboardManager/ClipboardManager.xcodeproj
  1. Build and run the macOS app through Xcode

Testing

go test ./...

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

License

MIT License - see LICENSE file