It does two things:
- You copy a image in Finder, run it and it uploads the image, copies link to clipboard
- You have a image in clipboard (Eg. ⇧+⌃+⌘ +4, or copy an image from the web), run the script and it gets uploaded to Imgur, link gets copied to Clipboard
Dependency: pngpaste
, grab it via brew install pngpaste
A very simple script to upload the latest screenshot you have to Imgur and copy the uploaded image link to clipboard.
Instruction: Grab the last2imgur.sh
from the repo and put it in your Raycast Scripts folder. That should be all.
Launches the native screenshot interface selection, when done, uploads the image to Imgur, copies link to clipboard.
Notes: When you run it for the first time, Raycast will ask for screensharing permission, after giving the permission, it'll start working from the second time and onwards.
Simple script to install Raycast script from the internet. Simple copy the link to the script, and launch this script and after making sure its a valid Raycast Script, it'll be saved to your Scripts folder.
Note: Since there's no way to find which is your scripts folder, you have to manually edit the line in