Skip to content
kiku-jwPublic

About

Lightweight macOS clipboard history app with search, export, and local-first storage.

Topics

Resources

Code of conduct

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

91 Commits

Folders and files

Repository files navigation

ClipStash

ClipStash

πŸ—’οΈ Lightweight, privacy-first clipboard history manager for macOS

App Store Product Hunt Build License: AGPL-3.0 macOS 14+

App Store β€’ Website β€’ Export instructions β€’ Release history


Why ClipStash?

ClipStash is an open-source macOS clipboard history manager with local search, pinned items, app filters, and file export. It has no built-in cloud sync. The app sandbox entitlements do not enable network client or server access.

Key Features

Feature Description
Local History Keep and search copied text and images on your Mac
Markdown Export Export selected history to files in a folder you choose
App Exclusions Skip configured applications and recognized sensitive clipboard types
Pin & Organize Pin frequently used clips and filter by source app
Image Support Capture, preview, and optionally export image files with their paths in Markdown

Application attribution follows the observed foreground app. Exclusions and sensitive-type checks are safeguards, not a guarantee that every password or sensitive copy can be identified. Review stored content and exports before sharing them.

Choosing a Clipboard Manager

Maccy, CopyQ, and PasteBar are alternatives worth checking against your own workflow. Their export formats, licenses, and current prices should be checked in their official documentation.

ClipStash's export produces local Markdown or plain text. With image export enabled, it also copies images and lists their relative paths in Markdown. A portable folder on disk does not establish that another application will import its images or preserve every reference.


Installation

App Store (Recommended)

Download on the App Store

Older GitHub Releases

The v0.1.0 GitHub ZIP is a historical Apple-silicon-only build. It is ad-hoc signed, not a notarized release. If Finder says the app is damaged or incomplete, use the Mac App Store build instead of following the quarantine-removal instructions bundled with the old ZIP. To run from source, use the Xcode steps below.

Build from Source

git clone https://github.com/kiku-jw/ClipStash.git
cd ClipStash
open ClipStash.xcodeproj
# Build with ⌘B, Run with ⌘R

Launch at Login

  1. Move ClipStash.app to /Applications
  2. Open Settings β†’ Enable "Launch at Login"

Note: Launch at login requires the app to be in /Applications (macOS restriction).


Usage

Keyboard Shortcuts

Action Shortcut
Open history Click menu bar icon
Navigate ↑ / ↓
Copy to clipboard Enter
Focus search ⌘F
Delete item ⌘⌫
Pin/unpin ⌘P
View full content Double-click

Export Files for Later Use

  1. Click Export... in popover
  2. Select scope: Last 50/100/200/500, Today, Pinned, or by App
  3. Choose format: Markdown (recommended)
  4. Click Export Now

Large exports auto-split at a target of ~400K words. This is ClipStash's chunking setting; acceptance by another tool depends on that tool's current limits and supported formats. NotebookLM ingestion has not been qualified here. Image paths in Markdown refer to local files; images are not automatically uploaded. Exported files are not encrypted; review them before sending them to any external service.

Settings

Setting Default Description
History Limit 500 Max items to keep (100-50000)
Text Max Size 500 KB Skip text larger than this
Image Max Size 10 MB Skip images larger than this
Save Images On Also capture images
Deduplication On Skip duplicate content
Byte Preserve Off Keep exact whitespace

Ignore List

Add app bundle IDs to exclude from capture (e.g., com.1password.1password).

Privacy

  • Network Sandbox: App entitlements do not enable network client or server access
  • No Telemetry: Zero analytics or tracking
  • Local Storage: All data in ~/Library/Application Support/ClipStash
  • Sensitive Content: Automatically skips concealed/transient clipboard items
  • Pinning: Keeps an item available; pinning does not encrypt its content

Sensitive Content Detection

ClipStash respects macOS clipboard indicators:

  • org.nspasteboard.ConcealedType β€” password managers
  • org.nspasteboard.TransientType β€” temporary data

Architecture

ClipStash/
β”œβ”€β”€ App/           # Entry point, AppDelegate
β”œβ”€β”€ Core/          # Business logic
β”‚   β”œβ”€β”€ ClipboardMonitor.swift
β”‚   β”œβ”€β”€ StorageManager.swift
β”‚   └── ExportService.swift
β”œβ”€β”€ UI/            # SwiftUI views
└── Utils/         # Helpers

Why Polling?

macOS doesn't provide clipboard change notifications. We poll NSPasteboard.changeCount every 300ms with debounce β€” same approach used by established clipboard managers. This uses negligible CPU.

FAQ

Q: Why not use NSPasteboard notifications? A: macOS doesn't provide them. Polling is the only reliable method.

Q: How do I exclude an app? A: Settings β†’ Ignore List β†’ Add bundle ID (e.g., com.apple.keychainaccess).

Q: Where is data stored? A: ~/Library/Application Support/ClipStash/clipstash.db

Q: How to fully uninstall? A: Delete app + rm -rf ~/Library/Application\ Support/ClipStash

Documentation

Contributing

See CONTRIBUTING.md.

Follow the work

Project notes and new tools: Telegram Β· LinkedIn Β· KikuAI

License

AGPL-3.0. Copyright (c) 2025 KikuAI Lab

KikuAI website Telegram @kiku_ai GitHub @kiku-jw

Follow new projects and updates from @kiku-jw.

About

Lightweight macOS clipboard history app with search, export, and local-first storage.

Topics

Resources

Code of conduct

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages