• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

reposium-dco/decentralwiki: Decentralized Wikipedia through IPFS

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

reposium-dco/decentralwiki

开源软件地址:

https://github.com/reposium-dco/decentralwiki

开源编程语言:

JavaScript 68.0%

开源软件介绍:

Decentralized Wikipedia

This is a Decentralized version of Wikipedia built on IPFS that offers users a search through Wikipedia. The way the application works is that it stores the JSON formatted Wikipedia extracts on IPFS and stores the object's hash in a local file called hashes.json.

Upon a search request, if the searched for page is not backed up on IPFS already, the application will first make a request to the Wikipedia API for the page's content and then back it up on IPFS. That means that on a second search query with the same search term, the application will utilize IPFS to serve the page.

alt tag

Prerequisites

The obvious prerequisite is a fully operational IPFS daemon. I am utilizing Express for this application, the IPFS Node API and body-parser, so if you haven't gotten that yet, run

$ npm install express --save
$ npm install ipfs-api --save
$ npm install body-parser

Once you have that running, run an IPFS daemon

$ ipfs daemon

And after that, you can simple run server.js

$ node server.js

And that should be it. You should be ready to go.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap