从源码构建需 Xcode 15.0+ 与 Swift 5.9,且产物为 ad-hoc 签名、未公证;首次运行需在系统设置中授予辅助功能/输入监控权限才能使用全局快捷键;自定义分支版本号为 3.0.19,与 README 下载徽章标注的 v3.0.0 不一致,下载前需确认版本。

Buffer
samirpatil2000MIT活跃维护macOS 上的轻量开源剪贴板管理器,本地保存可搜索的历史记录,按 ⇧⌘V 就能快速调出粘贴,注重隐私不外传。
Buffer is a open-source lightweight, privacy-focused clipboard manager for macOS with searchable history and a quick ⇧⌘V shortcut.
brew tap samirpatil2000/buffer https://github.com/samirpatil2000/Buffer.git
brew install --cask buffer仅支持 macOS 13.0 及以上,分 Apple Silicon 与 Intel 两种 DMG;README 未提及显存或 GPU 要求。
macOS 上轻量、纯本地的剪贴板管理器,用 ⇧⌘V 快速检索历史记录
macOS 上的轻量开源剪贴板管理器,本地保存可搜索的历史记录,按 ⇧⌘V 就能快速调出粘贴,注重隐私不外传。
核心能力
- 用 ⇧⌘V 全局快捷键唤出可搜索的剪贴板历史
- 用本地 Vision 对图片做 OCR,让截图里的文字可被搜索
- 支持多选后合并粘贴,也可批量删除历史条目
- 用标签、书签和 type: 过滤按类型筛选历史
- 大文本采用分块懒加载预览与磁盘存储
容易踩的坑
- buffer-v3.0.0Buffer v3.0.0最新正式版2026-10-01 · 2026-10-01 13:26 UTC
🚀 What's New in Buffer v3.0.0
Buffer v3.0.0 brings major enhancements to visual inspection, update workflows, clipboard history controls, and interface polish!
🔍 Interactive Image Canvas
- Pinch, Pan & Zoom: Seamlessly inspect copied images and screenshots with pinch-to-zoom, two-finger pan, and drag gestures.
- Shortcut & Click Controls: Double-click to toggle fit/reset, or use
⌘+/⌘-to zoom in and out.
🔄 In-App Updates & Release Highlights
- Smart Update Notifications: Discretely notifies you with an update chip in the header whenever a new version is released.
- Release Highlights Popover: View changelogs and release notes directly inside Buffer before updating.
- Automatic Checks: Periodic background checking and instant checks on window launch.
🧹 Clipboard Noise Controls & History Tiers
- Noise Suppression: Filter transient clips and rapid duplicates to keep your clipboard history clean and relevant.
- Configurable History Tiers: Set clipboard history capacity tiers to match your memory and retention needs.
- Multi-Item Selection Polish: Natural selection range adjustment — reversing direction with
Shift + ↑/↓now properly shrinks the selection.
⚡ UI & Interaction Polish
- Content Zoom: Zoom preview content in and out using
⌘+and⌘-. - Keyboard Shortcuts Cheat Sheet: Quick on-screen reference for all navigation, multi-select, and action shortcuts.
- Safe Inline Text Editing: Pressing
Esccleanly discards edits and restores original content without accidental saves.
📸 Screenshots
🤝 Special Thanks & Contributors
A huge thank you to @CrCs2O4 (Chromium) for contributing clipboard noise controls and duplicate promotion (#65)! 🚀
📥 Downloads
- Apple Silicon (M1/M2/M3/M4):
Buffer_Silicon.dmg/Buffer_Silicon.zip - Intel (x86_64):
Buffer_Intel.dmg/Buffer_Intel.zip
- buffer-v2.6.0Buffer v2.6.02026-09-11 · 2026-09-11 20:54 UTC
查看更新说明
🚀 What's New in v2.6.0
✨ Features & Enhancements
- Hide Menu Bar Icon: Added an option to hide the menu bar icon for users preferring an ultra-minimal setup.
- Copy & Dismiss with ⌘C: Pressing
⌘Con a selected item copies it to the clipboard and cleanly closes the history window. - Edit Mode Polish: Fixed exit behavior to cleanly discard unsaved changes when cancelling edit mode.
- Shortcut Hints: Clarified multi-select navigation shortcuts to
Shift+↑↓.
📥 Downloads
- Apple Silicon (arm64):
Buffer_Silicon.dmg/Buffer_Silicon.zip - Intel (x86_64):
Buffer_Intel.dmg/Buffer_Intel.zip
- buffer-v2.5.0Buffer v2.5.02026-07-22 · 2026-07-22 06:18 UTC
查看更新说明
🚀 What's New in v2.5.0
✨ Features & Enhancements
- Inline Text Editing: Edit any copied text or code snippet directly within the preview pane with auto-save and seamless macOS pasteboard synchronization.
Cmd+EEdit Shortcut: Quickly jump into edit mode for selected text items usingCmd+E.- Contextual Action Button: Dynamic footer hints and primary button that seamlessly transforms between Edit, Save, and Paste based on current mode and selection.
- Focus Loss Auto-Save: Auto-save text edits when navigating away or switching window focus.
- Scroll & Keyboard Focus Polish: Enhanced keyboard navigation and focus management when toggling edit mode.
📥 Downloads
- Apple Silicon (arm64):
Buffer_Silicon.dmg/Buffer_Silicon.zip - Intel (x86_64):
Buffer_Intel.dmg/Buffer_Intel.zip
- buffer-v2.4.0Buffer v2.4.02026-07-05 · 2026-07-05 04:19 UTC
查看更新说明
👋 Hello everyone!
A new stable update of Buffer is out — v2.4.0 🚀
This release introduces an enhanced "Clear History" functionality to keep your pinned, bookmarked, and tagged items safe, along with critical fixes to OCR and real-time list updates!
🧹 Smart Clear History (#40)
The clear history functionality has been supercharged to prevent accidental loss of important data.
- Retain Favorites: Pinned, bookmarked, and tagged clipboard items are now safely kept when clearing history.
- Clean the Rest: Automatically purges only unannotated items, keeping your history organized yet functional.
⚡ OCR & List UI Real-time Refresh Fixes (#44)
We resolved issues where clipboard items (specifically OCR-extracted text and list updates) would not refresh in real-time.
- ClipboardItem Equatable: Fixed the custom Equatable implementation to correctly identify when items are mutated.
- Main-Thread UI Updates: Ensured list mutations and OCR results dispatch properly on the main thread, resulting in instantaneous UI response.
🧪 Unit Testing & Build Improvements
- Unit Tests: Added robust unit tests verifying the correctness of
ClipboardItemproperties, equality comparisons, and store mutations. - DMG Notarization Script: Improved the notarization submission step within
build_dmg.shwith improved error handling.
Thanks to everyone using Buffer, starring the repo, and reporting bugs! ❤️
- buffer-v2.3.0Buffer v2.3.02026-06-27 · 2026-06-27 10:48 UTC
查看更新说明
👋 Hello everyone!
A new pre-release update of Buffer is out — v2.3.0 🚀
This release introduces a real-time relative timestamp view to keep track of when clipboard items were captured, aligning nicely with the tagging system in the history window.
⏱️ Relative Timestamp View
You can now see exactly when each item was copied, updated in real-time right within the detail panel:
- Real-time updates: An active timer updates the timestamp dynamically (e.g. "just now", "15 seconds ago", "3 minutes ago").
- Smart rounding: Shows precise half-hour increments for hourly ranges (e.g., "1.5 hours ago") before transitioning to days, weeks, months, or years.
- Seamless layout integration: Carefully aligned to the right of the tags section inside
HistoryContentViewto maximize screen real-estate.
Thanks to everyone using Buffer, starring the repo, reporting bugs, and sharing ideas. Every day we make it better! ❤️
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
⚡ This is a customized fork (
3.0.19 - Custom)This branch adds several enhancements on top of upstream Buffer. See CHANGES.md for the full write-up. Summary:
- Configurable history size — a Custom tier with any numeric cap, plus truly-unlimited
- Automatic, searchable OCR — images are OCR'd on capture and findable by the text inside them
- Rich text + combined text/image items — formatting preserved; images render inline in position
- Code syntax highlighting — ~190 languages (HighlighterSwift) with auto-detection and a manual override
- In-place JSON / XML formatter — a Format button that pretty-prints in place
- Browser image capture — inline base64 images automatically; remote images via an opt-in, off-by-default setting
- Hyperlink capture — links (and bare URLs in plain text) are captured, searchable, listed, and rendered clickable inline
- Search highlighting — the search term is highlighted across text, OCR, rich, and code previews
- Filter by type — chips and
type:search tokens to filter history by Text / Image / Link / CodeBuild it with Xcode (⌘R). Note: builds here are ad-hoc signed, not notarized.
✨ Why Buffer?
- Ultra-lightweight — Only ~2 MB download/install, minimal RAM/CPU usage
- 100% Private & Local — Everything stays on your Mac, no cloud, no tracking
- Text + Images + OCR — Copies anything; extracts searchable text from images/screenshots/memes using on-device Vision
- Great for developers — Handles large text snippets, JSON payloads, logs, and other verbose content with ease
- Large-content friendly — Lazy, chunked previews and disk-backed storage for multi‑MB text, with size indicators
- Pins & Smart History — Pin favorites, keep them anchored, and cycle history while prioritizing unpinned items
- Multi-select & multi‑paste — Select multiple items in history with clear on-screen instructions, paste them together, or bulk-delete with inline confirmation
- Bookmarks — Star important items with Cmd+B for quick reuse
- Tags & Filtering — Categorize history items with custom, color-coded tags. Quick tag items with
Cmd+Tand filter using#autocomplete in the search bar - Configurable hotkeys — Change the global shortcut in Settings with dynamic re-registration
- Native macOS Feel — Clean SwiftUI + AppKit menu-bar app
- Interactive Image Inspection Canvas — Pinch-to-zoom, pan, double-click fit/reset, and
⌘+/⌘-zoom controls for inspecting screenshots and image clips - Shortcuts Cheat Sheet & Content Zoom — On-screen interactive shortcuts popup (
⌘/), footer shortcuts bar, and content text zoom (⌘+/⌘-/⌘0) - Noise Controls & History Tiers — Configurable history capacity tiers and automatic noise filtering to suppress rapid duplicate clips and short fragments
- Seamless Updates — Built-in secure auto-updater with in-app notification chip, release highlights popover, and post-update HUD
- Inline Text Editing — Edit any text or code snippet directly within the clipboard history window with safe cancel (
Esc) and macOS pasteboard sync - Open Source — MIT license, actively maintained
📥 Download
- Download the
.dmgfrom the latest release - Drag Buffer.app to your Applications folder
- Launch it (lives in menu bar)
🍺 Install with Homebrew
Buffer can be installed as a Homebrew cask directly from this repository:
For Users
# 1. Tap the repository
brew tap samirpatil2000/buffer https://github.com/samirpatil2000/Buffer.git
# 2. Install Buffer
brew install --cask buffer
To upgrade:
brew upgrade --cask buffer
To completely uninstall (including preferences and application support files):
brew uninstall --zap buffer
[!TIP] If a dedicated
samirpatil2000/homebrew-buffertap repository is configured in the future, standard one-linerbrew install --cask samirpatil2000/buffer/bufferwill also be supported.
For Maintainers
The repository includes an automated script to generate and validate Casks/buffer.rb:
# Automatically computes SHA256 checksums from local DMGs (or remote release) and audits syntax:
./scripts/generate_homebrew_cask.sh
Typical release flow:
# 1. Bump version in Info.plist & README.md
# 2. Compile, sign, and notarize DMGs
./build_dmg.sh
# 3. Update Casks/buffer.rb with verified SHA256 hashes
./scripts/generate_homebrew_cask.sh
# 4. Commit and push release
git add Info.plist README.md Casks/buffer.rb
🚀 Getting Started
- Download the
.dmgfile from above - Drag Buffer to your Applications folder
- Launch Buffer — it will appear in your menu bar
- Copy anything — Buffer automatically saves it
- Press ⇧⌘V to access your clipboard history anytime!
🖥️ Screenshots
Edit Text
Multi select & paste
Tags
Keyboard Shortcuts Cheat Sheet & Image Canvas
History Size Tiers
Inline Text Editing
Click the Pencil icon in the preview/detail pane to open an inline text editor and modify any text item directly. While editing, global keyboard shortcuts are temporarily bypassed so you can type normally. Click Save to persist changes and sync them to the macOS pasteboard, or press Escape to cancel and cleanly discard unsaved changes.
⌨️ Keyboard Shortcuts
Press ⌘/ anytime or click the Shortcuts button in the footer bar to open the interactive on-screen cheat sheet.
Navigation & Selection
| Shortcut | Action |
|---|---|
⇧⌘V | Open clipboard history |
↑ / ↓ | Navigate history items |
⇧↑ / ⇧↓ | Multi-select items (expands / shrinks range) |
⌘A | Select all items |
↵ Enter | Paste selected item to frontmost app |
⎋ Esc | Dismiss Buffer window / cancel edits |
Item Actions
| Shortcut | Action |
|---|---|
⌘C | Copy selected item to clipboard and dismiss |
⌘P | Pin / unpin selected item |
⌘B | Bookmark / unbookmark selected item |
⌘E | Edit snippet inline |
⌘T | Add tag to selected item |
⌘S | Save image to disk (for image items) |
⌘⌫ | Delete selected item (or multi-selected items) |
Zoom & Canvas
| Shortcut | Action |
|---|---|
⌘+ | Zoom in (larger rows & preview text) |
⌘- | Zoom out |
⌘0 | Reset zoom to 100% |
2× Click | Toggle image actual size / fit |
Pinch / Pan | Zoom & navigate image canvas on trackpad |
Application
| Shortcut | Action |
|---|---|
⌘, | Open Settings |
⌘/ | Toggle keyboard shortcuts cheat sheet |
🛠️ Building from Source
# Clone the repository
git clone https://github.com/samirpatil2000/Buffer.git
cd Buffer
# Open in Xcode
open Buffer.xcodeproj
# Build and run
# Press ⌘R in Xcode
Requirements
- macOS 13.0 or later
- Xcode 15.0 or later
- Swift 5.9
Star History
🤝 Contributing
Contributions are welcome! Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
📄 License
MIT License — feel free to use this project however you like.