Skip to content

About

Menu bar screenshot app for macOS: area, window and scrolling capture, screen recording and GIFs, OCR text capture, and a quick annotation editor.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

Repository files navigation

Shotwright: screenshots, recordings and annotations for macOS

A native macOS app for screenshots, screen recordings and annotations.
Capture an area, a window or a whole scrolling page, record the screen as MP4 or GIF,
mark it up, and drop it straight into whatever you're working on.

macOS 14+ Swift MIT License

Shotwright lives in the menu bar. Press a shortcut, pick what to capture, and the result pops up as a thumbnail in the corner of the screen: copy it, save it, drag it into Slack or a pull request, pin it above your windows, or open it in the editor to add arrows, boxes, numbered steps and blur. Everything runs on your Mac. There is no account, no tracking, and text recognition happens on-device.

Screenshots

The annotation editor with an arrow, a box, numbered counters, a highlight and a pixelated area
The annotation editor: arrows, shapes, text, numbered counters, highlighter and pixelate.

Area selection with magnifier loupe and size badge
Capture Area on a frozen screen, with a pixel loupe and size badge.
Menu bar menu and Quick Access thumbnails
Menu bar and Quick Access: every action one click away, captures stacked bottom-left.
Scrolling capture with live preview
Scrolling Capture stitches a long page into one image, with a live preview.
Screen recording bar with timer, pause, stop and discard
Record Screen / GIF with a floating bar that never shows up in the video.

Features

Capture

  • Area: the screen freezes while you drag, with a magnifier loupe, live size badge, ⇧ for a square and ⌥ to grow from the center.
  • Window: hover a window and click. Captures it cleanly even when other windows overlap it. Space switches between area and window mode.
  • Fullscreen and Previous Area (repeat the last region in one keystroke).
  • Capture Text (OCR): select any part of the screen and the recognised text goes to the clipboard, using Apple's on-device Vision framework.
  • Scrolling Capture: select an area or window, then scroll. Frames are stitched into one tall image, keeping sticky headers and footers only once. A live preview sits beside the area; Return finishes, Esc cancels.

Record

  • Screen recording as MP4 or GIF: drag an area, click for the full screen, or press Space for a window. A small bar picks the format and whether to show the cursor, then turns into a timer with Pause, Stop and Discard. The bar and border are excluded from the recording.
  • Finished recordings land in Quick Access, ready to copy (the file, or GIF data), save, play or drag into any app.

After the capture

  • Quick Access overlay: thumbnails stack in the bottom-left corner. Hover for Copy, Save, Close, Pin and Annotate; double-click to annotate; drag a thumbnail into any app; right-click for more.
  • Pin to screen: float a capture above every window. Drag to move, scroll to resize, double-click or Esc to close.
  • Annotation editor: select and move, crop, arrow, rectangle, ellipse, line, pen, highlighter, text, numbered counters and pixelate. Six colours, adjustable size, undo and redo, zoom, then Copy, Save or Save As (PNG, JPEG or HEIC).

Everyday comfort

  • A menu bar menu with every action, its shortcut, and your four most recent captures.
  • Settings for the save folder, file format (PNG, JPEG, HEIC), Retina (@2x) export, what happens after a capture (Quick Access, copy, auto-save), shutter sound, start at login and including the cursor.
  • No Dock icon. Shotwright only appears in the Dock while an editor window is open.

Keyboard shortcuts

Action Shortcut
Capture Area ⌥ ⇧ 4
Capture Window ⌥ ⇧ 5
Capture Fullscreen ⌥ ⇧ 3
Capture Previous Area ⌥ ⇧ 6
Capture Text (OCR) ⌥ ⇧ 2
Record Screen / GIF (press again to stop) ⌥ ⇧ 7
Scrolling Capture ⌥ ⇧ 8

They use ⌥⇧ so they don't clash with macOS's own ⌘⇧3/4/5.

While selecting: Space toggles area and window mode, ⇧ locks a square, ⌥ draws from the center, Esc cancels. In the editor: ⌘C copy, ⌘S save, ⇧⌘S save as, ⌘Z / ⇧⌘Z undo and redo, ⌘= / ⌘- / ⌘0 zoom, ⌫ deletes the selected mark.

Install

Shotwright needs macOS 14 Sonoma or later.

  • Direct download: signed and notarized DMGs will be published on the Releases page. That build updates itself with Sparkle.
  • Mac App Store: a sandboxed build is being prepared for the App Store.
  • From source: see below. This is the way to run it today.

Permissions

Shotwright asks for one permission:

  • Screen & System Audio Recording, which macOS requires for any app that captures the screen. On first launch macOS shows its prompt; turn Shotwright on in System Settings › Privacy & Security › Screen & System Audio Recording, in the top list of that page (the lower "System Audio Recording Only" list does not allow screen capture), then quit and reopen Shotwright.

