Skip to content
项目

关于

一款开源 macOS 弹出式文本操作工具,可对选中文本运行自定义脚本和 AI 操作,并支持扩展工作流。

人工智能与机器学习

这些数字如何统计

可以做什么

  • Contextual bar: Appears instantly near your selection with relevant actions (case transform, search, copy/cut, math, or custom scripts).
  • Search palette (⌥⌘C): Press hotkey to fuzzy search your entire action catalog.
  • Extensions: Write or install custom extensions in JavaScript, Shell, AppleScript, or URL schemes.
  • Native & fast: Written in Swift 6 with strict concurrency; lightweight background footprint.

实测星标增长

24小时
+2
7天
+16
15天
+31
1个月
+112

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
OpenClip

OpenClip

The open-source text action popup for macOS.

macOS 14+ License Homebrew Discord

GitHub Sponsors Buy Me a Coffee Ko-fi


OpenClip in action

Select text in any app, and OpenClip pops up with contextual actions — transform text, run shell scripts, trigger shortcuts, evaluate math expressions, or query AI models.

Sponsors

Infistar
Infistar
Become a GitHub Sponsor

Get featured here by becoming a GitHub Sponsor.

Installation

Homebrew (Recommended)

brew install --cask openclip

Direct Download

Download the latest .dmg from Releases.

Features

  • Contextual bar: Appears instantly near your selection with relevant actions (case transform, search, copy/cut, math, or custom scripts).
  • Search palette (⌥⌘C): Press hotkey to fuzzy search your entire action catalog.
  • Extensions: Write or install custom extensions in JavaScript, Shell, AppleScript, or URL schemes.
  • Native & fast: Written in Swift 6 with strict concurrency; lightweight background footprint.
  • Optional AI actions: Run text through local Ollama models, Apple Intelligence, or OpenAI/Anthropic keys.
  • Privacy-first: Zero telemetry, no analytics, 100% local execution.

Extensions

Extensions are simple folders in ~/.openclip/extensions/. A basic URL lookup extension only needs an openclip.json:

{
  "identifier": "com.example.lookup",
  "name": "Wikipedia Lookup",
  "actions": [
    {
      "title": "Lookup",
      "icon": "symbol(magnifyingglass)",
      "type": "url",
      "url": "https://en.wikipedia.org/wiki/Special:Search?search={query}"
    }
  ]
}

Install community extensions from Preferences → Extension Store, or read the extension docs.

Building from Source

Prerequisites: macOS 14+, Xcode 27+, and XcodeGen (brew install xcodegen).

git clone https://github.com/ganeshmshetty/openclip.git
cd openclip

# Generate Xcode project
xcodegen generate

# Build and run
./scripts/dev_run.sh

# Run tests
./scripts/test.sh

# Package release DMG
./scripts/package_app.sh

Community & Support

License

AGPL-3.0 © 2026 Ganesh M and OpenClip Contributors. See NOTICE.md.

探索相关项目

加载中…