Take a screenshot, upload it to Cloudinary. Get back https image link to clipboard.
Author: Urban Sandén
Last Updated: 13/05/19 16:48:59
Alfred 👉 Take Screenshot 👉 Cloudinary 👉 Clipboard
This workflow provides this in a single command:
- Take screenshot on your mac
- Upload it to Cloudinary
- Get back the https image link in your clipboard
- Paste and use! cmd ⌘+V
- Quickly share screenshots
- No need to store the files on your computer if you don’t want.
- Https image links
- All the benefits from Cloudinary. Image management, image management transformations (ex via URL parameters), cloud storage, fast delivery via CDN.
- Install Npm package
npm install -g alfredinary
- Create env-file. When installed, open up Alfred Workflows and right click to open the workflow directory in Terminal/finder. Create an
.envfile in the project root. You can rename
FILENAMEas you wish.
CLOUDNAME="XXXXX" APIKEY="XXXXXXXXXXXX" APISECRET="XXXXXXXXXXXX" PATHNAME="/users/myusername/dropbox/screenshots/" FILENAME="screenshot.jpg" FOLDERNAME="/"
Get cloudname, apikey and apisecret from your account on Cloudinary. Don’t have an account? Get one. It’s free.
- Edit temp location (pathname and filename) of the screenshot on disk. The default is
Edit the yellow bash script in the image below.
- Open up Alfred and type “Alfredinary”. Or just begin typing “Alfredi..”, or “Alf…” + Enter
Take a screenshot as usual, mark section of your screen or use Space to select the current window.
Alfredinary now uploads that screenshot to your Cloudinary account, and you will get back a https image link.