Skip to content

ilikebug/VeloxClip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

61 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

VeloxClip

A powerful, AI-enhanced clipboard manager for macOS that helps you manage, search, and transform your clipboard history with intelligent features. Includes built-in screenshot capture and professional image editing tools.

โœจ Features

๐Ÿ“‹ Core Clipboard Management

  • Automatic History Tracking: Seamlessly captures and stores all clipboard content (text, images, RTF, files, colors)
  • Smart Deduplication: Prevents duplicate entries within a 5-second window
  • Configurable History Limit: Set your preferred history size (default: 100 items)
  • Source App Tracking: Know where each clipboard item came from
  • Quick Paste: Fast paste to previous application with customizable global shortcut
  • Favorites System: Mark important items as favorites for quick access
  • Custom Tags: Add custom tags to favorite items for better organization and search
  • Single Instance: Automatically prevents multiple instances from running simultaneously

๐Ÿค– AI-Powered Features

  • OCR Text Recognition: Automatically extracts text from images using Apple Vision framework
  • Text Summarization: Get concise summaries of long text content
  • Translation: Translate text to multiple languages (Chinese, English, Japanese, Korean, Spanish, French, German)
  • Code Explanation: Understand code snippets with AI-generated explanations
  • Text Polishing: Improve and optimize text while preserving the original language
  • Semantic Search: Find clipboard items by meaning, not just keywords

๐Ÿ” Advanced Search

  • Keyword Search: Fast exact match search across content, type, source app, and tags
  • Semantic Search: AI-powered search that understands context and meaning
  • Tag-based Search: Search by custom tags or auto-detected content type tags (json, table, url, code, markdown, etc.)
  • Content Type Tags: Automatically generated tags based on detected content types for better organization
  • Favorites Prioritization: Favorite items appear first in search results
  • Search Debouncing: Optimized performance with intelligent caching
  • Real-time Filtering: Instant results as you type

โญ Favorites & Organization

  • Favorites View: Toggle between favorites and full history with star button or Tab key
  • Permanent Preservation: Favorite items are never deleted by history limit
  • Auto-Tagging: Automatically detects content type and adds corresponding tags:
    • Content types: json, table, url, datetime, code, markdown, longtext
    • Item types: image, file, color
    • Tags are added automatically when previewing items
  • Custom Tags: Add personalized tags to favorite items for better categorization
  • Colorful Tags: Custom tags automatically get vibrant, name-based colors for easy identification
  • Tag Management: Easily add or remove tags from favorite items in the preview pane
  • Smart History Limit: Only non-favorite items count toward history limit, ensuring favorites are always preserved

๐Ÿ“ธ Screenshot & Image Tools

  • Area Screenshot: Capture area screenshots using macOS native tool (default: F1)
  • Paste Image: Display floating image window from clipboard (default: F3)
  • Image Editor: Professional screenshot editing with multiple tools:
    • Drawing Tools: Pen, Arrow, Rectangle, Circle, Line
    • Highlight Tool: Semi-transparent highlighting for emphasis
    • Text Tool: Add text annotations with customizable font size
    • Mosaic Tool: Blur sensitive areas with mosaic effect
    • Eraser Tool: Remove unwanted annotations
  • Edit Workflow: After taking a screenshot, access history and click "Edit" button on image items
  • Save & Copy: Save edited images or copy directly to clipboard

