https://github.com/urre/alfredinary
Take a screenshot, upload it to Cloudinary. Get back https image link to clipboard.
https://github.com/urre/alfredinary
alfred cloudinary workflow
Last synced: 8 months ago
JSON representation
Take a screenshot, upload it to Cloudinary. Get back https image link to clipboard.
- Host: GitHub
- URL: https://github.com/urre/alfredinary
- Owner: urre
- Created: 2016-10-19T13:45:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T03:53:27.000Z (almost 3 years ago)
- Last Synced: 2025-04-10T08:57:36.742Z (9 months ago)
- Topics: alfred, cloudinary, workflow
- Language: JavaScript
- Homepage:
- Size: 399 KB
- Stars: 15
- Watchers: 2
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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](https://cloudinary.com)
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
```bash
npm install -g alfredinary
```
2. 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.
```bash
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](https://cloudinary.com). Don't have an account? Get one. It's free.
3. 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
1. Open up Alfred and type "Alfredinary". Or just begin typing "Alfredi..", or "Alf..." + Enter

2. Take a screenshot as usual, mark section of your screen or use Space to select the current window.
3. Alfredinary now uploads that screenshot to your Cloudinary account, and you will get back a https image link.
4. cmd ⌘+V
