Skip to content
/ wiki-2 Public

Everything ever written, everything that will be written, exists in Wiki 2.0

License

Notifications You must be signed in to change notification settings

mnorlin/wiki-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wiki 2.0

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.

How does it work?

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:

  1. The page number is used as a seed in an LCG, (lcg.js)
  2. The new random number, is converted from base 10, to base 7000, (base-conversion.js)
  3. Each digit in base 7000, is assigned an UTF-8 symbol, (text-mapping.js)
  4. The text is outputted on the page.

Requirements

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.

Run locally

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.

Acknowledgement

A huge inspiration to this project is the Library of Babel.