This is a simple site that uses the Wikipedia on zim
styling to enable browsing of a Wikipedia archive that's uploaded and stored on Ethereum Swarm.
Broadly speaking, this site simply:
- Wraps the history and intercepts history transitions for browsing.
- Using a predetermined path from the
mantaray
manifest that has been uploaded, URLs are rewritten and requested via Axios. - The response takes into account that the articles have been uploaded with gzip encoding, therefore in Javascript, the file is then inflated.
Fellow programmer @SergeiKanerva contributed greatly to the development of the front-end, researching libraries for quick execution of inflation and small compile size, suitable for Ethereum Swarm.