๐ŸŽจ User Interface

  • Spotlight-Style Overlay: Beautiful, modern interface that appears over any application
  • Enhanced Preview Components: Specialized preview views for different content types:
    • JSON Preview: Formatted JSON with syntax highlighting and validation
    • Table Preview: Interactive table view with delimiter detection (CSV, TSV, etc.)
    • URL Preview: Link preview with validation and quick actions (open, copy, QR code)
    • DateTime Preview: Multiple date/time format display and conversion
    • Code Preview: Syntax highlighting for 16+ languages with line numbers and formatting
    • Color Preview: Visual color display with multiple format outputs (HEX, RGB, HSL, etc.)
    • File Preview: File information display with quick actions (reveal, open)
    • Image Preview: Enhanced image view with metadata (dimensions, format, size, color space)
    • Markdown Preview: Rich Markdown rendering with full formatting support
    • Text Summary: Intelligent text summarization for long content
  • Auto-Tagging: Automatically adds content type tags (json, table, url, code, markdown, etc.) when previewing items
  • Markdown Rendering: Rich Markdown support in preview pane
  • Image Preview: View images with OCR text extraction and copy functionality
  • Keyboard Navigation: Full keyboard support for efficient workflow
  • View Switching: Toggle between favorites and history with Tab key or star button
  • Tag Editor: Intuitive tag editing interface in preview pane for favorite items
  • Customizable Shortcuts: Set your preferred global hotkey (default: Cmd+Shift+V)
  • Screenshot Shortcuts: Customize screenshot and paste image shortcuts (defaults: F1, F3)

๐Ÿ”’ Privacy & Performance

  • Cloud AI Processing: AI features powered by OpenRouter API (free DeepSeek model available)
  • No Cloud Sync: Your clipboard data stays on your Mac
  • Efficient Caching: Smart caching for embeddings and search results
  • Memory Optimized: Designed for performance with large clipboard histories

๐Ÿ› ๏ธ Technology Stack

  • Language: Swift 6.0
  • Framework: SwiftUI
  • AI/ML:
    • Apple Vision Framework (OCR)
    • Natural Language Framework (Embeddings, Language Detection)
    • OpenRouter API (DeepSeek Chat model)
  • Platform: macOS 14.0+

๐Ÿ“ฆ Installation

Prerequisites

  • macOS 14.0 or later
  • Xcode Command Line Tools
  • Swift 6.0+

Build from Source

  1. Clone the repository:
git clone https://github.com/yourusername/VeloxClip.git
cd VeloxClip
  1. Build the application:
swift build -c release
  1. Create the app bundle:
./build_app.sh
  1. Copy VeloxClip.app to your Applications folder:
cp -R VeloxClip.app /Applications/

Download from GitHub Releases

If you downloaded the app from GitHub and see a "damaged", "unidentified developer", or "ๅฑ้™ฉๅบ”็”จ" (dangerous app) warning:

Method 1: Control+Click (Recommended)

  1. Control+Click (or right-click) on VeloxClip.app
  2. Select "Open"
  3. Click "Open" in the security dialog

Method 2: System Settings (If you see "ๅฑ้™ฉๅบ”็”จ" warning)

  1. Open System Settings (็ณป็ปŸ่ฎพ็ฝฎ)
  2. Go to Privacy & Security (้š็งไธŽๅฎ‰ๅ…จๆ€ง)
  3. Scroll down to the Security (ๅฎ‰ๅ…จๆ€ง) section
  4. You should see a message about VeloxClip being blocked
  5. Click "ไป่ฆๆ‰“ๅผ€" (Still Open) or "Open Anyway" button

Method 3: Terminal Command Run this command in Terminal:

xattr -cr VeloxClip.app

Note: This is normal for open-source apps without paid Apple Developer certificates. The app is safe - macOS just needs your confirmation the first time.

AI Setup (Required for AI features)

To enable AI features like summarization, translation, code explanation, and text polishing, you need to configure an OpenRouter API key:

Step 1: Get OpenRouter API Key

  1. Visit OpenRouter.ai
  2. Sign up for a free account
  3. Go to API Keys page
  4. Create a new API key
  5. Copy your API key

Note: OpenRouter offers free models including DeepSeek Chat, which is used by default in VeloxClip.

Step 2: Configure API Key in App

  1. Launch VeloxClip
  2. Open Settings (Menu bar icon โ†’ Preferences, or press Cmd+,)
  3. Go to "AI Settings" section
  4. Paste your OpenRouter API Key in the "OpenRouter API Key" field
  5. The API key will be saved automatically

