Kutt – a modern, open-source URL shortener
github.com
github.com
They almost all get abused by spammers and malware, they end up getting blacklisted, and as a best practice they are generally advocated for end users not to click on them.
In a Corp business environment I haven't found the pains that come with using them worth the shorter URL.
What places are they still widely used outsider of social media?
I'd agree that if the method of delivery is a link, there is no valid reason to use a shortener.
Instead of using random characters, they use a name that clearly shows what it is about for a URL, https://aka.ms/terminal-video as an example. I think it is the best usage of a URL shortener so far.
https://techcommunity.microsoft.com/t5/Exchange-Team-Blog/Na...
Is that not a good enough reason to begin with?
But really, URL shorteners are the direct result of:
1)Most websites not having human-readable URL's
2)Many places not allowing HTML-style links
Both (1) and (2) apply to this forum; e.g.:
news.ycombinator.com/reply?id=21870064&goto=item%3Fid%3D21867994%2321870064
As a result, we have URL shorteners. They perform the function of <a href="">link text</a>, with the advantage of the users being able to type them by hand, if needs be.
They are immensely useful as an internal tool: if you run one locally, URLs of the form http://link/useful-link-description will quickly become the norm.
They are useful for granular tracking (e.g. If you send a link to a resume and you want to make they have read it).
if you have a long URL you want to turn into a QR-Code, using a URL shortener will decrease the complexity of the Code (=improve the readabilty), while allowing you to track how many people scanned it and on top of that you can change which site it is pointing to without redirects or reprints.
You can share
http://example.com/vfdge34
or http://company.com/blog/2000/12/13/top-10-reasons-use-url-shorteners-today-you-wont-believe-number-7?utm_source=twitter&utm_campaign=another_stupid_recycled_post_campaign_for_social_media&utm_content=look-how-modern-we-are-with-url-shorteners&utm_term=buy_nowWhat problems human-readable URLs solve in the context of URL shortening and modern websites? Their benefit in the past was that on websites with clear hierarchy you could strip URL path or change a word, thus quickly navigating on a site without resorting to clunky menus or site maps, but modern web doesn't look like that, and "human-readable URLs" slightly changed their appearance over the time too.
I find modern auto-generated URLs like, say, news.ycombinator.com/item/21867994-Kutt-a-modern-open-source-URL-shortener to be much inferior: 1. they're longer and much harder to type by hand (and I've seen websites where lowercasing or omission of a single letter past the id results in 404) 2. they don't work well when the author decides to change title (and even HN submission titles change a lot, often multiple times as a result of a long discussion). In fact, (1) is exactly the reason why one would consider using URL shortener today: it's so much easier to dictate and type in by hand!
news.ycombinator.com/item/21867994/Kutt-a-modern-open-source-URL-shortener/
Further, several redirects are created, so you can access it at any of these uris:
news.ycombinator.com/item/21867994
news.ycombinator.com/item/Kutt-a-modern-open-source-URL-shortener/
news.ycombinator.com/item/21867994/arbitrary-text-here
The last form means that when the title changes, the canonical uri can be updated without breaking links to the old location. The only unstable form is the second, without the id.
The problem arises anytime you need to cut and paste, or otherwise transport, a URL between components that aren't directly linked ...
If all you're doing is click-click-clicking like a good end-user, it probably doesn't matter - but if you need the URL for some reason, it can be very difficult - especially in a terminal - to properly move around a 500 character URL.
For anything like needing to widely distro a URL it will be posted In a commonly accessible page, a email to those needing it, or distribed slide deck.
Or even physically posted QR Codes.
As far as putting them in line in a post, i can see the value there but me personally 250 characters isn't going to make or break my ability to read them.
To each their own though, ans thanks for the insight.
ahem go links ahem
https://medium.com/@golinks/the-full-history-of-go-links-and...
Just seems to me that any company with a remotely competent IT staff could handle this with a few Dns records and a very simple lookup system.
But I've been wrong before admittedly.
Sure, but that's just an in-house URL shortener :)
> I'm not really seeing how this AD by golinks conveys
It shows that there's enough demand for URL shorteners in the corp world that a company is making a business out of it (even though it's almost trivial to make one yourself).
The primary advantage of them is that they are very easily self-serviceable. Anyone can create a new go link, and it's easy enough to do even the HR department managed their own.
You are definitely correct that the same thing can be handled using DNS records and something like a reverse proxy configured to route them based on the subdomain. However, that introduces permissions and ease of use issues. You typically don't want HR to have access to edit DNS records. You can relegate it to a subdomain, but at the point you're typing in "mylink.links.company.com" the shortening effect is dubious. Secondly, managing DNS records is typically technical enough that some groups like HR are not going to want to do it. And if I have to go talk to some group every time I want a go link, I'm just not going to do it.
It's shockingly useful to think "This is a page other people should know about" and be able to enter "go/page-name/edit", paste the link in the box that comes up, and have "go/page-name" go to that page on everyone's computer in the company. Done and done, you made it accessible in less time than it would take to figure out who you have to talk to get a domain name set up.
A secondary benefit is that you can enter a description in your go link. So I can just go to "go/" and get an index of all the golinks we have, with descriptions. It's sometimes useful for when I'm working on a system I haven't used before and want to see what other people have "bookmarked" about it.
... or use an "Oh By" code, which allows you to:
1) pass around a very easy to say/read/write code - no computer/camera/app required.
2) create something like a QR code without any third party helper/app/site
[1] https://0x.co
Not cutting-edge, but definitely not obsolete, and does have obvious benefits over e.g. a traditional plain Python-based app which you need to package and host yourself.
OTOH URL shortener run as a Lambda looks like a good idea in many cases.
In Hebrew it is the modern noun for "fuck" (as in, the act of coitus) - perhaps you mean that? (And to add insult to injury, you used to "squirt" songs)
But trying to find a brand name that doesn't offend in any language, while also not having to pay $10k to some domain squatter is basically impossible nowadays.
But links should be what they are—the address of a page and not the product of a cloaking and tracking service that takes you to a page with added delay.
- Don't post the link
- Post the link and let it get lopped off in the middle
- Post the link without adequate context surrounding it
- Create a shortened link that points to the original
Tweets and SMS can allow full-sized links while retaining character limits for UX reasons. It's almost 2020. Our networks can handle a few more bytes.
When presenting visually (such as outdoor advertising), users should be able to simply scan the link - either as text or QR code.
By the way, we were going just a few characters into the next message so for pricing / logging issues we decided on shortening our own URL.
And a js/ts client to interface with it: https://github.com/LevInteractive/dwarf-client-ts
Edit: Fix url.
Strange, why even use graph databases for this kind of service? It does not seem like it would be needed for this use case.
We quite quickly outgrew it, and had to rip out that plumbing for Postgres. It wasn't fun, but in retrospect I realise I was using the new, cool, hip technologies instead of actually evaluating things on their merits.
Maybe this project fell into the same trap?
https://github.com/MicrosoftDocs/azure-docs/search?q=bit.ly&...
Edit: All those seem "legit", but do point to a pattern
https://github.com/thedevs-network/kutt/tree/feature/refacto...
this requires captcha it seems for link creation? I'm getting captcha errors. Would much prefer requires being signed in to work.
And on that note, no easy ENV var type way to disable sign ups.
I really like the concept, but would love it as private only.
There isn't really anything in pure hooks that can really replace it, performance wise.
If you for some reason really dislike it, mobx-state-tree is probably the best contender to replace it.
I skimmed the repo and myself couldn't find anything special tbh.