Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aviaryan/alfred-last2imgur

Alfred workflow to upload the last screenshot taken to Imgur + (delete and minify image)
https://github.com/aviaryan/alfred-last2imgur

alfred alfred-3 alfred-workflow alfred3-workflow imgur imgur-uploader

Last synced: about 2 months ago
JSON representation

Alfred workflow to upload the last screenshot taken to Imgur + (delete and minify image)

Awesome Lists containing this project

README

        

# Alfred - Last 2 Imgur



**Tested with Alfred 3**

This workflow uploads last screenshot that you took, to Imgur.
It has options to minify the image and automatically delete the image after upload.

After uploading, direct link to image is copied to clipboard.

## Installing

Download [Last 2 Imgur workflow file](https://github.com/aviaryan/alfred-last2imgur/raw/master/Last%202%20Imgur.alfredworkflow) and double click to open it with Alfred.

## Using

```
last2imgur [options]
```

## Screenshot

![Screenshot](https://i.imgur.com/FyCSOy5.png)

## Example usage

```sh
# upload last screenshot to imgur without doing anything extra
last2imgur

# upload last screenshot to imgur and then delete it
last2imgur d

# minify last screenshot, upload to imgur and then delete it
last2imgur dm

# minify last screenshot and then upload to imgur
last2imgur m
```

## Minify

Minify feature of this workflow uses [ImageOptim](https://imageoptim.com/) (free) so make sure you have it installed.

**Note** - ImageOptim is slow so if you use `m` option, `last2imgur` will take some time.

## Libraries used

* [imgur.sh](https://github.com/tremby/imgur.sh)

## Credits

Thanks to [Oskar Hane](http://oskarhane.com/alfred-workflow-upload-most-recent-screenshot-to-imgur/) for the inspiration.
Unfortunately his workflow wasn't working on my system so I decided to create my own, the result is this project.

----

⭐️ [Donate](https://www.paypal.me/aviaryan) ⭐️