Skip to content

Repository files navigation

AlgerClipboard

A smart clipboard manager built with Tauri 2 + React 19

Cloud Sync • AI Summary • Translation • Spotlight • Plugin System • Rich Text Editing

GitHub Release License Platform Tauri

中文 | English


Highlights

Clipboard History

Auto-capture text, images, rich text and file copies with instant search, type filtering, smart classification, and programming language detection.

Cloud Sync

Sync across devices via WebDAV, Google Drive, or OneDrive with optional AES-256-GCM end-to-end encryption.

AI Integration

Multi-provider AI support (OpenAI, Claude, Gemini, DeepSeek, Ollama). Auto-summarize long text, AI-powered translation, and Ask AI panel with built-in web access.

Rich Text Editing

CodeMirror 6 code editor with 12+ language syntax highlighting, TipTap 2 WYSIWYG editor, Markdown preview with KaTeX math & Mermaid diagrams.

Spotlight

Global search panel with unified search across all modes — clipboard, apps, bookmarks, calculator, and more in one place. Supports prefix routing, keyboard toggle, and 10+ plugin-powered modes.

Plugin System

10+ built-in plugins: Calculator, Color Toolbox, Password Generator, Timestamp, URL Opener, Web Search, History, Browser Bookmarks, Network Info, GitHub Search. Extensible via JS frontend + optional Rust native backend.

Features

Category Details
Clipboard Auto-capture text, images, rich text, files • SHA-256 deduplication • FTS5 full-text search with pinyin, regex, time filter • Smart content classification
Editing CodeMirror 6 with toolbar (font size, line numbers, word wrap) • TipTap 2 rich text WYSIWYG • Split view (editor / split / preview)
Rendering Markdown (GFM) • KaTeX math formulas • Shiki code highlighting • Mermaid diagrams • Rich text (clean/full mode)
AI Multi-provider (OpenAI, Claude, Gemini, DeepSeek, Ollama, custom) • Auto-summary • AI translation • Ask AI panel
Cloud Sync WebDAV / Google Drive / OneDrive • AES-256-GCM encryption • Settings sync • File size limits
Translation Baidu / Youdao / Google engines • AI translation mode • Language auto-detect • One-click copy
Templates Reusable templates with variable substitution
Organization Pin & favorites • Tag system with CRUD • Content categories • Language detection (19 languages)
Spotlight Unified global search • Prefix routing • Content-aware matching • 10+ modes • History (!!) • Toggle shortcut • Preserve query on reopen
Plugins 10+ built-in plugins • Calculator (=) • Color Toolbox (cc) • Password Generator (pw) • Timestamp (ts) • URL Opener • Web Search (??) • Browser Bookmarks (bm) • Network Info (ip) • GitHub Search (gh)
UX Global hotkey (Ctrl+Shift+V) • Arrow key navigation • Smart window positioning • Window size memory • OCR
Personalization Dark / Light / System theme • Custom fonts • UI scaling • i18n (中文 / English) • Auto-start
Privacy All data stored locally • Optional encrypted sync • No telemetry

Spotlight

A unified global search panel — type anything to search across all enabled modes simultaneously. Use prefixes for targeted search.

Mode Prefix Global Description
Clipboard cc Yes Search clipboard history, paste or copy
App Launcher aa Yes Search installed apps, launch on Enter
Translate tt No Multi-engine parallel translation with TTS
Calculator = Yes Math expressions, unit/base conversion
Color Toolbox cc Yes Parse HEX/RGB/HSL, Tailwind colors
Timestamp ts Yes Convert timestamps, dates, time zones
URL Opener Yes Detect and open URLs in browser
Password Generator pw No Generate secure passwords
Web Search ?? No Search with Google, Bing, Baidu, etc.
History !! No Revisit previously selected results
Browser Bookmarks bm Yes Search Chrome/Edge/Brave bookmarks
Network Info ip Yes IP lookup, DNS resolve, ping
GitHub Search gh No Search repos, users, issues
IDE Projects | Yes Recent projects from VS Code, Cursor, etc.
Everything Search f Yes File search via Everything (voidtools)