Troubleshooting

  • AI features not working: Make sure you've entered a valid API key in Settings
  • API Key error: Verify your API key is correct and has sufficient credits/quota
  • Rate limit exceeded: You may have hit the rate limit, try again later

๐Ÿš€ Usage

Basic Operations

  1. Open Clipboard History: Press Cmd+Shift+V (or your custom shortcut)
  2. Search: Type to search through your clipboard history
  3. Navigate: Use arrow keys to move through items
  4. Paste: Press Enter to paste the selected item to the previous application
  5. Preview: View detailed content in the preview pane

Screenshot & Image Editing

  1. Take Screenshot: Press F1 (or your custom shortcut) to capture area screenshot
  2. View History: After screenshot, clipboard history window opens automatically
  3. Edit Image: Click "Edit" button on any image item in the preview pane
  4. Edit Tools:
    • Select drawing tools (Pen, Arrow, Rectangle, Circle, Line, Highlight)
    • Add text annotations with customizable size
    • Apply mosaic effect to blur sensitive areas
    • Use eraser to remove unwanted annotations
  5. Save or Copy: Save edited image to file or copy to clipboard
  6. Paste Image: Press F3 (or your custom shortcut) to display floating image from clipboard

Favorites & Tags

  1. Add to Favorites: Click the star icon in the preview pane to favorite an item
  2. View Favorites: Click the star button in the search bar or press Tab to switch to favorites view
  3. Auto-Tagging: Content type tags are automatically added when previewing items:
    • JSON content โ†’ json tag
    • Table data โ†’ table tag
    • URLs โ†’ url tag
    • Date/time โ†’ datetime tag
    • Code snippets โ†’ code tag
    • Markdown โ†’ markdown tag
    • Long text โ†’ longtext tag
    • Images โ†’ image tag
    • Files โ†’ file tag
    • Colors โ†’ color tag
  4. Add Custom Tags:
    • Favorite an item first
    • Click the edit button (pencil icon) in the Tags section
    • Type a tag name and press Enter or click the plus button
  5. Remove Tags: In edit mode, click the X button on any tag to remove it
  6. Search by Tags: Type a tag name in the search box to find all items with that tag

AI Features

  • OCR: Automatically extracts text from images. Click "Copy Text" button in preview to copy OCR results
  • Summarize: Select text and use AI actions to get summaries
  • Translate: Translate clipboard content to your preferred language
  • Explain Code: Get explanations for code snippets
  • Polish Text: Improve text quality while keeping the original language

Settings

Access settings via:

  • Menu bar icon โ†’ Preferences
  • Keyboard shortcut: Cmd+,

Configure:

  • History limit
  • Global shortcut (default: Cmd+Shift+V)
  • Screenshot shortcut (default: F1)
  • Paste image shortcut (default: F3)
  • OpenRouter API Key (required for AI features)
  • AI response language
  • Launch at login

๐ŸŽฏ Use Cases

  • Developers:
    • Quick access to code snippets with syntax highlighting
    • JSON and table data preview with formatted display
    • Auto-tagged code snippets (code, json tags) for easy search
    • Capture and annotate screenshots of bugs or UI issues
  • Writers:
    • Manage quotes, references, and research snippets
    • Markdown preview for formatted text
    • Auto-tagged long text (longtext, markdown tags)
    • Capture and highlight important text from documents
  • Designers:
    • Track color codes with visual color preview and multiple format outputs
    • Image assets with detailed metadata
    • Auto-tagged colors (color tag) and images (image tag)
    • Edit screenshots with annotations and highlights
  • Researchers:
    • Organize copied text, citations, and notes
    • Table data preview for structured information
    • Auto-tagged content types for easy categorization
    • Capture and annotate research materials
  • Multilingual Users:
    • Translate and manage content in multiple languages
    • URL preview for quick link access
    • Auto-tagged URLs (url tag) for easy access
  • Project Managers:
    • Keep important information organized with favorites and custom tags
    • DateTime preview for meeting schedules
    • Auto-tagged content types for different projects
    • Capture and annotate meeting notes or project screenshots
  • Content Creators:
    • Capture screenshots, add annotations, and quickly paste images
    • File preview for asset management
    • Auto-tagged files (file tag) for easy organization

