Skip to content

Take a screenshot, upload it to Cloudinary. Get back https image link to clipboard.

Notifications You must be signed in to change notification settings

urre/alfredinary

Repository files navigation

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 the https image link in your clipboard
  4. 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

  1. Install the 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/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.

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

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

About

Take a screenshot, upload it to Cloudinary. Get back https image link to clipboard.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •