32 comments

[ 0.21 ms ] story [ 106 ms ] thread
How many A's is that? I can't really tell on mobile.
63 a

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com

How does this work?
I'd bet money it's just binary represented in uppercase and lowercase.

AAaAAaAAaaaaaaaaaaAaAAaaAAAaAAaAAAaa = 110110110000000000101100111011011100 = [Some ID in the database]

The source code (JavaScript) is quite readable.

This seems to be the backing store:

https://www.jsonstore.io/9cfa993cd55704f2254949dc21a5f3a7a63...

With the ability to get a specific key from this style of URL:

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/');
Looks like there's a limit to the number of urls shortened... it's throwing out the old ones. Womp, womp. :P
Or some people are Curling random stuff into the JSON endpoint
WARNING! NSFW
I just opened this in office. Darn it!
I 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.
Thank god for people like you
The query assigned looks to be random a & A, this is genius.

Watch out for my knock off, bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.com

Wondering if it is just fun project or there is real world application for this idea?
Mostly for fun. I'd be surprised if there were any real life applications for this!
Hacker news tested, Tarzan approved.
Hey 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/aaaaaaaaaaaaaaaaaaaaaaaaaaaaa... and just thought it was hilarious. Knew you all would get a kick out of it!
And here I was wondering why my repo was suddenly getting starred. Glad you enjoyed my work and thanks for sharing it!
Wow - this domain name causes HN to be wider than the screen on mobile!
Should make a knockoff with wwwwwwwww's since those are the widest characters (in non-fixed width fonts)
How about a version of this that just uses a’s (or A’s), based on the number of a’s in the URL?