It does not need Accessibility access: the global shortcuts use the Carbon hot key API, which works without it. Nothing leaves your Mac; text recognition runs on-device.

If macOS keeps asking even though the switch is on, remove Shotwright from that list with the − button, add it again and reopen it. This happens when the app's code signature changes, for example with unsigned local builds (see below).

Build from source

You need Xcode 15 or later and XcodeGen. The Xcode project is generated from project.yml, so there is no .xcodeproj in the repo.

git clone https://github.com/chiranjeebhub/Shotwright.git
cd Shotwright
brew install xcodegen
xcodegen generate
open Shotwright.xcodeproj

In Xcode, choose your team under Signing & Capabilities (a free personal team works) and press ⌘R.

To build, sign, install to /Applications and relaunch in one step:

scripts/install.sh

It signs with your Developer ID Application certificate (the one releases use, so a local build and an installed release share one permission), else your Apple Development certificate, else a self-signed "Shotwright Local Signing" certificate it creates once. Prefer this to running an unsigned build: macOS ties the Screen Recording permission to the code signature, and an unsigned build gets a new signature on every rebuild, so macOS would ask again each time.

Command-line build:

xcodegen generate
xcodebuild -project Shotwright.xcodeproj -scheme Shotwright -configuration Debug build

Built with Swift, SwiftUI and AppKit, ScreenCaptureKit, AVFoundation, Vision and Core Image.

Code layout

Shotwright/
  App/        App entry, menu bar dropdown, CaptureCoordinator (routes every capture)
  Capture/    Capture model and ScreenCaptureKit wrapper
  Overlay/    Area/window selection overlay, Quick Access thumbnails, pinned images
  Recording/  Screen recorder (SCStream + AVAssetWriter), GIF export, recording bar and result card
  Editor/     Annotation model, renderer, editor model/view/window
  ScrollingCapture/  Scrolling capture session, HUD and frame stitcher
  Services/   Hotkeys (Carbon), permissions, settings, clipboard, export, OCR, sound, toast
  Settings/   Settings window

Built with Swift, SwiftUI + AppKit, ScreenCaptureKit (SCScreenshotManager), Vision and Core Image.

Roadmap

  • Audio (microphone and system audio) in recordings
  • Auto-scroll for scrolling capture
  • Cloud upload with share links
  • Custom keyboard shortcuts
  • A capture history window

Ideas and bug reports are welcome in Issues.

Releasing (maintainers)

project.yml defines two builds of the same app (bundle ID com.shotwright.app):

Scheme For Differences
Shotwright Direct download (DMG) and scripts/install.sh Not sandboxed, updates itself with Sparkle
Shotwright-AppStore Mac App Store App Sandbox, no Sparkle

In the sandboxed build the first save asks which folder to use (Desktop preselected) and remembers it as a security-scoped bookmark.

Both need a paid Apple Developer Program team; pass its Team ID as SHOTWRIGHT_TEAM_ID. Bump MARKETING_VERSION in project.yml for each release; the build number is the UTC time of the archive.

Direct download

SHOTWRIGHT_TEAM_ID=XXXXXXXXXX scripts/release-direct.sh

Archives with your Developer ID Application certificate, notarizes and staples the app and the DMG, writes dist/Shotwright-<version>.dmg, and adds an entry to appcast.xml. Publish by attaching the DMG to a GitHub release tagged v<version> and pushing appcast.xml; installed copies read the feed from main.

One-time setup: a Developer ID Application certificate (Xcode > Settings > Accounts > Manage Certificates), notarization credentials (xcrun notarytool store-credentials shotwright-notary --apple-id <you> --team-id <team>), and a Sparkle key (generate_keys from the Sparkle package; the public key goes in SPARKLE_PUBLIC_KEY in project.yml, the private key stays in your keychain).

Mac App Store

SHOTWRIGHT_TEAM_ID=XXXXXXXXXX scripts/release-appstore.sh            # export build.noindex/AppStore/Shotwright.pkg
SHOTWRIGHT_TEAM_ID=XXXXXXXXXX scripts/release-appstore.sh --upload   # upload to App Store Connect

Needs the App Store Connect app record for com.shotwright.app.

More free Mac apps by me

Clipstack Clipboard history for your Mac. ⇧⌘V, search, paste.
NotchDeck Your MacBook notch as a hub for media, files, calendar and local dev servers.
Sweep A fast, native Mac cleaner.

License

Shotwright is released under the MIT License.

About

Menu bar screenshot app for macOS: area, window and scrolling capture, screen recording and GIFs, OCR text capture, and a quick annotation editor.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages