bitly

From their README

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 variable BITLY_ACCESS_TOKEN.
  4. Optionally, if jq is in a non-standard location, set JQPATH. For example: /usr/lib/bin.

You can get the JQPATH via which command.

$ which jq
/usr/local/bin/jq

💡 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/

Manual Testing Report

Environment Value
Workflow Version v0.9.2
Alfred Version v4.6.3[1285]
Machine MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)
OS macOS 12.2.1 (21D62)
Result
Test Date 2022/03/16