Toggle with same shortcut, Tab to cycle modes, Esc to close. Query preserved on reopen.

Plugin System

Extend AlgerClipboard with plugins loaded from {app_data_dir}/plugins/. Plugins can include:

  • Frontend JS bundle — register Spotlight modes, context menus, settings sections, tray items, lifecycle hooks
  • Rust native backend (.dll/.so/.dylib) — access filesystem, network, clipboard via host API with C ABI

Plugin Structure

plugins/my-plugin/
├── manifest.json           # Metadata, permissions, mode declarations
├── frontend/
│   └── index.js            # JS bundle loaded at runtime
└── backend/
    └── my_plugin.dll       # Optional native library

Developing Plugins

Plugins interact with the host through window.AlgerPlugin.create("plugin-id"):

var api = window.AlgerPlugin.create("my-plugin");

api.registerMode({
  id: "my-mode",
  name: "My Mode",
  icon: "ph:star",
  placeholder: "Search...",
  onQuery: function(query) { return api.invokeBackend("search", { query }); },
  onSelect: function(result) { return api.invokeBackend("open", { id: result.id }); },
});

Manage plugins in Settings > Plugins (enable/disable/remove, permission grants).

Installation

Download the latest release from GitHub Releases.

Platform Format Architecture
Windows .msi / .exe x64
macOS .dmg Universal
Linux .deb / .AppImage x64

Tech Stack

Layer Technology
Framework Tauri 2
Frontend React 19 + TypeScript
Styling Tailwind CSS 4 + shadcn/ui
State Zustand
Code Editor CodeMirror 6
Rich Editor TipTap 2
Markdown react-markdown + Shiki + KaTeX + Mermaid
Backend Rust
Database SQLite (WAL mode)
Encryption AES-256-GCM + Argon2id

Development

Prerequisites

Quick Start

# Install dependencies
pnpm install

# Run in development mode
pnpm tauri dev

# Build for production
pnpm tauri build

Project Structure

src/                    # React frontend
├── components/         # UI components
│   ├── editor/         # CodeMirror, RichEditor, MarkdownPreview, SplitView
│   └── ui/             # shadcn/ui base components
├── pages/              # ClipboardPanel, DetailPage, Settings, AskAiPanel, SpotlightPanel
├── spotlight/          # Spotlight mode definitions (clipboard, app, translate)
├── plugin_system/      # Plugin loader, API, registry
├── stores/             # Zustand state management
├── services/           # Tauri IPC service layer
├── lib/                # Utilities (contentDetect, windowSize, richText)
├── i18n/               # Internationalization (zh-CN, en)
└── types/              # TypeScript type definitions

src-tauri/              # Rust backend
├── src/
│   ├── clipboard/      # Clipboard monitor and entry models
│   ├── commands/       # Tauri IPC command handlers
│   ├── storage/        # SQLite database and blob storage
│   ├── sync/           # Cloud sync engine, adapters, encryption
│   ├── translate/      # Translation engine integrations
│   ├── ocr/            # Windows OCR (Windows.Media.Ocr API)
│   ├── paste/          # System paste simulation
│   ├── plugin_system/  # Plugin manager, host API, FFI, permissions
│   └── app_launcher/   # Application scanner and launcher
└── icons/              # App icons

plugins/                # Plugin source code (buildable)
├── ide-projects/       # IDE Projects plugin (VS Code, Cursor, Windsurf, Trae, Zed)

Search

Full-text search powered by SQLite FTS5 with multi-keyword, exact phrase, exclusion, regex, pinyin matching, time range filtering, and search history. See the Search Guide for details.

Cloud Sync Setup

See the Cloud Sync Guide for detailed configuration instructions.

OCR Development

See the RapidOCR Development Guide for runtime packaging, installer flow, and release automation details.

Donate

If you find AlgerClipboard useful, consider supporting the project:

License

GPL-3.0

About

A cross-platform intelligent clipboard management tool based on Tauri 2.x. Features include clipboard history management, translation, templates, and cloud synchronization, with a Rust backend and React frontend.

Resources

Stars

71 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages