News for hackers. Stuff that matters.
Re:Show HN: Host a Website in the URL by GMoromisato on Wednesday September 06, 2023 @04:19PM (#37410717)
I had an idea once to implement Borges's Library of Babel just like this: all the text is in the URL. With more sophisticated encoding, you can optimize English words. Then hook it up to a "search system" so you can search for your own name, clips of text, etc.

Eventually you'd hit the URL size limit, of course, but maybe we add a layer on top for curators to bundle sets of URLs together to produce larger texts. Maybe add some LLM magic to generate the bundles.

You'd end up with a library that has, not just every book ever written, but every book that could ever be written.

[Just kidding, of course: I know this is like saying that Notepad already has every book in existence--you just have to type them in.]

Re:Show HN: Host a Website in the URL by ossopite on Wednesday September 06, 2023 @05:50PM (#37411867)
This reminds me rather of https://libraryofbabel.info/
Re:Show HN: Host a Website in the URL by GMoromisato on Wednesday September 06, 2023 @06:35PM (#37412361)
Nice! That's exactly what I had in mind.

As usual, no idea is unique--it's all about who executes first!

Re:Show HN: Host a Website in the URL by tintedfireglass on Thursday September 07, 2023 @12:31AM (#37414792)
No idea is unique, because the library of babel has all of the ideas humans can ever think of ;)
Re:Show HN: Host a Website in the URL by GMoromisato on Thursday September 07, 2023 @12:21PM (#37421327)
lol!
Re:Show HN: Host a Website in the URL by mk12345 on Thursday September 07, 2023 @01:54AM (#37415222)
Nice, I had a similar idea a while ago! I wanted to support other media types, such as images, audio and webpages. It was a really fun experiment!

https://mkaandorp.github.io/hdd-of-babel/

Re:Show HN: Host a Website in the URL by GMoromisato on Thursday September 07, 2023 @12:21PM (#37421331)
Very cool!