Skip to content
baypeanutPublic

About

Clipboard history, notes and image tools for macOS.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Shelf icon

Shelf

Clipboard history for macOS, kept on your Mac.

macOS 14 or later · Nine languages

Shelf lives in the menu bar and remembers the images, text and links you copy. Press a shortcut to bring your recent copies back, then paste one, drag it into another app or keep it in your Library with pins, folders and tags.

Shelf showing its image, text and link shelves

What it does

Find anything you copied. Images, text and links each get their own shelf. Search looks through copied text, page titles, tags, links and the text inside images.

Searching across all shelves

Keep what matters. Pin items, file them in folders and tag them. Notes can be edited, and images can be cropped or annotated; Shelf always keeps the original.

Annotating an image in the preview window

Stay in control.

  • Every kind of capture is off until you turn it on.
  • Pause capture for 5 minutes, an hour or until you resume, or skip just the next copy.
  • Never capture copies from apps you choose, such as a password manager.
  • See which app each item came from, and filter by it.
  • Removed items wait in Library Trash for 30 days by default, so a mistake can be undone.

Work from the keyboard. Every action has a shortcut, and Command + K opens a searchable list of all of them.

Action Shortcut
Show shelves Control + Option + T
Preview the selected item Space
Copy and return to your previous app Return
Pin an item P
File an item in a folder Shift + P
Undo the last removal Backspace
Open Actions Command + K

Shortcuts can be changed in Settings. Pasting directly into another app needs the macOS Accessibility permission; ordinary copying does not.

Install

Download Shelf-macOS-arm64.zip, unzip it, and move Shelf.app to Applications. Releases require Apple silicon and macOS 14 or later, and include offline visual search.

This community build is not Apple-notarized. macOS may block its first launch. After trying to open it, use System Settings → Privacy & Security → Open Anyway if you trust the download.

Shelf checks for new versions while running without taking focus from other apps. Choose Check for Updates… from the menu bar or Settings → About. You decide when to download and install. Active work finishes and edits must be saved before a restart. Your Library and capture preferences stay in place. No GitHub account is needed.

Older source builds without updates need this one-time manual installation.

Build from source

You need macOS 14 or later, Xcode with the macOS SDK, and Python 3.

git clone https://github.com/baypeanut/shelf.git
cd shelf
bash scripts/build-community.sh release
open build/Shelf.app

The app is built at build/Shelf.app and checked with an isolated test launch before the script finishes. Move it to your Applications folder to keep it.

To add offline visual search, which finds images by what they show, include the search model. The first build downloads pinned model files; search then runs entirely on your Mac.

SHELF_BUNDLE_MODELS=1 bash scripts/build-community.sh release

Note

This is a local build signed only for your Mac. It is not notarized and does not update itself; to update, pull the latest changes and build again.

First launch

  1. Open Settings → Sources and choose what Shelf should capture: images, text, links or any mix. All three start off.
  2. Optionally turn on link previews. They have their own switch, because loading a preview contacts the copied website.
  3. Press Control + Option + T to open your shelves.

Shelf can also collect screenshots. It watches your current screenshot folder, plus any folders you add. Inbox mode sends new screenshots straight to Shelf; it asks before changing where macOS saves them, and puts the setting back when you turn it off or quit.

Privacy

Shelf has no account, cloud sync or analytics. Release builds contact GitHub for update checks and downloads; you can turn automatic checks off in Settings. Your Library stays in ~/Library/Application Support/Shelf/.

  • Copies that password managers and other apps mark as confidential, concealed or transient are skipped.
  • Shelf notes which app each copy came from and keeps that on your Mac.
  • Secrets that are not marked cannot always be recognized, so pause capture or ignore an app when you need to.
  • Your history is protected by your macOS account and is not encrypted by Shelf.
  • Link previews are off by default. When on, the website can see the request and your IP address.

See Privacy and Security for the full details.

Guides

Using Shelf Working on Shelf
Getting started Building from source
Library Testing changes
Previews and editing Design notes
Keyboard shortcuts Contributing
Troubleshooting Dependencies
Publishing releases

Development

Shelf is written in Swift with AppKit, SwiftUI, Vision, Core ML and SQLite. App code is in Sources/Shelf, tests in Tests and build tools in scripts.

swift test
bash scripts/build-community.sh release
python3 scripts/verify-bundle.py build/Shelf.app

To look at the interface with sample content and separate preferences, run bash scripts/build-ui-tests.sh and open build/Shelf UI Test.app. The testing guide lists every check to run before a change.

License

Released under the MIT License. Bundled third-party components keep their own licenses; see Dependencies.

About

Clipboard history, notes and image tools for macOS.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages