bitly

Created By: Gimmy, 6 Stars, Last Updated: 06/08/21 08:53:31

Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!

From the project's 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.1
Alfred Version v4.3.4[1229]
Machine MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)
OS macOS 11.5 (20G71)
Result
Test Date 2021/08/06