Alfred 4.0 workflow which shorten the url via bitly
Last Updated: 06/03/20 15:07:53
Stars: 2
alfred-workflow-bitly
Alfred 4.0 workflow which shorten the url via bitly.
Dependencies
- jq – jq is a lightweight and flexible command-line JSON processor
Installation
- Install jq
- Download and import the
shorten.alfredworkflow
. - Set the environment of
JQPATH
andBITLY_ACCESS_TOKEN
.
You can get the JQPATH via which
command.
$ which jq
You have to generate a personal access token from bitly.
How-do-I-find-my-OAuth-access-token ?
Usage
bitly ${LONG_URL}
bitly https://stackoverflow.com/