alfredinary
v0.13.2
Published
Take screenshot, upload to Cloudinary. Get back https image link to clipboard.
Downloads
44
Maintainers
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/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
/users/${username}/dropbox/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