Question

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));
:)

Was it helpful?

Solution

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.

OTHER TIPS

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

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.

I prefer Shrinky the free URL shortener, it’s free and it must be listed too : Shrinky - Free URL Shortener Script

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top