explaingit

appdev/clipdock

13SwiftAudience · generalComplexity · 2/5ActiveSetup · moderate

TLDR

Open-source Mac clipboard history app with a keyboard-driven panel triggered by Command Shift X, with previews and a pinned snippets section.

Mindmap

mindmap
  root((ClipDock))
    Inputs
      System clipboard
      Keyboard shortcuts
      Pinned snippets
    Outputs
      History panel cards
      Rich previews
      Paste action
    Use Cases
      Recover an overwritten copy
      Paste reply snippets
      Preview links and images
    Tech Stack
      Swift 6.1
      Rust core
      macOS 13
      Xcode CLT

Things people build with this

USE CASE 1

Recall the last few items copied on a Mac through a bottom-of-screen panel

USE CASE 2

Pin frequently used reply snippets and reference links

USE CASE 3

Search and preview text, images, files, and link metadata before pasting

USE CASE 4

Build from source with Swift 6.1 and a Rust toolchain on macOS 13 or newer

Tech stack

SwiftRustmacOSXcode

Getting it running

Difficulty · moderate Time to first run · 30min

Building from source needs Swift 6.1, the Xcode command-line tools, and a stable Rust toolchain, plus running a build-rust-core shell script before swift run.

In plain English

ClipDock is a small Mac app that remembers what you have recently copied. macOS by itself only keeps the very last thing on the clipboard, so as soon as you copy something new, the previous text, link, or image is gone. ClipDock keeps that recent history nearby, in a strip that slides up from the bottom of the screen when you call it. You scan, find the item, paste it, and the strip disappears so you can get back to whatever you were doing. The shortcut to open the panel is Command + Shift + X. Once it is open, the keyboard handles everything: arrow keys move between cards, Command + F searches, Space previews, Command + C copies, Command + 1 through Command + 9 grab the first nine visible items, Delete removes one, and Escape closes the panel. Each card is styled by what it holds, so text, rich text, links, colors, images, and files all look distinct without opening them. Preview is treated as core, not a side feature. Text stays readable, images render as the actual picture, files get a document preview, colors show as a swatch, and links can pull in page metadata such as an Open Graph card. The same panel also has a Pinboard section for things you reach for often, such as reply snippets, reference links, design notes, or release blurbs, so they do not get pushed out by everyday copying. The data side is local-first. The README says the clipboard history is stored on your own Mac, no account is required, and routine copying is not uploaded anywhere during normal use. Settings live on their own pages so the main workflow stays focused on the panel, preview, and Pinboard. ClipDock is open source. The README explains the choice by saying a clipboard tool sits close to personal data and the daily workflow, so users should be able to see how it works, run it locally, and contribute improvements. To build from source you need macOS 13 or newer, the Xcode command-line tools, a Swift 6.1 toolchain, and a stable Rust toolchain. The two commands shown are scripts/build-rust-core.sh and swift run ClipDock. Installation for normal users will come via a GitHub Release, dragged into Applications and started with the Command + Shift + X shortcut.

Copy-paste prompts

Prompt 1
Walk me through building ClipDock from source on macOS 14 with Xcode 16
Prompt 2
Explain why ClipDock pairs a Swift UI layer with a Rust core
Prompt 3
List the keyboard shortcuts ClipDock exposes inside the history panel
Prompt 4
Compare ClipDock to Maccy and Paste for an indie developer
Open on GitHub → Explain another repo

Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.