tensojka / ipfsearch-index-wikipedia

Using https://github.com/hoschiCZ/ipfsearch-index, it generates an ipfsearch index of wikipedia articles abstracts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

Download a Wikipedia article abstract dump. You can download the English Wikipedia article abstracts dump here.

If you are on Linux and have recent npm and node installed, run ./generate-dump.sh DUMPNAME. If you have another platform, read what the script does and do it manually. This will take a long time and output progress in %.

Add assets/generated/ to IPFS. Substitute the text TO BE ADDED LATER; WILL BE GENERATED BY PUTTING THE INV AND INX INTO IPFS with the generated address. You should get something like this in meta.json: "invURLBase":"/ipfs/QmcfQZFB2eiyU4S1Qy1i55B8tExHgqwT3MtnAt9KxUKfqU/inv/","inxURLBase":"/ipfs/QmcfQZFB2eiyU4S1Qy1i55B8tExHgqwT3MtnAt9KxUKfqU/inx/".

Add meta.json to IPFS, associate that with an IPNS link and voilĂ , you have created your own ipfsearch index of wikipedia article abstracts.

Issues and bugs

GitHub issues are open.

License

MIT

About

Using https://github.com/hoschiCZ/ipfsearch-index, it generates an ipfsearch index of wikipedia articles abstracts.


Languages

Language:TypeScript 81.8%Language:Shell 18.2%