Take a screenshot, upload it to Cloudinary. Get back https image link to clipboard.
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.env-example
.gitignore
icon.png
index.js
info.plist
package.json
readme.md

readme.md

Alfredinary

Alfred 👉 Take Screenshot 👉 Cloudinary 👉 Clipboard

Features

This workflow provides this in a single command:

  1. Take screenshot on your mac
  2. Upload it to Cloudinary
  3. Get back https image link to your clipboard
  4. 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

  1. Install Npm package
npm install -g alfredinary
  1. 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. Edit PATHNAME AND FILENAME as you wish.
CLOUDNAME="XXXXX"
APIKEY="XXXXXXXXXXXX"
APISECRET="XXXXXXXXXXXX"
PATHNAME="/users/myusername/dropbox/screenshots/"
FILENAME="screenshot.jpg"

Get cloudname, apikey and apisecret from your account on Cloudinary. Don't have an account? Get one. It's free.

  1. 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.

Workflow

Use

  1. Open up Alfred and type "Alfredinary". Or just begin typing "Alfredi..", or "Alf..." + Enter

Alfred

  1. Take a screenshot as usual, mark section of your screen or use Space to select the current window.

  2. Alfredinary now uploads that screenshot to your Cloudinary account, and you will get back a https image link.

  3. cmd ⌘+V

Cloudinary