/smms-alfred-workflow

An Alfred workflow for getting image url from sm.ms

Primary LanguageRuby

Preview

Something you should know

This repository is for pulling request, click here if you want to download it directly.

Usage

  • First, go to release page and download it.
  • Ensure your Alfred version >= 3.0,then double click get-url-from-smms.alfredworkflow to install it in your Alfred.

Let's make customization before it can actually work:

  • Configure Script Filter and replace "/Users/caiyue/.rvm/rubies/ruby-2.2.2/bin/ruby" with your own ruby path.

- Make sure your ruby has installed rest-client gem and JSON gem. - Open smms.rb in alfred and replace Line 11 "/Users/caiyue/Desktop/" with the path of your wait-for-upload picture.

Issues that already know

  • Sm.ms only support image which size less than 5 mb

To do

  • Now it's only support png image
  • The code isn't beautiful

Lisence

This project is available under the MIT License. See the LICENSE file for more info.