Comments

robin_reala 6d
I really hate link shorteners, because they inevitably die and leave a spray of broken links over the web. What’s wrong with normal URLs?
jonas-w 6d
Genuine question. Why would people pay for the pro version if they could just host it for themselves? Does the pro version have some proprietary stuff which would have advantages to the selfhosted version?
bluetidepro 6d
FYI you have some rogue script or something on the page that brings my pretty hefty windows 10 pc to a halt. It spikes my CPU to 100% and the page is in like 1FPS. I think it's your countdown thing for pricing. Something is def up with it, you may want to disable that temp.
gnicholas 6d
I tried using a bitly alternative but found that when I sent them to users via email the links were flagged by gmail as being dangerous. There were no problems when I sent bitly links, or the plain links.

I'm hesitant to try another alternative because I wouldn't want to get set up in a new system, only to have these problems crop up again.

overshard 6d
Good luck on your link shortener project! I made an open source link shortener many years ago and eventually threw in the towel and quit. The problem domain for link shorteners is one of anti-spam and abuse. Charging for it makes complete sense to try and weed this out but having any amount of "free" I found to be a hotbed of reports thrown against my hosting provider and registrar for supporting spam. I found myself getting quickly blacklisted everywhere since spammers love to use new shorteners for bypassing their own blacklists.

I've not looked into the problem again in 10+ years since. If I did I would 100% skip the free plan.

foxbee 6d
Great website. I really like the globe and overall theme - reminds me of Vercel. One small note - the github stars image made me think you had 0 stars. Not a big deal, but you might want to update it.

Great work

medv 6d
Here’s mine: https://xn--gda.at
agucova 6d
I literally spent all day Tuesday trying to find a decent alternative to bit.ly. I'm so glad this exists.
memorable 6d
Some necessary questions:

- Does this use any blacklist to prevent URL shortener looping (i.e. using multiple URL shorteners on top of each other to bypass the checking), or preventing any potentially malicious sites? - Does this have rate limits? URL shorteners get abused quite regularly, so this should be necessary.

pluc 6d
I remember the short url craze - bitly alternatives were everywhere (even @ the G[1]!) and creating one was basically the Hello World of programming for a time.

Real shame how it went from convenience tool (and largely coupled with microblogging character limit) to aggressive corporate tracking (though bitly was always a champion of the latter)

https://developers.googleblog.com/2018/03/transitioning-goog...

slang800 6d
You should add a way to export all the URLs on the platform in a format that matches the URLTeam (https://wiki.archiveteam.org/index.php/URLTeam) releases.

That way, when you shut down your service, we can figure out what some of these short links went to.

aliljet 6d
I ran a variation of something like this myself for years. Eventually, the site was routinely being used for spam-style (e.g., a link to some illegal data, or some advertisement to embed somewhere, etc.) links. And when I took the site down, my users asked me for help to transition away from this service that they were uniquely relying on. It was a mess. See goo.gl. I wonder how you prevent your service from being used inappropriately and how you handle the eventual costs
trevcanhuman 6d
Nice project, although I'd definitely not use it. The website seems too bloated and as others have said uses too much ram.

For personal use I just curl one of these URLs from my linux machine: https://wiki.archlinux.org/title/List_of_applications#Pasteb...

dijit 6d
Heh, I did the opposite recently after reading "Software Engineering at Google" and I discovered that even though it would be very easy to make: there is no equivalent to the `go/` permanent "friendly" URL shortener.

It can be backed by a TOML file for hardcoding URLS or a database for making it easy to add new ones (which I think is the Google way).

If I did a stupid; or a better version already exists: let me know.

https://git.drk.sc/dijit/redirector-rs

https://github.com/dijit/redirector-rs

anderspitman 6d
Note that for many use cases, you can host your own URL shortener for free on GitHub pages (or Netlify, etc) by creating static index.html pages containing HTML redirects[0]. If you buy your own short domain, you can even port it between different providers if necessary.

[0]: https://apitman.com/18/#html-redirects

KronisLV 6d
Looks like a visually pleasant site to browse, however it appears that there is some lag on Firefox (on the desktop), at least for me.

As far as link shorteners go, I actually host my own containerized instance of YOURLS: https://yourls.org/

It's fairly boring and not really pretty, but it seems to work okay for me.

Actually, as far as self-hosting goes, there's quite a few options out there: https://github.com/awesome-selfhosted/awesome-selfhosted#url...

Of course, one can also find some free services hosted by others.

TimLeland 6d
I'm the creator of https://T.LY URL Shortener and am always interested when I see new short link services. My biggest piece of advice is to figure out a way to detect malicious URLs before your service is completely shut down. A month after starting T.LY, my servers were disabled by my hosting company without warning. Since then, I've worked on systems and tools to prevent malicious short links and make the service more reliable.

Most comments I see here are questioning why we still need URL shorteners. Print, media, SMS, and analytics are just a few reasons. I wrote some additional info on my blog: https://timleland.com/are-url-shorteners-useful-today/

Another interesting thought is when you create a TinyURL, it's 20 characters long, and Bitly links are 14 characters long. These services cannot create short links anymore. As a URL shortener grows, the number of actual short links diminishes. Currently, T.LY has over 10 million short links, which means plenty of four and five-character short URLs are available.

Two character URLs 3,844 (62^2) unique combinations

Three character URLs 238,328 (62^3) unique combinations

Four character URLs 14,776,336 (62^4) unique combinations

Five character URLs 916,132,832 (62^5) unique combinations

Six character URLs 56,800,235,584 (62^6) unique combinations

Seven character URLs 3,521,614,606,208 (62^7) unique combinations

Eight character URLs 218,340,105,584,896 (62^8) unique combinations

statico 6d
I did something similar with https://statico.link when I couldn't find a cheap, free and easy service to do this.

It started as a simple nginx URL map since I was already running nginx (https://gist.github.com/statico/14fa84d7e79722031d5e49694191...) but is now a tiny containerized app because friends requested an index page. The requirement is that all links need to be named (i.e. no random hashes).

orangepurple 6d
Reminder that there are also great tools designed to do the opposite.

https://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

google.com becomes https://aaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

shadyurl.com was fun while it lasted. Tagline: Don’t just shorten your Shady URL, make it suspicious and frightening.

jackson1442 6d
Do you have any mechanisms to handle abuse? That's a common problem in the URL shortener space, and usually leads to them getting blocked from most platforms.
somishere 6d
I built a very, very basic one of these a month ago to shorten a couple of unruly domains I had. Supports static and dynamic endpoints that you define.

https://thesom.au/gh/shorturl

Intended to self host for free/minimal cost on CloudFlare, thus comes with built in analytics, BYO domain, etc.