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

RTradeLtd/ipcoronafs: ipcoronafs (ipcfs) is a set of tools for taking coronaviru ...

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

开源软件名称:

RTradeLtd/ipcoronafs

开源软件地址:

https://github.com/RTradeLtd/ipcoronafs

开源编程语言:

Go 87.8%

开源软件介绍:

ipcoronafs

ipcoronafs is a tool to scrape information from coronavirus api tracker using go-corona and storing it on IPFS through TemporalX. It expects a locally running TemporalX server, but can be be configured to use a remote one..

Overview

For an overview of this see medium

Workflow

  • Every 60 minutes we use the go-corona client to fetch the "latest location data" and "all location data" sources.
  • These are then added to IPFS and the hash is broadcast over libp2p pubsub topics
  • Every minute we then rebroadcast the lastest known hash, which gets updated every 60 minutes
  • Every 12 hours or so update the DNSLink record

Real Time Information

We are broadcasting updates to this in somewhat real-time. You can connect to two different pubsub topics.

To retrieve updates for all known location outbreak information do:

1) ipfs swarm connect /ip4/206.116.153.42/tcp/4005/p2p/12D3KooWLrKQEE5NfA3vmEXfRFWKzNjq7DuwVS9CsZ8ooPe7sZFM

2) ipfs swarm connect /ip4/206.116.153.42/tcp/4004/ipfs/QmePr8gxUswSsD7anQCm8P1F599CrmK2Wze1DjoN8LaLAx

3) ipfs pubsub sub coronavirus-all-location-data-topic and then within about a minute you should start seeing the data coming through.

4) ipfs pin add <hash from pubsub message> and you'll then be pinning the data locally

To retrieve updates for latest ooutbreak informatio updates do

1) ipfs swarm connect /ip4/206.116.153.42/tcp/4005/p2p/12D3KooWLrKQEE5NfA3vmEXfRFWKzNjq7DuwVS9CsZ8ooPe7sZFM

2) ipfs swarm connect /ip4/206.116.153.42/tcp/4004/ipfs/QmePr8gxUswSsD7anQCm8P1F599CrmK2Wze1DjoN8LaLAx

3) ipfs pubsub sub coronavirus-latest-location-data-topic and then within about a minute you should start seeing the data coming through.

4) ipfs pin add <hash from pubsub message> and you'll then be pinning the data locally



鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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