captureScreen is a small macOS screenshot helper. It watches a folder for new screenshots, opens them in a local browser editor, and lets you quickly annotate, crop, blur, copy, or save the result.
The app runs locally on your machine. Screenshots are served from the configured watch folder through a local HTTP server bound to 127.0.0.1.
- Watches a screenshot folder and opens new image files automatically.
- Browser-based editor for arrows, shapes, text, marker strokes, blur areas, and crop.
- Copy the final image to the clipboard or save it as a PNG.
- Undo and redo for committed edits.
- Per-user macOS LaunchAgent installation.
- No admin privileges required for the default install path.
- macOS
curlandtarfor installing from GitHub releases- Go, only when installing from a local checkout or running tests locally
- Node.js, only when running the Playwright test suite
Install the latest release:
curl -fsSL https://github.com/mikhail-angelov/captureScreen/releases/latest/download/install.sh \
| sh -s -- --source github --watch-folder ~/DocumentsInstall a specific release:
curl -fsSL https://github.com/mikhail-angelov/captureScreen/releases/latest/download/install.sh \
| sh -s -- --source github --version v0.1.0 --watch-folder ~/DocumentsThe installer downloads the correct macOS binary for your CPU architecture, copies it to ~/.local/bin/captureScreen, and registers a LaunchAgent at:
~/Library/LaunchAgents/com.mikhail-angelov.captureScreen.plist
Logs are written to:
~/Library/Logs/captureScreen.out.log
~/Library/Logs/captureScreen.err.log
From the repository root:
./scripts/install.sh --source local --watch-folder ~/DocumentsInstall an existing binary:
./scripts/install.sh --source local --binary ./captureScreen --watch-folder ~/DocumentsUse a custom port:
./scripts/install.sh --source local --watch-folder ~/Desktop --port 8091Remove the LaunchAgent:
./scripts/install.sh --uninstallRemove both the LaunchAgent and the installed binary:
./scripts/install.sh --uninstall --remove-binaryRun from source:
CAPTURE_SCREEN_WATCH_FOLDER=~/Documents CAPTURE_SCREEN_PORT=8090 go run .Open the editor manually:
http://127.0.0.1:8090/
Open a specific file from the watch folder:
http://127.0.0.1:8090/?file=Screenshot.png
The app uses these environment variables:
| Variable | Default | Description |
|---|---|---|
CAPTURE_SCREEN_WATCH_FOLDER |
~/Documents |
Folder watched for new screenshot images. |
CAPTURE_SCREEN_PORT |
8090 |
Local HTTP server port. |
The watch folder must exist and must not be a symlink.
| Shortcut | Action |
|---|---|
Cmd+S |
Save PNG |
Cmd+C |
Copy PNG |
Cmd+Z |
Undo |
Shift+Cmd+Z |
Redo |
Delete or Backspace |
Delete selected annotation |
0 |
Reset zoom to 100% |
+ / - |
Zoom in / out |
Cmd or Ctrl + mouse wheel |
Zoom |
Run Go tests:
go test ./...Run Go lint checks used by CI:
test -z "$(gofmt -l main.go server)"
go vet ./...Install browser test dependencies:
cd tests
npm ci
npx playwright install chromiumRun end-to-end tests:
cd tests
npm testReleases are published by GitHub Actions when a tag matching v* is pushed:
git tag v0.1.0
git push origin v0.1.0The release workflow runs formatting checks, go vet, Go tests, Playwright tests, builds macOS amd64 and arm64 archives, and uploads checksums plus the install script to the GitHub release.