views:

434

answers:

3

What's a good URL shortening script that does the following things?

  • It is customizable (HTML and CSS)
  • Users can create accounts
  • Users can delete shortened URLs
  • There is a bookmarklet
  • Users can set privacy codes
  • Some sort of API (so Twitter clients could use it, etc.)

Thanks a document.write(Math.random()*Math.pow(10,18));
:)

+1  A: 

HotScripts looks like it has a few. Haven't used any but that might be a good place to start.

John at CashCommons
I'll see if I can take a look! Enjoy the rest of your weekend!
Alexsander Akers
+4  A: 

I haven't used any of these, but a quick googling turns up lots of results

Here's a good tutorial on how to do it yourself

Here's a php implementation you can use for free

The user account creation side of things is a separate issue and I'm not aware of any url-shortening scripts that would consider that. You might want to look into using openID providers for your authentication, though.

Jonathan Fingland
This is great! Thanks a bunch! I'd vote this up, but I can't. Enjoy the rest of your weekend!
Alexsander Akers
Thanks Alexsander. If the answer satisfies the question, you can click the check mark to the left of this answer to mark it as accepted.
Jonathan Fingland
Oh. Thanks. I'm new to StackOverflow.
Alexsander Akers
no worries. Thanks very much for the accept.
Jonathan Fingland
A: 

Check out ur.ly. I use it almost daily to compress URL's.

If you want to use an API to interact with a URL compression service, they have that. They also publish their code, so you can check it out if you want to do something similar. It's written in Python.

ur.ly doesn't have accounts or allow deletion, but the code should help you get started.

EDIT for managing URL's using an account, you could try bit.ly, but they don't offer their code AFAICT. They do offer an API, though, that includes authentication.

jheddings
This is amazing, although I don't code in Python. And I don't know many people who do...
Alexsander Akers