Reque.st – for shorter URLs

Recently, I’ve been working on a URL-shortening service similar to tinyurl.com. It’s called Reque.st and features a sweet-looking homepage, some Ajax’y goodness and a "custom pointer" option.

Using it is incredibly simple. All you need to do is enter the long url which you want to shorten and hit "shorten" – you also have the option of specifying a "pointer" which can be related to the URL. For example if I have a long URL linking to a PDF report:

http://very-very-long-url.com/pdfsection/pdf/2008/01/01/pdf/newer/
?specify=129483&isThisVeryLong=true&borderOfTyping=yep#ImportantPartOfThePDF

I could shorten it and add a custom pointer of "my-pdf-report" so to get to the above URL you would go to:

http://reque.st/my-pdf-report

Useful, huh!?

Here’s a demo:

The site runs on PHP and MySQL (Database) and uses the jQuery JavaScript library for the UI enhancements.

Similar to all of the other URL-shortening services out there Reque.st offers a very basic API for developers/programmers. Look – so simple: http://reque.st/create.api.php?url=http://www.google.com.

> Simply append the required URL and pointer (optional) to the script address:
http://reque.st/create.api.php?url=http://YourURL.com&pointer=ThisIsOptionalByTheWay
 
> The script will either return the shortened URL (hopefully) or an error:
http://reque.st/ThisIsOptionalByTheWay
 
> And if you haven't specified a "pointer":
http://reque.st/74

Bookmarklet

There is also a bookmarklet available: DRAG THIS TO YOUR BOOKMARKS PANEL and rename it. (then click on it whenever you want to shorten a URL!)

Issues/Bugs

Please let me know if you spot any bugs or issues, whether they be asthetic or function related.