Make long URLs short with tr.im.it

November 1, 2008, 12:34 pm · Filed under: Twitter, Widgets

The best Dashboard widgets scratch an itch. I’m a big fan of tr.im for URL shortening, but even their excellent bookmarklet wasn’t quite convenient enough for me. Lucky for me that a) tr.im publish a public API, and b) I know how to build widgets.

andrew.hedges.name



I am a web developer, living and working in New Zealand. I’m into my family, photography and frisbee sports.

The time will come when men such as I will look upon the murder of animals as they now look on the murder of men.
Leonardo da Vinci


Meta Me

LinkedIn
Twitter
Facebook
Ma.gnolia
Zooomr


Topics

Apple · Business · Coda · Design · Google · JavaScript · jQuery · Life · Marketing · New Mexico · New Zealand · PHP · Politics · Ruby on Rails · Twitter · Usability · Web Development · Widgets


Archives


Most Popular

Defeat comment spam? Yes we can! · The first 48 hours of PHP Function Reference, by the numbers · There is too much. Let me sum up. · What will be your legacy? · Make long URLs short with tr.im.it · On the value of Twitter · Coda 1.5 is the bee’s knees · Series on hold: What a surprise… · Radiant JavaScript Singletons Freelance Down Under · innerHTML versus the DOM: Can’t we all just get along?


Most Recent

Defeat comment spam? Yes we can! · There is too much. Let me sum up. · What will be your legacy? · Make long URLs short with tr.im.it · On the value of Twitter · Ego-surfing, 2001 style! · Stack Overflow: I’m sold! · V8: neither all that nor a bag of chips · Playing to a browser’s strengths: Simple Templates 1.1 · Introducing jQuery Simple Templates


Recent Reads

Encouraged Commentary · Google Weather API informal documentation · html5.org - HTML revisited · Introduction to WAI ARIA · bookoutlines / Predictably Irrational · The Rise of HTML5 · Five CSS design browser differences I can live with · HTML 5: The Markup Language · Avoiding Silos: “link” as a first-class object · The facade design pattern in JavaScript

See more @ Ma.gnolia


Friends

80/20 · 90 Seven Design · Alyson Hurt · Brian Warren · Daniel Lyons · Daniel Schwartz · David Hedges · Joshua Sallach · Kelly Green · Mark Bixby · Method Arts · Morgan Pyne · Piers Harding · Rob Pongsajapan · Ryan Park · seven-gen · Vaughan Rowsell · Vincent Thomé · Voom Studio


Recommended Books on
Web Development

My bias is for references over “cookbooks.” I want to know all of my options, not just one way to do something. Show me the why as well as the how and I am happy.

JavaScript: The Good Parts · JavaScript: The Definitive Guide · Designing with Web Standards · CSS: The Definitive Guide · Prioritizing Web Usability · The Elements of User Experience · Don't Make Me Think: A Common Sense Approach to Web Usability


Subscribe

Atom · RSS 2.0


I’ve hosted this website with pair Networks since 1997. They rock.

This blog is powered by software I wrote. Want some of that? Hire me.

For a while, I ran my own URL shortening service. I had to shut it down after spammers used it to advertise all manner of unmentionable content. URL shortening services (others include qurl.net, tinyurl.com and is.gd) — as others have noted — have their shortcomings (har har), but are really good for working around the following common problems:

  1. Sending long links in emails - many email clients are steaming piles that break long URLs into multiple lines, rendering them unclickable
  2. Posting links to Twitter or SMS messages - both of these services limit you to around 140 characters; a long URL can take up most of that limit

tr.im.it interface

Yesterday, I released tr.im.it, a widget for Mac OS X’s Dashboard that makes it super-duper simple to create short URLs. Here’s how it works:

Get tr.im.it

This is the simplest widget I’ve built in a long time. That’s a good thing. I turned it around in a 24 hour span that also included taking the kids trick-or-treating and several hours of freelance work. I intentionally kept the interface simple. Heck, I didn’t even include a link back to my own site! My hope is the KISS principle will satisfy the 80% of users who just want a quick way to shorten URLs.

This is the power of APIs, I think, especially ones built on solid REST principles. The hardest part of building this thing was figuring out the AppleScript to grab the URL from Safari. Even that wasn’t hard.

In any case, I’m happy to have a widget that gives me a more convenient way to shorten URLs. Find out more about tr.im.it on my widgets page.

Get tr.im.it

Fin

Comments close automatically after 15 days.
Still have something to say? Drop me a line!