5 ms·
The World's Longest URL “Shortener”
- js4ever 8y agoHaaaaa haaaaa haaaa
- nunobrito 8y agoCool stuff.
- Townley 8y agoHere's a shorter link: http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com/#aAaAaaAaaaAAAAaaaaAAAAAAAAAAAAaaaaaaAaaa http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
- willvarfar 8y agoAnd a link to this discussion: http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com/#AAaaAaaAAAAAAAAAAAaAaaAaAAaaAaaAaAaaAaaA
- hammock 8y agoHow many A's is that? I can't really tell on mobile.
- Townley 8y ago63
- tsukurimashou 8y ago63 a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com
- kernelPan1c 8y agoHow does this work?
- tickthokk 8y agoI'd bet money it's just binary represented in uppercase and lowercase. AAaAAaAAaaaaaaaaaaAaAAaaAAAaAAaAAAaa = 110110110000000000101100111011011100 = [Some ID in the database]
- crayonixel 8y agoThe source code (JavaScript) is quite readable. This seems to be the backing store: https://www.jsonstore.io/9cfa993cd55704f2254949dc21a5f3a7a63ae2c6425fb242b575a1951d359b69 https://www.jsonstore.io/9cfa993cd55704f2254949dc21a5f3a7a63... With the ability to get a specific key from this style of URL: https://www.jsonstore.io/9cfa993cd55704f2254949dc21a5f3a7a63ae2c6425fb242b575a1951d359b69/AAAAAAAAAAaAaAAaAAaAAaaAAaaaaAaaaaAAaAAa https://www.jsonstore.io/9cfa993cd55704f2254949dc21a5f3a7a63... And post to it to set a value. There's no security though - anyone can overwrite any URL - e.g. in the console on that page: pushJSON(endpoint + '/AAAAaaAaAaaAAaaAAAAAaAAAAaAAaAAaaaAAAAaA', 'http://www.example.com/');
- fortyseven 8y agoLooks like there's a limit to the number of urls shortened... it's throwing out the old ones. Womp, womp. :P
- nyanloutre 8y agoOr some people are Curling random stuff into the JSON endpoint
- tobyhinloopen 8y agohttp://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com/#AaaaAaAaAAaaAAAAaaaaAAaAaAAAAaaAaAaaAaAa http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... ^ google
- zcid 8y agoWARNING! NSFW
- rajataghi 8y agoI just opened this in office. Darn it!
- striking 8y agoI changed it back to Google. curl -X DELETE https://www.jsonstore.io/9cfa993cd55704f2254949dc21a5f3a7a63ae2c6425fb242b575a1951d359b69/AaaaAaAaAAaaAAAAaaaaAAaAaAAAAaaAaAaaAaAa curl -X POST -H "Content-type: application/json" -d '{"AaaaAaAaAAaaAAAAaaaaAAaAaAAAAaaAaAaaAaAa": "https://google.com/"}' https://www.jsonstore.io/9cfa993cd55704f2254949dc21a5f3a7a63ae2c6425fb242b575a1951d359b69 I was considering pointing it to my GitHub instead, but decided it was too shameless.
- sethammons 8y agoIn general terms, what was it?
- iantype 8y agoThank god for people like you
- ZoomStop 8y agoThe query assigned looks to be random a & A, this is genius. Watch out for my knock off, bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.com
- archergod 8y agoWondering if it is just fun project or there is real world application for this idea?
- lzy 8y agoMostly for fun. I'd be surprised if there were any real life applications for this!
- kj4ips 8y agoHacker news tested, Tarzan approved.
- x38iq84n 8y agoGood job! Reminds me of my favorite email service http://abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com http://abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyza....
- lzy 8y agoI'm open to requests for anyone wanting to get their own aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com email forwarder.
- josmek 8y agoHey All, OP here, contrary to popular belief I did not make this :) I saw it on GitHub when I noticed someone who starred the Prefect repo had the username `programming`, clicked their profile and saw this: https://github.com/programming/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa https://github.com/programming/aaaaaaaaaaaaaaaaaaaaaaaaaaaaa... and just thought it was hilarious. Knew you all would get a kick out of it!
- btown 8y agoWow - this domain name causes HN to be wider than the screen on mobile!
- mattigames 8y agoIf you are going for the longest possible URLls they all should be 2047 characters long[0] [0] https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers https://stackoverflow.com/questions/417142/what-is-the-maxim...
- LocalPCGuy 8y agoShould make a knockoff with wwwwwwwww's since those are the widest characters (in non-fixed width fonts)
- gzeus 8y agohttp://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com/#AAaAAAAaaAaaAAaaAaAaAAaAaAaAaAaaAaAAAAaA http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... The race is to get the longest shortened URL
- guan 8y agoHow about a version of this that just uses a’s (or A’s), based on the number of a’s in the URL?