Live data from Hacker News

A URL Lengthener

aaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com

81–90 of 313 posts

Re: A URL Lengthener

#81
post #14

Earlier quoted context omitted.

HTTPS is not required. t.ly works fine without " https:// "

Really? The browsers I usually use to test if a site works without HTTPS (IE6 and IE8 on XP SP2) can't load it. Weird!

Curious to how you are still running IE6 :)

Re: A URL Lengthener

#85
post #20

Source code: https://aaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

Great work! A bit of an edge case, but you do not handle cyrillic (and potentially other non-latin URLs) correctly. кц.рф didn’t work for me.

Hey actual author here! Seems like thats something with js being dumb. Maybe i'll add a checkbox to allow for an override

Re: A URL Lengthener

#87
post #60
post #47

I love long URLs and build them into my apps for sharing. You can have powerful apps that are 100% clientside and use just a dumb file web server. For example, here's a URL that contains both the grammar for a language that compiles to CSS and also example code. Works like a charm. https://jtree.treenotation.org/designer/#grammar%0A%20toolin...

Having written two apps that do this, I can confirm that it is an amazing technique, and criminally underutilized! My projects store and render entire pages from the URL and encrypt URLs (respectively): https://github.com/jstrieb/urlpages https://github.com/jstrieb/link-lock

Love it!

Have you thought about having a non-obfuscated pretty version?

In addition to this:

https://jstrieb.github.io/urlpages/editor/#eyJjc3MiOiJ3aG9tI...

Offer a pretty version like:

    https://jstrieb.github.io/urlpages/editor/#html...html-here.~css...body;background:red;~javascript...document.write('this-was-written-by-javascript.')

Re: A URL Lengthener

#88

Back in the early days of web hosting I recall that a customer had a domain name that was literally as long as ICANN would allow at the time. It was very nearly a full sentence. I don't recall the limit but this domain aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com is 57 characters (not including .com) and I think that sounds familiar. One could have a lot of fun with that if they wanted to (and such as…

i also own the maximum length aaaaaa.com domain, but i had issues with connecting it lol. working on having it redirect to this domain though
Post reply on HN