During session breaks at BFlex yesterday I put together an OS X Automator workflow that works with the bit.ly URL shortener. I use bit.ly all the time and I wanted an easier way to create bit.ly shortened URLs in any application on OS X. Sure there are bit.ly tools available but none of them span the entirety of applications on my computer.
After whipping up my Automator workflow I can now shorten URLs by copying them to my clipboard, activating the workflow from the menu bar, and then pasting the contents of my clipboard into e-mail, Tweetie or any other app. The Automator workflow simply uses the contents of my clipboard to send a curl-based HTTP call to the bit.ly REST API, and replaces my clipboard contents with the returned API result.
Click the image below for a quick demo. It's pretty basic so far and some long URLs with unencoded URL parameters fail to create shortened results. I'd love your feedback and suggestions on the workflow, so feel free to download it and submit a comment on this post. You can be using it in less than a minute. NOTE: This requires a free bit.ly account.
In case you missed the download link above, click here to grab the script.