Everything ever written, everything that will be written, exists in this wiki. With its 9×1011 589 pages, the wiki is complete, all you need to do is find the right page...
This project can be found on https://wiki-2.com, the website includes small modifications of this project to make it compatible with more browsers.
The universe contains approximately 1080 atoms, so how can this wiki contain 1011 589 pages? Some may say it is Homeopathic data storage, others will say it is a quirky application of a Linear congruential generator. If you believe in the former, good for you, I've heard that stupid people are happy people. If you believe in the latter, the steps how it is used can be found below:
- The page number is used as a seed in an LCG, (lcg.js)
- The new random number, is converted from base 10, to base 7000, (base-conversion.js)
- Each digit in base 7000, is assigned an UTF-8 symbol, (text-mapping.js)
- The text is outputted on the page.
The project only works in some of the most recent browsers, as it requires new web technologies, some requirements are:
Browser | BigInt | Custom HTML elements | Module imports in workers |
---|---|---|---|
Chrome | OK | OK | OK |
Firefox | OK | OK | NOK |
Safari | OK | NOK | NOK |
This table was last updated in December 2020.
To test the project locally, you can run it as a docker container
docker-compose build
docker-compose up -d
the website can be reached at http://localhost
Note: This setup is not suitable for production environments.
A huge inspiration to this project is the Library of Babel.