lzhgus/Capso 是一个托管在 GitHub 上的开源项目,主要使用 Swift 编写,采用 Other 许可证,目前获得 1.6k 个 Star、106 次 Fork。
仓库全名
lzhgus/Capso
README 摘要
English | 简体中文 | 日本語 | 한국어 Capso Open-source screenshot and screen recording for macOS. A native, feature-rich alternative to CleanShot X. Built with Swift 6.0 and SwiftUI, targeting macOS 15.0+. Download → • Follow @lzhgus • Features • Build from Source Download Grab the latest signed, notarized DMG from GitHub Releases → Or install via Homebrew: Or build from…
Screen recording, camera, and microphone permissions are required. The app will prompt on first use.
Sponsors
Sponsored
Why Open Source?
Every macOS screenshot tool worth using costs money — CleanShot X is $29, Cap is $58. They’re excellent apps, but a core productivity feature shouldn’t be locked behind a paywall.
Capso is our answer: a fully native, feature-complete alternative that’s free forever, built in the open, and architected so the underlying pieces (CaptureKit, AnnotationKit, OCRKit…) are reusable SPM packages you can drop into your own app.
Capso exists to give back to the macOS community and to show what a modern, modular Swift 6 app can look like.
Features
All-in-One Capture
CleanShot-style capture HUD — choose Area, Fullscreen, Window, Scrolling, Timer, OCR, or Recording from one floating toolbar
Adjustable selection — resize or move the capture area before committing, with dimmed surroundings and a bright selected region
Aspect-ratio and fixed-size presets — quickly switch between Freeform, 1:1, 4:3, 16:9, and custom fixed pixel sizes
Inline annotation — draw arrows, shapes, text, highlights, and pixelation directly on the captured area before saving or copying
Screenshots
Area capture — drag to select with dimension display; press R to cycle aspect ratio and fixed-size presets (1:1, 16:9, 1920×1080, custom)
Fullscreen capture — one-click full screen
Window capture — click any window to capture
Scrolling capture — capture long webpages, chat threads, and documents into one stitched image
Quick Access — floating preview with copy, save, annotate, OCR, pin, and a dedicated drag handle for sending the fresh screenshot to other apps without saving first
Screen Recording
Video (MP4) and GIF recording
Webcam PiP — 4 shapes (circle, square, portrait, landscape), drag-resize, snap-to-corners, and restart recording without losing your PiP placement or size
Camera presentation mode — click PiP to expand fullscreen, click again to restore
# Install XcodeGen if you don't have it
brew install xcodegen
# Clone and build
git clone https://github.com/lzhgus/Capso.git
cd Capso
xcodegen generate
open Capso.xcodeproj
# Build and run in Xcode (Cmd+R)
Capso uses a modular SPM (Swift Package Manager) architecture. The app is a thin SwiftUI + AppKit shell; all core capabilities live in 12 independent packages.
swift test --package-path Packages/SharedKit
swift test --package-path Packages/AnnotationKit
# etc.
The package split means you can embed, for example, CaptureKit or AnnotationKit in your own app without pulling in the entire Capso shell — something no Electron- or Tauri-based alternative can offer.
评论