A lightweight jump-cut editor for your Mac, built with one prompt. No internet, no subscription, no effects you don't need.
<aside> ✂️
What you get: import a video → see the audio waveform → select silent parts → cut → export.
</aside>
Copy this whole block and paste it into Claude:
Build me a lightweight, offline video editor for my Mac as a native SwiftUI + AVFoundation app.
Purpose: fast jump cuts only. No effects, no overlays, no internet, no third-party dependencies (no ffmpeg, no Python).
Features:
1. Import one video (MP4, MOV, M4V) via drag-and-drop onto the window or ⌘O.
2. Preview player that always plays the EDITED result (cuts applied live).
3. A zoomable timeline with:
- a time ruler
- a clip track showing each kept piece with its duration
- an audio waveform track drawn on a dB (loudness) scale, so silent parts look flat and are easy to spot
- an amber playhead
4. Zoom with trackpad pinch, ⌘+scroll, ⌘+ / ⌘−, a zoom slider, and ⌘0 to fit the whole video. Scroll sideways to pan.
5. Editing:
- Drag on the timeline to select a range; click a clip to select it
- I / O to mark in and out from the playhead
- S to split at the playhead
- Delete or X to remove the selection (the gap closes automatically, ripple delete)
- Esc to clear the selection
- ⌘Z / ⇧⌘Z undo and redo
- Space play/pause, ← → step one frame, Shift+← → jump 1 second
6. Export:
- ⌘E: High quality, frame-accurate (re-encode, MP4)
- ⇧⌘E: Fast copy with no re-encode
- Show a progress bar, then reveal the file in Finder when done
7. Read the audio waveform in the background with AVAssetReader (8 kHz mono, 100 peaks per second) and show progress while it loads.
8. Keep the video's rotation (preferredTransform) so iPhone portrait videos look right.
Design: dark, minimal, lightweight UI. Amber accent for playhead/selection, teal waveform, hidden title bar, a small hint bar at the bottom showing the shortcuts.
Deliverables:
- Swift source files split sensibly (App, EditorModel, TimelineView, ContentView)
- An Info.plist
- A build.sh script that compiles with swiftc (no Xcode project needed) into JumpCut.app, ad-hoc code signs it, and tells me to run: open JumpCut.app. Target arm64, macOS 15.
- Zip it all so I can download it.
<aside> 💡
Tip: If your build shows errors, paste only the lines that contain error: back to Claude and ask it to fix just those lines.
</aside>
cd ~/JumpCut
bash build.sh
open JumpCut.app
bash build.sh again.<aside> ⚠️
Seeing "Operation not permitted"? macOS blocks Terminal from reading your Downloads folder. Choose one fix:
You don't need sudo.
</aside>