Vibecode CleanShot X

track this build5 phases, 15 steps, beginner friendly
YES · one-shottable
price variesbuild time one sittingcategory 📹 screen recordingreplaced by 0 people

The core loop is small enough for a capable coding agent to produce a useful local version in one sitting. For CleanShot X, capture screenshots or screen video, annotate them, and copy or save locally. The hard boundary is deep macos integration, scrolling capture, cloud sharing, and years of polish, plus capture polish, hosting, and collaboration.

the project pack5 files · written for this build, step by step
README.md
# CleanShot X · indie build

A capture tool that takes region, window and full-screen shots through ScreenCaptureKit, records screen video with microphone audio in sync, lets you annotate with arrows, boxes and a blur that actually destroys pixels, trims the result, and exports to MP4 or GIF on your own disk.

Estimated effort: **weekend**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Language | Swift 6 and SwiftUI in Xcode | ScreenCaptureKit and AVFoundation are the only sanctioned capture path on modern macOS |
| Capture | ScreenCaptureKit, requires macOS 12.3 or newer | the older CGWindowListCreateImage path is deprecated and excluded from newer privacy prompts |
| Video | AVAssetWriter writing H.264 into MP4 | hardware encoding through the system stack, no ffmpeg needed for the common case |
| GIF export | ffmpeg invoked as a subprocess with a generated palette | AVFoundation cannot write GIF, and a palette pass is the difference between eight colours and something watchable |
| Storage | Flat files in a capture directory plus a SQLite index | the images are the artefact; the database only records where they are and what was drawn on them |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **A Mac running macOS 13 or newer** · free if you already own a Mac
  - Why: ScreenCaptureKit needs 12.3 as an absolute floor, and the screenshot API used here is cleaner on 13 and later.
  - Get it: Apple menu, then About This Mac, to check your version.
  - Verify: About This Mac reports macOS 13 or higher
- [ ] **Xcode 16 or newer** · free
  - Why: Builds and signs the app and provides the video debugging tools you will need for the sync work in Phase 3.
  - Get it: Install from the Mac App Store or developer.apple.com/xcode. It is a multi-gigabyte download.
  - Verify: xcodebuild -version prints 16 or higher
- [ ] **ffmpeg** · free
  - Why: AVFoundation cannot write GIF. Without ffmpeg, Phase 4 loses GIF export and nothing else.
  - Get it: brew install ffmpeg, or download a static build from ffmpeg.org. Decide early whether you will bundle it or require it, because bundling affects your signing.
  - Verify: ffmpeg -version prints a version banner
- [ ] **Willingness to re-grant Screen Recording during development** · free
  - Why: Every rebuild that changes the binary path or signature can invalidate the grant, and macOS will not re-prompt.
  - Get it: System Settings > Privacy and Security > Screen Recording. Remove the stale entry, then run the app again.
  - Verify: The app appears in the Screen Recording list and capture returns pixels rather than a black frame
- [ ] **Apple Developer Program membership** (optional) · 99 USD per year
  - Why: Product phase only. Without it there is no Developer ID certificate, so no notarization, so a Gatekeeper warning on every other Mac.
  - Get it: Enrol at developer.apple.com/programs; review can take a day or two.
  - Verify: A Developer ID Application certificate is listed in Xcode > Settings > Accounts

## Quick start

```sh
ffmpeg -i in.mp4 -vf "fps=15,scale=800:-1:flags=lanczos,palettegen" palette.png
ffmpeg -i in.mp4 -i palette.png -lavfi "fps=15,scale=800:-1:flags=lanczos[x];[x][1:v]paletteuse" out.gif
```

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Scrolling capture of long pages or documents.
- Hosted sharing links, which is the actual product behind the cloud tiers.
- Viewer analytics, which cannot exist without hosting.
- Team libraries, shared branding and the annotation polish of a decade-old app.
- deep macOS integration, scrolling capture, cloud sharing, and years of polish
- instant hosted sharing
- viewer analytics
- team libraries
- cross-device capture

If one of those is essential to you, that is the reason to keep paying for CleanShot X, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

People still pay for CleanShot X because the recording itself is easy; the subscription removes upload, transcoding, sharing, organization, and support work. The recurring cost buys OS permissions, codecs, rendering performance, uploads, storage, links, and viewer analytics, not just the visible interface.

what you lose

xdeep macOS integration, scrolling capture, cloud sharing, and years of polish

xinstant hosted sharing

xviewer analytics

xteam libraries

xcross-device capture

share on X ↗"I just replaced CleanShot X with one prompt"
the escape hatch

Don't feel like building it? These folks already made it free.

ShareXCleanShot after a Windows power user designed every menu.39kaug 2026open source↗

no votes, no pay-to-list · just what's real

the numbers

CleanShot X pricing

planmonthlyannual (per mo)what you get
app + cloud basiccustom—CleanShot X app; 1 year of updates; 1 GB cloud storage
app + cloud pro$10/user$8/userLatest app updates; unlimited cloud storage; custom domain, branding, security and team features

free tierno free tier and no direct CleanShot trial; Setapp offers a separate 7-day trial

billingone-time Basic license plus optional $19/year renewal, or monthly/annual Pro subscription

hidden costsThe $29 purchase includes updates for only one year and just 1 GB of cloud; continued updates/cloud service costs $19/year, while Pro is per user and subject to fair-use limits.

verified 2026-08-14 · source ↗

questions
Vibecode CleanShot X

Yes. A competent AI coding agent (Claude Code, Codex, Cursor) can build a usable personal CleanShot X replacement in one session with the prompt on this page. It runs on your own machine or server with no subscription.

How much does CleanShot X cost?

CleanShot X's pricing is usage-based or varies by plan · Primary purchase is a one-time Mac license; optional cloud plans are separate..

What do I lose by replacing CleanShot X?

Honestly: deep macOS integration, scrolling capture, cloud sharing, and years of polish; instant hosted sharing; viewer analytics; team libraries; cross-device capture. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to CleanShot X?

Yes: ShareX (CleanShot after a Windows power user designed every menu.) The prompt is for when you want it exactly your way.