logo
0
0
WeChat Login

📋 Linux-Clipboard | AI-Powered Clipboard Manager

English | 简体中文


🌍 Features Overview

Version License Electron React TypeScript

A sophisticated AI-powered clipboard manager for Linux with system tray support. Built with Electron, React, and Google Gemini AI, it enables seamless searching, indexing, and categorization of both text and image content.

✨ Key Features

🎯 Core Functionality

  • 🔍 AI-Powered Search: Search through clipboard history using natural language. AI understands image content and text context.
  • 🖼️ Image Recognition: Automatically describe and tag images using Gemini 3 Flash Preview
  • 🏷️ Intelligent Tagging: Auto-generate keywords for code snippets, links, and long-form text
  • 📂 Smart Filters: Instantly filter by content type: Text, Code, Links, or Images
  • ⭐ Favorites: Star important snippets for quick access
  • 🚀 Quick Copy: One-click recovery of previous clipboard items

🖥️ Desktop Integration

  • 🔔 System Tray: Minimize to system tray, runs in background
  • ⌨️ Global Shortcuts: Ctrl+Shift+V to toggle window visibility
  • 🔒 Secure Storage: Encrypted storage for API keys using AES-256-GCM
  • ⚙️ Settings Panel:
    • Toggle auto-start on boot
    • Configure API keys
    • Customize clipboard behavior

🛠️ Developer Features

  • Hot Module Replacement: Fast development with Vite HMR
  • Type Safety: Full TypeScript support
  • Modern UI: Glassmorphism design with Tailwind CSS
  • Auto-updates: Built-in update mechanism

🏗️ Architecture

linux-clipboard/ ├── electron/ # Electron main process │ ├── main.ts # Application entry point │ ├── preload.ts # Preload script (IPC bridge) │ ├── clipboard-manager.ts # Clipboard monitoring │ ├── tray-manager.ts # System tray integration │ ├── shortcuts-manager.ts # Global shortcuts │ └── store/ # Configuration & secure storage │ ├── config-store.ts │ └── secure-store.ts ├── src/ # React frontend │ ├── App.tsx # Main application component │ ├── components/ # React components │ └── services/ # API services ├── scripts/ # Build & automation scripts └── docs/ # Documentation

🛠️ Tech Stack

Frontend

  • Framework: React 19.2.3
  • Language: TypeScript 5.8.2
  • Styling: Tailwind CSS (Glassmorphism)
  • Icons: Lucide React 0.562.0
  • Build Tool: Vite 6.2.0

Backend (Electron Main)

  • Runtime: Electron 33.4.11
  • Storage: electron-store 8.2.0
  • Security: crypto (Node.js built-in)

AI Services

  • Provider: Google Gemini AI
  • SDK: @google/genai 1.34.0
  • Model: Gemini 3 Flash Preview

📦 Installation

From .deb Package (Recommended for Ubuntu/Debian)

# Download the latest release wget https://github.com/Li-zhienxuan/Linux-Clipboard/releases/download/v0.4.4/linux-clipboard_0.4.4_amd64.deb # Install sudo dpkg -i linux-clipboard_0.4.4_amd64.deb # Run linux-clipboard

From Source

# Clone repository git clone https://github.com/Li-zhienxuan/Linux-Clipboard.git cd Linux-Clipboard # Install dependencies npm install # Run in development mode npm run electron:dev # Build for production npm run electron:build:deb

🚀 Usage

  1. First Launch:

    • Open the application
    • Configure your Google Gemini API Key in settings
    • Grant necessary permissions
  2. Clipboard Monitoring:

    • Copy text or images (Ctrl+C)
    • Content is automatically captured and indexed
    • AI generates tags and descriptions
  3. Search & Retrieve:

    • Press Ctrl+Shift+V or click tray icon
    • Type in the search bar
    • Click item to copy back to clipboard
  4. Manage History:

    • ⭐ Star important items
    • 🗑️ Delete unwanted entries
    • 📂 Filter by type or time

📚 Documentation

Detailed documentation available in docs/:

DocumentDescription
INDEX.mdComplete documentation index
DEVELOPMENT.mdDevelopment guide
cnb-cloud-build-guide.mdCNB cloud native build guide
Build.mdBuild history and records
Repair.mdTroubleshooting guide
AUTO_RELEASE_GUIDE.mdRelease automation
CLAUDE.mdClaude Code project guide

🔧 Development

# Development server (React only) npm run dev # Electron development mode npm run electron:dev # Production build npm run build # Build .deb package npm run electron:build:deb # Preview production build npm run preview

🤝 Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

📄 License

MIT License - see LICENSE file for details


📊 Project Status

🔗 Related Links


Developed with ❤️ by Linux-Clipboard Team Built with Electron, React, and Google Gemini AI

About

No description, topics, or website provided.
Language
TypeScript67.3%
Shell28.8%
HTML2.6%
JavaScript1.3%