๐Ÿ”ง Configuration

Global Shortcuts

  • Toggle Window: Default Cmd+Shift+V
  • Area Screenshot: Default F1
  • Paste Image: Default F3
  • Customize in Preferences โ†’ Shortcuts Settings
  • Supports modifier keys: Cmd, Shift, Option, Control
  • Supports function keys (F1-F12) without modifiers

History Limit

Default: 100 items

  • Adjust in Preferences โ†’ General Settings
  • Range: 10-1000 items
  • Smart Limit: Only non-favorite items count toward the limit
  • Favorite items are permanently preserved regardless of history limit
  • This ensures your important items are never accidentally deleted

AI Response Language

Choose from:

  • Chinese (ไธญๆ–‡)
  • English
  • Japanese (ๆ—ฅๆœฌ่ชž)
  • Korean (ํ•œ๊ตญ์–ด)
  • Spanish (Espaรฑol)
  • French (Franรงais)
  • German (Deutsch)

๐Ÿ“ File Structure

VeloxClip/
โ”œโ”€โ”€ VeloxClip/
โ”‚   โ”œโ”€โ”€ App/              # Application entry point and window management
โ”‚   โ”œโ”€โ”€ Models/            # Data models (ClipboardItem, AppSettings, DatabaseManager)
โ”‚   โ”œโ”€โ”€ Services/          # Core services
โ”‚   โ”‚   โ”œโ”€โ”€ AI/            # AI services (AIService, LLMService)
โ”‚   โ”‚   โ”œโ”€โ”€ ScreenshotEditor/  # Screenshot editing (EditorModels, EditorState, ScreenshotEditorService, ScreenshotEditorView)
โ”‚   โ”‚   โ”œโ”€โ”€ ClipboardMonitor.swift
โ”‚   โ”‚   โ”œโ”€โ”€ ScreenshotService.swift
โ”‚   โ”‚   โ”œโ”€โ”€ PasteImageService.swift
โ”‚   โ”‚   โ”œโ”€โ”€ ShortcutManager.swift
โ”‚   โ”‚   โ””โ”€โ”€ ErrorHandler.swift
โ”‚   โ”œโ”€โ”€ Views/             # SwiftUI views
โ”‚   โ”‚   โ”œโ”€โ”€ PreviewComponents/  # Enhanced preview components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ CodePreviewView.swift      # Code syntax highlighting
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ColorPreviewView.swift     # Color display and formats
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ DateTimePreviewView.swift  # Date/time formats
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ FilePreviewView.swift     # File information
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ImagePreviewView.swift    # Enhanced image preview
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ JSONPreviewView.swift     # JSON formatting
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ TablePreviewView.swift    # Table data display
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ TextSummaryView.swift     # Text summarization
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ URLPreviewView.swift      # URL preview and actions
โ”‚   โ”‚   โ”œโ”€โ”€ MainView.swift
โ”‚   โ”‚   โ”œโ”€โ”€ PreviewView.swift
โ”‚   โ”‚   โ”œโ”€โ”€ SettingsView.swift
โ”‚   โ”‚   โ””โ”€โ”€ ...
โ”‚   โ””โ”€โ”€ Resources/         # App resources (icons, assets)
โ”œโ”€โ”€ build_app.sh           # Build script
โ”œโ”€โ”€ generate_icon.sh       # Icon generation script
โ””โ”€โ”€ Package.swift          # Swift package configuration

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Built with SwiftUI and Apple's native frameworks
  • Uses Apple Vision Framework for OCR
  • AI features powered by OpenRouter API (DeepSeek Chat model)

๐Ÿ“ง Support

For issues, feature requests, or questions, please open an issue on GitHub.


Made with โค๏ธ for macOS users who value productivity and privacy

About

A powerful, AI-enhanced clipboard manager for macOS that helps you manage, search, and transform your clipboard history with intelligent features.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors