Skip to main content

Raycast extension: attach clipboard images when creating a draft

I'd love to attach images directly from the clipboard in the Typefully Raycast extension's New Draft command. Right now the form only accepts text, so adding a screenshot or copied image means leaving Raycast and finishing the draft in the browser.

Suggested workflow: copy an image or screenshot, open New Draft, then use an Attach Image from Clipboard action or keyboard shortcut. Show the attachments in the form so they can be reviewed or removed before creating the draft.

I've implemented a proof of concept in a fork of the Raycast extension, with a draft PR ready for review:

https://github.com/iamomiid/extensions/pull/1

PoC source:

https://github.com/iamomiid/extensions/tree/feat/typefully-clipboard-images/extensions/typefully

The implementation supports up to four clipboard images or selected image files, image-only drafts, and attaching images to the first post on each selected platform. It uploads images on submission, waits for processing, and keeps the form and attachments available if an upload fails. The clipboard shortcut is Cmd+Shift+V on macOS and Ctrl+Shift+V on Windows.

All 11 automated tests, build, and lint pass. Native macOS PNG/TIFF clipboard reading has been tested; the authenticated Typefully upload flow and native Windows clipboard behavior still need manual validation.

Would love to see this supported in the official extension. Happy to use the PoC as a starting point.

Log in to comment and vote

No comments yet

Be the first to share your thoughts.