-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Add screenshots extension #24372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add screenshots extension #24372
Conversation
- feat: screenshots extension v1.0.0 - initial commit
|
Congratulations on your new Raycast extension! 🚀 Due to our current reduced availability, the initial review may take up to 10-15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
Greptile OverviewGreptile SummaryThis PR adds a new Screenshots extension that provides a grid-based browser for macOS screenshots with a paste-first workflow. The extension automatically detects the screenshot directory from macOS system preferences, watches for new screenshots, and supports infinite scrolling. Key Features:
Architecture:
Confidence Score: 4/5
Important Files ChangedFile Analysis
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 files reviewed, 2 comments
| } | ||
| ], | ||
| "dependencies": { | ||
| "@raycast/api": "latest", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a specific semantic version instead of "latest" for @raycast/api. The "latest" tag can cause unpredictable behavior and breaks reproducible builds. Other extensions in this repo use versions like "^1.104.1" or similar.
| await Clipboard.copy({ file: filePath }); | ||
| await closeMainWindow(); | ||
| await new Promise((resolve) => setTimeout(resolve, 100)); | ||
| execSync(`osascript -e 'tell application "System Events" to keystroke "v" using command down'`, { timeout: 5000 }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
execSync blocks the Node.js event loop, which can freeze the Raycast UI during the paste operation. Use async exec with promisify instead for non-blocking execution in this async function.
|
Thanks for your contribution @elliotekj 🔥 We already have multiple extensions in the Store that deal with JWT. Could we consider enhancing one of the existing extensions below instead of creating another one?
If there are unique features or workflows you’re aiming to add, we’d love to hear them and see if they can be integrated into one of these to avoid duplication and improve discoverability.
|

Description
A screenshot browser for quick find-and-paste of screenshots into the foreground app. Built with Claude Code, Codex, etc in mind but works for anything that accepts pasted images.
Screencast
screenshots_demo.mov
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder