应用尚未公证,首次启动需执行 xattr -cr /Applications/PasteMemo.app 或在系统设置中选「仍要打开」;macOS 15/26 上右键打开的老方法已失效;从源码构建需先 cd PasteMemo 再 swift build。
brew tap lifedever/tap
brew install --cask pastememo需 macOS 14 (Sonoma) 或更高版本,支持 Apple Silicon 与 Intel Mac;README 未提及显存或其他硬件要求。
macOS 剪贴板管理器,自动记录复制历史并支持快速检索粘贴
macOS 上的剪贴板管理工具,自动记录复制历史,方便随时找回之前复制过的内容。
核心能力
- 实时监控剪贴板,自动保存文本、图片、文件与链接
- 自动识别内容类型并提供链接预览、代码高亮等富预览
- Cmd+Shift+V 全局热键呼出快速粘贴面板,Cmd+1~9 直选
- 规则引擎按条件自动处理剪贴板内容,如清理 URL 跟踪参数
- 提供 5 个 MCP 工具,让 AI Agent 读写剪贴板历史
容易踩的坑
- v1.17.0最新正式版2026-11-06 · 2026-11-06 09:40 UTC
更新内容
- 新增 快捷面板里可以编辑条目文字:按 ⌘E、右键或从 ⌘K 菜单进入,⌘↩ 保存并粘贴,⌘S 保存(#97,感谢 @bRkka71 的反馈)
- 优化 主窗口里的链接、颜色和电话号码也可以编辑
- 优化 ⌘K 菜单里「标记为敏感」的快捷键由 E 改为 H
- 修复 在主窗口编辑带格式的文字后,粘贴出来的仍是编辑前的内容
What's New
- New Edit a clip's text in the Quick Panel: press ⌘E, right-click, or use the ⌘K menu; ⌘↩ saves and pastes, ⌘S saves (#97, thanks @bRkka71 for the report)
- Improve Links, colors and phone numbers can now be edited in the main window
- Improve The ⌘K shortcut for Mark as Sensitive changed from E to H
- Fix After editing formatted text in the main window, pasting still gave the text from before the edit
Download
File Architecture PasteMemo-1.17.0-arm64.dmg Apple Silicon (M1/M2/M3/M4) PasteMemo-1.17.0-x86_64.dmg Intel Mac - v1.16.02026-10-31 · 2026-10-31 08:07 UTC
查看更新说明
更新内容
- 新增 快捷面板多选时可以用 ⌘K 菜单批量操作
- 新增 快捷面板多选后可以合并:文字合成一条,图片和文件合成一条
- 优化 多文件预览列表里的图片显示缩略图
- 优化 多张图片一起粘贴到微信更快
- 修复 多选粘贴到微信、钉钉等聊天 app 时,第一条被直接发送
- 修复 多选粘贴图片时,有的图片重复、有的缺失,或文字跑到图片前面
- 修复 删除记录时退出或崩溃后,剪贴板监听一直停着,不再记录复制的内容
What's New
- New Select several clips in the Quick Panel and press ⌘K to act on all of them
- New Merge selected clips in the Quick Panel: texts into one clip, images and files into one clip
- Improve Images in a multi-file preview list show thumbnails
- Improve Pasting several images into WeChat at once is faster
- Fix Pasting several clips into WeChat, DingTalk and other chat apps sent the first one right away
- Fix Pasting several images could duplicate one, drop another, or put text ahead of an image
- Fix Quitting or a crash while deleting clips left clipboard monitoring paused, so new copies weren't recorded
Download
File Architecture PasteMemo-1.16.0-arm64.dmg Apple Silicon (M1/M2/M3/M4) PasteMemo-1.16.0-x86_64.dmg Intel Mac - v1.15.02026-10-27 · 2026-10-27 03:49 UTC
查看更新说明
更新内容
- 新增 设置里的「数据」页显示 PasteMemo 占用的空间,可以按来源、类型、时间挑选并删除历史记录,原文件不受影响
- 新增 微信等 app 复制的 TIFF 图片自动无损转为 PNG,占用更小,可在「数据」页关闭
- 优化 「保留时长」和「清理数据」挪到「数据」页
- 优化 删除记录后立即释放磁盘空间
- 优化 备份、导入和导出在历史记录很多时不再占用大量内存
- 修复 从照片 app 复制的照片不显示缩略图,也粘贴不出来
- 修复 微信聊天里复制的图片,过一段时间后粘贴不出来
- 修复 复制相同的文字或同一个图片文件,有时会重复生成条目
- 修复 导入数据时,已有的内容会重复出现
- 修复 备份和导出没有带上原图和剪贴板格式等内容,恢复后图片只剩缩略图
- 修复 「保留时长」没改过时显示 90 天,实际一直永久保留
- 修复 快捷面板把多张图片存到访达时,只存了第一张
What's New
- New The Data page in Settings shows how much space PasteMemo uses and lets you pick history to delete by source, type or age; your original files are never touched
- New TIFF images copied from WeChat and similar apps are converted to PNG losslessly to take less space; this can be turned off on the Data page
- Improve Keep History and Clear Data moved to the Data page
- Improve Deleting clips frees disk space right away
- Improve Backup, import and export no longer use a lot of memory with a large history
- Fix Photos copied from the Photos app showed no thumbnail and couldn't be pasted
- Fix Images copied in WeChat chats couldn't be pasted after a while
- Fix Copying the same text or the same image file again sometimes added a duplicate clip
- Fix Importing data could duplicate clips already in your history
- Fix Backups and exports left out original images and clipboard formatting, so restored images were only thumbnails
- Fix Keep History showed 90 days when never changed, but history was actually kept forever
- Fix Saving several images to Finder from the Quick Panel only saved the first one
Download
File Architecture PasteMemo-1.15.0-arm64.dmg Apple Silicon (M1/M2/M3/M4) PasteMemo-1.15.0-x86_64.dmg Intel Mac - v1.14.02026-10-23 · 2026-10-23 06:38 UTC
查看更新说明
更新内容
- 新增 快捷指令和 Spotlight 里可以使用 PasteMemo:打开快捷面板、搜索剪贴板历史、获取最近的条目、用规则处理文本
- 新增 规则可以使用 ⌘K 里的提取、识别、打开和接力功能,也能删除原条目、播放提示音
- 新增 13 个规则文本工具:JSON 格式化 / 压缩、Base64 编解码、驼峰 / 下划线命名、全角半角互转、简体转繁体、按行去重 / 排序 / 合并、去掉 HTML 标签
- 新增 规则条件:粘贴到的应用、字数、行数、是否置顶、是否敏感、所在分组、时间段、星期;每个条件都可以设为「不满足」
- 新增 规则结果可以存到文件夹或发到 Webhook
- 新增 敏感条目可以单独设置保留时长
- 优化 「添加条件」菜单按内容、应用、条目状态、时间分组
- 修复 系统自动填充短信验证码时,这条验证码有时被记成前台 App 复制的,没有短信原文
What's New
- New PasteMemo actions in Shortcuts and Spotlight: open the Quick Panel, search clipboard history, get a recent clip, process text with a rule
- New Rules can use the extract, recognize, open and relay features from ⌘K, and can also delete the original clip or play a sound
- New 13 text tools for rules: format / minify JSON, Base64 encode / decode, camelCase / snake_case, full-width ⇄ half-width, Simplified to Traditional Chinese, dedupe / sort / join lines, strip HTML tags
- New Rule conditions: target app, character count, line count, pinned, sensitive, group, time of day, day of week; any condition can be set to "Not met"
- New Rule results can be saved to a folder or sent to a webhook
- New Sensitive clips can have their own retention period
- Improve The "Add Condition" menu is grouped into Content, Apps, Clip State and Time
- Fix When macOS autofilled an SMS verification code, the code was sometimes recorded as copied from the front app, without the message text
Download
File Architecture PasteMemo-1.14.0-arm64.dmg Apple Silicon (M1/M2/M3/M4) PasteMemo-1.14.0-x86_64.dmg Intel Mac - v1.13.22026-10-10 · 2026-10-10 03:24 UTC
查看更新说明
更新内容
- 优化 快捷面板的底色、边线和投影:深色模式下更沉,浅色模式下更亮,两种外观都能透出一点背后的内容
What's New
- Improve Quick panel background, hairline and shadow: deeper in dark mode, brighter in light mode, with a hint of the content behind showing through in both
Download
File Architecture PasteMemo-1.13.2-arm64.dmg Apple Silicon (M1/M2/M3/M4) PasteMemo-1.13.2-x86_64.dmg Intel Mac
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
PasteMemo
Screenshots
Highlights
- Copy -> File, Instantly -- Paste copied text as a
.txtfile, paste screenshots as image files. Drag directly into Finder or any file dialog. - AI Terminal Ready -- Seamlessly paste images and files into AI terminals. Built for developers who live in the command line.
- Smart Recognition -- Automatically detects content type -- links with favicons, code snippets, colors, phone numbers, files -- with intelligent previews.
- Beyond Copy-Paste -- Paste file paths, filenames, save to folders, or paste-and-enter for terminal commands. Every clip is a multi-tool.
Features
Clipboard Management
- Automatic Capture -- Monitors the system clipboard in real-time. Text, images, files, links, code -- everything is saved.
- Content Type Detection -- Automatically classifies content: text, links, images, code, colors, phone numbers, files, documents, archives, audio, video, and more.
- Rich Preview -- Links show live web previews with favicons. Code gets syntax highlighting. Colors display swatches. Phone numbers show action buttons.
- Pin to Top -- Pin frequently used clips so they're always at the top of the list.
- Search -- Full-text search across all clipboard history. Find anything instantly.
- Filter by Type -- Filter by content type: text, links, images, code, colors, files, etc.
- Filter by App -- See which app each clip came from. Filter by source -- Chrome, VS Code, Figma, Slack, etc.
- History Retention -- Configure how long to keep history: forever, or auto-delete after 1-365 days.
- Storage Management -- See how much space PasteMemo uses and delete history by source, type, or age; your original files are never touched. TIFF originals can be converted to PNG losslessly.
Quick Paste Panel
- Global Hotkey -- Press Cmd+Shift+V (customizable, supports F1-F12) from anywhere to open the Quick Paste panel.
- Keyboard Navigation -- Cmd+1 to Cmd+9 to paste directly. Arrow keys or Ctrl+P / Ctrl+N navigate history. Left/right arrows switch content types. Enter to paste.
- Quick Actions (Cmd+K) -- Command palette for paste, copy, pin, delete, and more -- all without leaving the keyboard.
- Paste + Enter -- Shift+Enter pastes and presses Enter. Perfect for terminal commands and chat apps.
Relay Mode
- Batch Paste -- Copy multiple items, then paste them one by one in order. Ideal for filling forms, data entry, or repetitive workflows.
- Text Splitting -- Split text by a delimiter (comma, newline, etc.) to quickly build a relay queue.
- Visual Queue -- See your relay queue with a clear list. Current item is highlighted. Progress is tracked.
Clipboard Automation
- Rule Engine -- Define conditions + actions to automatically process clipboard content.
- Auto Trigger -- Rules run silently when you copy. E.g., auto-clean tracking parameters from URLs.
- Manual Trigger -- Apply transformations via the command palette or right-click menu.
- Built-in Rules -- Clean URL tracking params, lowercase emails, remove blank lines, and more.
- Text Tools -- Format / minify JSON, Base64, camelCase / snake_case, full-width / half-width, Simplified to Traditional Chinese, sort / dedupe / join lines, strip HTML tags, keep only the links or the verification code, recognize text in an image.
- Conditions -- Content type, text, regex, length, line count, source app, the app you're pasting into, pinned / sensitive / group, time of day, day of week. Any condition can be negated.
- Where the Result Goes -- Replace the clip, add a new clip, copy, paste into the front app, save to a folder, or POST to a webhook.
Privacy & Security
- Sensitive Detection -- Automatically detects passwords and sensitive data, masks them in the UI.
- Ignored Apps -- Exclude specific apps (e.g., password managers) from clipboard monitoring.
- Sensitive Clip Expiry -- Delete sensitive clips 10 minutes to 7 days after their last copy or paste.
- Open Source -- Full source code available. You know exactly what runs on your Mac.
Shortcuts & Spotlight
- Actions -- Open the Quick Panel, search clipboard history, get a recent clip, process text with an automation rule (AI rewrite included).
- Spotlight -- The first three show up in Spotlight without setting anything up.
AI Agent Bridge
Make PasteMemo a clipboard context layer for AI Agents (Claude Code, Cursor, Codex, Cline, and any MCP-compatible client).
- 5 MCP tools -- Get current clipboard, search history (by keyword / type / source app / time), get full content of an item, list recent source apps, write text back to clipboard.
- One-click install -- Settings → AI Agents installs into Claude Code or Cursor instantly; Codex / Cline get a copy-paste config snippet.
- Privacy-first -- Items marked sensitive are filtered out by default; per-source-app blocklist for total control.
- AI Agent category -- Items written by AI Agents auto-tag into a dedicated sidebar category for easy retrieval.
Customization
- Themes -- System, Light, or Dark mode.
- Sound Effects -- Customizable copy and paste sounds, or disable them entirely.
- 11 Languages -- English, Simplified Chinese, Traditional Chinese, Japanese, Korean, German, French, Spanish, Italian, Russian, Indonesian
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
| Cmd+Shift+V (customizable) | Open/close Quick Paste panel |
| Cmd+1 - Cmd+9 | Paste the Nth item directly |
| Up / Down, Ctrl+P / Ctrl+N | Navigate history |
| Left / Right | Switch content type |
| Enter | Paste selected item |
| Shift+Enter | Paste and press Enter |
| Cmd+K | Open Quick Actions |
| Cmd+F | Focus search |
| Esc | Close panel |
Requirements
- macOS 14 (Sonoma) or later
- Apple Silicon or Intel Mac
Install
Homebrew (Recommended)
brew tap lifedever/tap
brew install --cask pastememo
Update to the latest version:
brew upgrade --cask pastememo
Download
Grab the latest .dmg from Releases:
| File | Architecture |
|---|---|
PasteMemo-x.x.x-arm64.dmg | Apple Silicon (M1/M2/M3/M4) |
PasteMemo-x.x.x-x86_64.dmg | Intel Mac |
First launch (the app isn't notarized yet, so macOS blocks it). Allow it one of two ways:
- Run in Terminal:
xattr -cr /Applications/PasteMemo.app, then open it- Or: System Settings -> Privacy & Security -> scroll down -> Open Anyway
On older macOS you can also right-click PasteMemo.app -> Open -> Open. This shortcut no longer works on macOS 15 / 26 — use one of the two methods above.
Build from Source
git clone https://github.com/lifedever/PasteMemo-app.git
cd PasteMemo
swift build
Development
make dev
This starts the app and automatically restarts swift run when files under Sources/, Tests/, or Package.swift change.
If fswatch is installed, the script uses it. Otherwise it falls back to polling once per second.
Checks
make check
This runs repository-wide fast checks:
swift buildwhen Swift sources are presentplutil -lintfor.stringsfilesbash -nfor shell scripts
To enable commit-time staged checks:
make install-hooks
After that, each commit runs .githooks/pre-commit, which only checks the staged file set.
Packaging
make package VERSION=1.2.3
This builds a release app bundle and generates dist/PasteMemo.app plus dist/PasteMemo-1.2.3-<arch>.dmg.
If VERSION is omitted, the script falls back to the latest git tag.
To sign the app bundle during packaging, pass CODESIGN_IDENTITY="Developer ID Application: ..." together with the command.
Contributing
Contributions are welcome! Please open an issue first to discuss what you'd like to change.
- Fork the repo and create your branch from
develop - Submit pull requests to the
developbranch (notmain)
Sponsor
If PasteMemo is useful to you, consider buying me a coffee.
Feedback
Found a bug or have a suggestion? Open an issue.
License
This project is licensed under the GPL-3.0 License.
Copyright (c) 2026 lifedever.