- Created by urre
- 🗓 Last Updated: 02/02/23 03:53:27
- 🌟 Stars on GitHub: 14
- Please consider supporting the creator by Starring or Sponsoring them on GitHub!
- Get Latest Release
- Get Source Code
From their README
Alfredinary
Alfred 👉 Take Screenshot 👉 Cloudinary 👉 Clipboard
Features
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
Why?
- Quickly share screenshots
- No need to store the files on your computer if you don't want.
- Https image links
- Secure
- All the benefits from Cloudinary. Image management, image management transformations (ex via URL parameters), cloud storage, fast delivery via CDN.
Install
- Install the 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
.env
file in the project root. You can rename.env-example
to.env
. EditPATHNAME
ANDFILENAME
as you wish.
CLOUDNAME="XXXXX"
APIKEY="XXXXXXXXXXXX"
APISECRET="XXXXXXXXXXXX"
PATHNAME="/users/myusername/Pictures/screenshots/"
FILENAME="screenshot.jpg"
FOLDERNAME="/alfred"
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
/users/${username}/Pictures/screenshots/screenshot.jpg
Edit the yellow bash script in the image below.
Use
- 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.
-
cmd ⌘+V