Draw on your screen. Highlight your cursor. Spotlight what matters. Zoom into details. A native macOS screen annotation tool, open-source, zero dependencies, 450KB.
Four features in one binary:
- Annotation. Pen, arrow, rectangle, circle, line, highlighter, eraser, text. Select, move, delete, undo.
- Cursor highlight. Colored halo with click animations. Configurable shape, size, glow.
- Spotlight. Dims the screen except around your cursor.
- Zoom. Magnifies content under the cursor in a floating bubble.
Plus a floating toolbar panel that shows controls for whichever features are active, customizable keyboard shortcuts, passthrough mode for clicking through annotations, and state restoration across relaunches.
Requires macOS 13.0+ and Swift 5.9+ (Xcode 15 Command Line Tools).
git clone https://github.com/asub927/spotdraw.git
cd spotdraw
swift build --target Spotdraw
swift run SpotdrawGrant Accessibility permission when prompted. The app appears as a pencil icon in the menu bar.
Download the latest release from Releases, or build from source above.
swift run SpotdrawTests78 tests: 13 preservation, 26 property-based, 39 unit/regression. Runs headlessly from the command line.
| Shortcut | Action |
|---|---|
Ctrl+D |
Toggle annotation overlay |
Ctrl+S |
Toggle cursor highlight |
Ctrl+L |
Toggle spotlight |
Ctrl+M |
Toggle zoom |
Ctrl+Shift+I |
Toggle Interactive Mode |
Ctrl+= / Ctrl+- |
Zoom in/out |
P/A/R/O/L/H/E/T/S |
Tools |
1/2/3/4/5 |
Colors |
Cmd+Z / Cmd+Shift+Z |
Undo / Redo |
Cmd+Delete |
Clear all |
Cmd+A |
Select all |
Delete |
Delete selection |
B |
Cycle board mode |
Space |
Toggle fade mode |
Escape |
Deactivate overlay |
All rebindable in Settings > Shortcuts.
- Clone and run
swift run Spotdraw - Grant Accessibility permission (System Settings > Privacy & Security > Accessibility)
Ctrl+Dto activate. Draw with the mouse. Try tool keys (P/A/R/O/L/H/E/T/S)T, click, type text, press ReturnS, click items, shift-click, drag marquee, Delete to remove, Cmd+Z to undoCtrl+Sfor cursor highlight,Ctrl+Lfor spotlight- Toggle features and watch the toolbar panel sections appear/disappear
- Open Settings > Shortcuts tab to rebind keys
- Hold Right Option while annotating for passthrough
swift run SpotdrawTeststo verify 78/78 passing
Spotdraw/
├── App/ AppDelegate, app lifecycle
├── Core/ DrawingState, SelectionManager, ShortcutStore,
│ HotkeyManager, SettingsManager, PassthroughModifier
├── Overlay/ OverlayWindowController, OverlayView,
│ TextEditingController, TextAnnotation,
│ SelectionRenderer, ToolbarPanelController
├── Cursor/ CursorManager, CursorHighlightWindow
├── Spotlight/ SpotlightWindow
├── Zoom/ ZoomWindow
├── Settings/ SettingsWindowController, ShortcutsSettingsTab
├── MenuBar/ MenuBarController
└── Resources/ Info.plist
Zero third-party dependencies. Pure AppKit, SwiftUI, and Core Graphics.
Operation-stack undo model supports add, remove, move, and edit. Translation uses an additive offset so immutable geometry stays untouched. The toolbar is a non-activating NSPanel that never steals keyboard focus. Global shortcuts use a CGEvent tap resolved through ShortcutStore. Property-based tests validate invariants across random operation sequences.
The .kiro/specs/ directory in this repository contains the full spec-driven workflow. Each feature started as a requirements document, became a design, broke into ordered tasks, and was implemented with verification checkpoints.
| Spec | What it covers |
|---|---|
annotation-parity-phase-1 |
Text, select/move/delete, zoom, shortcuts, passthrough. 14 task groups, 78 tests. |
panel-redesign |
Floating toolbar panel with dynamic sections |
shortcut-details |
Shortcut indicators on menu items |
swift-redesign |
Mac-native design review against Mac-Arsed Mac App principles |
spotdraw-shortcut-freeze-fix |
Bugfix for overlay deactivation |
cursor-highlight-enhancements |
Cursor highlight improvements |
swift-code-review |
Code quality pass |
Kiro wrote 26 property tests that validate invariants like "selection never contains a stale identifier" and "operation-stack invertibility." It produced 5,700+ lines of production code across one session with 13 verification checkpoints gating each task group.
MIT. See LICENSE.
Built with Kiro for the Ready, Spec, Ship Hackathon by Coding Agents.