{"id":50751731,"url":"https://github.com/andresousadotpt/macshot","last_synced_at":"2026-06-11T02:00:38.183Z","repository":{"id":363927510,"uuid":"1265579723","full_name":"andresousadotpt/macshot","owner":"andresousadotpt","description":"A native macOS menu bar app for region screenshots and region GIF recording.","archived":false,"fork":false,"pushed_at":"2026-06-11T00:19:13.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-11T01:12:22.968Z","etag":null,"topics":["gif","macos","menubar","native","screenshots"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andresousadotpt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-10T22:48:15.000Z","updated_at":"2026-06-11T00:18:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/andresousadotpt/macshot","commit_stats":null,"previous_names":["andresousadotpt/macshot"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/andresousadotpt/macshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresousadotpt%2Fmacshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresousadotpt%2Fmacshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresousadotpt%2Fmacshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresousadotpt%2Fmacshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andresousadotpt","download_url":"https://codeload.github.com/andresousadotpt/macshot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresousadotpt%2Fmacshot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34178819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gif","macos","menubar","native","screenshots"],"created_at":"2026-06-11T02:00:23.217Z","updated_at":"2026-06-11T02:00:38.166Z","avatar_url":"https://github.com/andresousadotpt.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Macshot\n\nA native macOS menu bar app for **region screenshots** and **region GIF recording**. Select an area with a frozen, dimmed overlay and crosshair cursor — similar to the built-in screenshot tool — then copy the result to your clipboard.\n\n## Features\n\n- **Region screenshot** — freezes the screen, dims the overlay, crosshair cursor, drag to select, PNG copied to clipboard\n- **Region GIF** — same selection UI, then records the live region and copies an animated GIF to clipboard\n- **Multi-display** — overlay on every connected display\n- **Settings** — dim opacity, GIF FPS, max recording duration, launch at login, permission status\n\n## Hotkeys\n\n| Action | Default hotkey |\n| ------ | -------------- |\n| Screenshot | `⌘⇧4` |\n| Record GIF | `⌘⇧3` |\n\nWhile Macshot is running, these replace the matching **macOS screenshot shortcuts**. Hotkeys are configurable in **Settings**. **Accessibility** permission is required for global hotkey interception. You can also trigger captures from the menu bar icon.\n\n## Requirements\n\n- macOS 14 (Sonoma) or later\n- **Accessibility** permission (required to override global screenshot hotkeys)\n- **Accessibility**, **Screen Recording**, and **Notifications** — Macshot requests these shortly after first launch\n\n## Install\n\n### Build from source (recommended)\n\n```bash\ngit clone https://github.com/andresousadotpt/macshot.git\ncd macshot\nmake app\nopen dist/macshot.app\n```\n\n### Homebrew\n\n```bash\nbrew tap andresousadotpt/tap\nbrew install --cask macshot\n```\n\n### GitHub Release\n\nDownload `macshot-{version}.zip` from [Releases](https://github.com/andresousadotpt/macshot/releases), unzip, and open the app.\n\nIf macOS blocks launch the first time, right-click the app → **Open**, or use System Settings → Privacy \u0026 Security → **Open Anyway**.\n\n## Usage\n\n1. Launch Macshot — it runs as a menu bar agent (no Dock icon) and starts automatically at login.\n2. Press `⌘⇧4` or choose **Capture Screenshot** from the menu.\n3. Drag a rectangle on the frozen overlay; release to copy PNG to clipboard.\n4. Press `⌘⇧3` or choose **Record GIF** to select a region, then click **Stop** on the HUD when done.\n5. Open **Settings** from the menu to customize hotkeys, dim opacity, GIF FPS, max duration, and launch at login.\n\nPress `Esc` during region selection or GIF recording to cancel (recording is discarded, nothing copied).\n\n## Development\n\n```bash\nmake build    # debug build\nmake run      # build and launch via swift run\nmake test     # unit tests (requires full Xcode)\nmake app      # release .app in ./dist/\nmake clean    # remove build artifacts\n```\n\n### Project layout\n\n| Target | Purpose |\n| ------ | ------- |\n| **MacshotCore** | Models, image/GIF encoding, settings — no UI imports |\n| **Macshot** | SwiftUI shell, AppKit overlays, ScreenCaptureKit bridges |\n\nAI agents should read [AGENTS.md](AGENTS.md) for architecture and conventions.\n\n## Releasing\n\nVersion lives in `packaging/Info.plist` (`CFBundleShortVersionString`). Push to `main` and GitHub Actions will build, publish a release zip, and update the Homebrew cask.\n\n```bash\nmake bump-version BUMP=minor   # or BUMP=major\ngit add packaging/Info.plist \u0026\u0026 git commit -m \"chore: bump version to X.Y.Z\"\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n| Document | Purpose |\n| -------- | ------- |\n| [AGENTS.md](AGENTS.md) | Architecture and agent conventions |\n| [SUPPORT.md](SUPPORT.md) | Help and FAQs |\n| [SECURITY.md](SECURITY.md) | Report vulnerabilities privately |\n| [CHANGELOG.md](CHANGELOG.md) | Version history |\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresousadotpt%2Fmacshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandresousadotpt%2Fmacshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresousadotpt%2Fmacshot/lists"}