Alfred Bitly

An Alfred Workflow


Short Description

Shorten the URL via bitly

Last Updated

11 Jun 2020

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

0.9.1
 

Bundle ID

hchs.alfred.bitly
 

alfred-workflow-bitly

Alfred 4.0 workflow which shorten the url via bitly.
Demo

Dependencies

  • jq - jq is a lightweight and flexible command-line JSON processor

Installation

  1. Install jq
  2. Download and import the shorten.alfredworkflow.
  3. Set the environment of JQPATH and BITLY_ACCESS_TOKEN.

You can get the JQPATH via which command.

$ which jq
/usr/local/bin/jq

:fire: Note that /usr/local/bin is your JQPATH instead of /usr/local/bin/jq

You have to generate a personal access token from bitly.
How-do-I-find-my-OAuth-access-token ?

Envs

Usage

bitly ${LONG_URL}

bitly https://stackoverflow.com/

Screenshots