- Created by GimmyHchs
- 🗓 Last Updated: 16/03/22 02:27:42
- 🌟 Stars on GitHub: 13
- Please consider supporting the creator by Starring or Sponsoring them on GitHub!
- Get Workflow
- Get Latest Release
- Get Source Code
From their README
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 variable
BITLY_ACCESS_TOKEN
. - 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 ?
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 |