rndlabs / swarm-wikipedia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wikipedia on Swarm

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:

  1. Wraps the history and intercepts history transitions for browsing.
  2. Using a predetermined path from the mantaray manifest that has been uploaded, URLs are rewritten and requested via Axios.
  3. The response takes into account that the articles have been uploaded with gzip encoding, therefore in Javascript, the file is then inflated.

Contributors

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.

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 92.8%Language:CSS 6.6%Language:Svelte 0.5%Language:TypeScript 0.0%Language:HTML 0.0%